<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.hyades.ui">
<annotation>
      <appInfo>
         <meta.schema plugin="org.eclipse.hyades.ui" id="editorExtensions" name="Hyades Editor Extensions"/>
      </appInfo>
      <documentation>
         This extension point is used to register Hyades editor extensions.
      </documentation>
   </annotation>

   <element name="extension">
      <complexType>
         <sequence>
            <element ref="editorExtension" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  a fully qualified identifier of the target extension point
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  an optional name of the extension instance
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  an optional identifier of the extension instance
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="editorExtension">
      <annotation>
         <appInfo>
            <meta.element labelAttribute="name"/>
         </appInfo>
      </annotation>
      <complexType>
         <sequence>
            <element ref="appliesTo" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  a unique name that will be used to identify this Hyades editor extension
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  a translatable name that will be used in the UI for this Hyades editor extension
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  a name of the class that implements &lt;samp&gt;org.eclipse.hyades.ui.editor.IEditorExtension&lt;/samp&gt;.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.hyades.ui.editor.IEditorExtension"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="extension" type="string" use="required">
            <annotation>
               <documentation>
                  identifies the category of objects that this extension point is associated with.  A good example would be the one of the supported file extensions.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="icon" type="string">
            <annotation>
               <documentation>
                  a relative name of the icon that will be used to describe this editor extension.
               </documentation>
               <appInfo>
                  <meta.attribute kind="resource"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="description" type="string">
            <annotation>
               <documentation>
                  a description for this editor extension.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="isDefault" type="boolean">
            <annotation>
               <documentation>
                  set the default editor for the specified association type
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="appliesTo">
      <annotation>
         <appInfo>
            <meta.element labelAttribute="id"/>
         </appInfo>
         <documentation>
            An editor extension can define which are the types it applies to.  By not defining one type an editor extension says that it can handle any type.
         </documentation>
      </annotation>
      <complexType>
         <attribute name="type" type="string" use="required">
            <annotation>
               <documentation>
                  a unique name that will be used to identify the type.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appInfo>
         <meta.section type="since"/>
      </appInfo>
      <documentation>
         0.0.1
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="examples"/>
      </appInfo>
      <documentation>
         &lt;pre&gt;
   &lt;extension point=&quot;org.eclipse.hyades.ui.editorExtensions&quot;&gt;
      &lt;editorExtension
         id=&quot;editorExtension1&quot;
         name=&quot;Basic editor extension for all test suite types&quot;
         class=&quot;com.samples1.editor.EditorExtension1&quot;
         extension=&quot;testsuite&quot;
         isDefault=&quot;true&quot;
         description=&quot;Allows the user to edit the basic attribute of any test suite&quot;/&gt;

      &lt;editorExtension
         id=&quot;editorExtension2&quot;
         name=&quot;%editorExtension2Name&quot;
         class=&quot;com.samples1.editor.EditorExtension2&quot;
         extension=&quot;testresult&quot;
         icon=&quot;icons/edt2.gif&quot;
         description=&quot;%editorExtension2Description&quot;&gt;
            &lt;appliesTo type=&quot;com.123.testType1&quot;/&gt;
            &lt;appliesTo type=&quot;com.123.testType2&quot;/&gt;
      &lt;/editorExtension&gt;
   &lt;/extension&gt;
&lt;/pre&gt;
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="apiInfo"/>
      </appInfo>
      <documentation>
         All Hyades editor extensions&apos; classes are instances of &lt;samp&gt;org.eclipse.hyades.ui.editor.IEditorExtension&lt;/samp&gt;.
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="implementation"/>
      </appInfo>
      <documentation>
         The Hyades framework itself has a number of pre-defined editor extensions. Particular product installs may include additional editor extensions as required.
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="copyright"/>
      </appInfo>
      <documentation>
         Copyright (c) 2003 Hyades project.
All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at &lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;
      </documentation>
   </annotation>

</schema>
