JAD Editor Pages
Identifier:
org.eclipse.mtj.ui.jadeditorpage
Since:
1.0
Description:
Provides an extension point to add the some JAD editor pages to the JAD editor.
Configuration Markup:
<!ELEMENT extension (
jadEditorPage+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT jadEditorPage EMPTY>
<!ATTLIST jadEditorPage
class CDATA #REQUIRED
priority CDATA #IMPLIED
>
-
class - the page's implementation class, must public and extends
org.eclipse.mtj.ui.jadEditor.AbstractJADEditorPage
with a zero-argument constructor.
If you want to add a property page to the editor, the class org.eclipse.mtj.ui.jadEditor.JADPropertiesEditorPage
provide a convient implementation, you may extend from it.
-
priority - The value should be set as an integer. The page with smaller priority value will appear in front of the one with bigger value.
Examples:
<extension point=
"org.eclipse.mtj.ui.jadeditorpage"
>
<jadEditorPage class=
"org.eclipse.mtj.internal.ui.editors.jad.form.pages.MidletsEditorPage"
priority=
"20"
/>
</extension>
examples of vendor specific extension:
<extension
point=
"org.eclipse.mtj.ui.jadeditorpage"
>
<jadEditorPage
class=
"org.eclipse.mtj.examples.jadextension.NokiaSpecPropertiesEditorPage"
priority=
"70"
/>
</extension>
Copyright (c) 2008,2009 Sybase Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html