|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.editor.plugins.AbstractEditorPlugin
public abstract class 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.) This is used to notify plugins that they should unregister any listeners that were attached. |
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 EditorPlugin
editor
- the editor panepublic final void deinstall(BasicEditorPane editor)
deinstall
in interface EditorPlugin
editor
- the editor panepublic final void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
event
- 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.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |