Hyades Editor Extensions

Identifier: org.eclipse.hyades.ui.editorExtensions

Since: 0.0.1

Description: This extension point is used to register Hyades editor extensions.

Configuration Markup:

   <!ELEMENT extension (editorExtension+)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     name  CDATA #IMPLIED
     id    CDATA #IMPLIED
   >

   <!ELEMENT editorExtension (appliesTo*)>

   <!ATTLIST editorExtension
     id          CDATA #REQUIRED
     name        CDATA #REQUIRED
     class       CDATA #REQUIRED
     extension   CDATA #REQUIRED
     icon        CDATA #IMPLIED
     description CDATA #IMPLIED
   >

   <!ELEMENT appliesTo EMPTY>

   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.

   <!ATTLIST appliesTo
     type CDATA #REQUIRED
   >
Examples:
   <extension point="org.eclipse.hyades.ui.editorExtensions">
      <editorExtension
         id="editorExtension1"
         name="Basic editor extension for all test suite types"
         class="com.samples1.editor.EditorExtension1"
         extension="testsuite"
         description="Allows the user to edit the basic attribute of any test suite"/>

      <editorExtension
         id="editorExtension2"
         name="%editorExtension2Name"
         class="com.samples1.editor.EditorExtension2"
         extension="testresult"
         icon="icons/edt2.gif"
         description="%editorExtension2Description">
            <appliesTo type="com.123.testType1"/>
            <appliesTo type="com.123.testType2"/>
      </editorExtension>
   </extension>

API Information: All Hyades editor extensions' classes are instances of org.eclipse.hyades.ui.editors.IEditorExtension.

Supplied Implementation: The Hyades framework itself has a number of pre-defined editor extensions. Particular product installs may include additional editor extensions as required.

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 http://www.eclipse.org/legal/cpl-v10.html