|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The EditorPlugin
interface describes the routines
that an editor plugin must implement to integrate with the editor
framework. An editor plugin is any module which is not a required
part of the editor that provides some added feature or benefit to
the user. An example of this is the plugin which provides Brace
Matching highlighting.
The install and deinstall routines are provided as a convenient time for plugins to add or remove themselves as listeners to the various pieces of the editor, such as the caret or document. The property change notification allows the editor pane to notify plugins of important property changes, such as a document change, caret change, language support change, and so on.
BasicEditorPane
Method Summary | |
void |
deinstall(BasicEditorPane editor)
Called when the plugin is being removed from the BasicEditorPane (for example when the editor is closed.) This is used to notify plugins that they should unregister any listeners that were attached. |
void |
install(BasicEditorPane editor)
Called when this plugin is being installed into the BasicEditorPane. |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Method Detail |
public void install(BasicEditorPane editor)
editor
- the editor panepublic void deinstall(BasicEditorPane editor)
editor
- the editor pane
|
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.