|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PaletteEditor
interface should be
implemented by clients that are interested in adding their own invokable
dialogs to the Component Palette.
By creating your own PaletteEditor, you can tell any item on the palette to
invoke your editor by changing the editor tag in the palette.xml file.
Method Summary | |
java.lang.String |
getHelpId()
Return the HelpId associated with this editor. |
javax.swing.ImageIcon |
getIcon()
Return the Icon to be displayed by the editor. |
java.lang.String |
getTag()
Returns the String represenation of whatever tag or snippet
should be inserted into the Code Editor or HTML Editor. |
java.lang.String |
getTitle()
Return title to be displayed by the editor. |
javax.swing.JComponent |
getUI()
Return the UI, generally JPanel(...) to be
displayed when the editor is invoked. |
boolean |
validate()
Returns true if the UI has been validated and the
dialog can be disposed. |
Methods inherited from interface oracle.ide.addin.Invokable |
invoke |
Method Detail |
public java.lang.String getTitle()
public javax.swing.ImageIcon getIcon()
public javax.swing.JComponent getUI()
JPanel(...)
to be
displayed when the editor is invoked.
public java.lang.String getHelpId()
public boolean validate()
true
if the UI has been validated and the
dialog can be disposed. Returns false
otherwise.
public java.lang.String getTag()
String
represenation of whatever tag or snippet
should be inserted into the Code Editor or HTML Editor.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.