|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.javatools.editor.plugins.AbstractEditorPlugin
The AbstractEditorPlugin provides a starting point
implementation for an editor plugin that provides many of the
common methods and fields used by plugins.
EditorPlugin,
BasicEditorPane| Field Summary | |
protected BasicEditorPane |
_editor
The current installed editor (if any). |
| Constructor Summary | |
AbstractEditorPlugin()
|
|
| Method Summary | |
void |
deinstall(BasicEditorPane editor)
Called when the plugin is being removed from the BasicEditorPane (for example when the editor is closed.) |
protected void |
deinstallImpl(BasicEditorPane editor)
Deinstall routine for subclasses that have added deinstallation code to execute. |
protected BasicDocument |
getDocument()
Fetch the document for the current installed editor apen. |
protected BasicEditorPane |
getEditorPane()
Fetch the current installed editor pane. |
void |
install(BasicEditorPane editor)
Called when this plugin is being installed into the BasicEditorPane. |
protected void |
installImpl(BasicEditorPane editor)
Install routine for subclasses that have added installation code to execute. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
This method gets called when a bound property is changed. |
protected void |
propertyChangeImpl(java.beans.PropertyChangeEvent event)
Property change notification routine for subclasses that have want to respond to property changes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected BasicEditorPane _editor
| Constructor Detail |
public AbstractEditorPlugin()
| Method Detail |
public final void install(BasicEditorPane editor)
install in interface EditorPlugineditor - the editor panepublic final void deinstall(BasicEditorPane editor)
deinstall in interface EditorPlugineditor - the editor panepublic final void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerevent - A PropertyChangeEvent object describing the event source
and the property that has changed.protected BasicEditorPane getEditorPane()
protected BasicDocument getDocument()
protected void installImpl(BasicEditorPane editor)
editor - the editor paneprotected void deinstallImpl(BasicEditorPane editor)
editor - the editor paneprotected void propertyChangeImpl(java.beans.PropertyChangeEvent event)
event - A PropertyChangeEvent object describing the event source
and the property that has changed.
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.