Hyades Editor Extensions

org.eclipse.hyades.ui.editorExtensions

0.0.1

This extension point is used to register Hyades editor extensions.

<!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

isDefault   (true | false) >


<!ELEMENT appliesTo EMPTY>

<!ATTLIST appliesTo

type CDATA #REQUIRED>

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.



   

<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"

isDefault=

"true"

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>

All Hyades editor extensions' classes are instances of org.eclipse.hyades.ui.editor.IEditorExtension.

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