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