public class BreadcrumbsPlugin extends java.lang.Object implements EditorPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BREADCRUMB_PLUGIN_PROPERTY
This property is set on editors that contain a breadcrumbs plugin.
|
protected JBreadcrumbs |
breadcrumbs |
protected BasicEditorPane |
editor |
Constructor and Description |
---|
BreadcrumbsPlugin() |
Modifier and Type | Method and Description |
---|---|
protected JBreadcrumbs |
createBreadcrumbs() |
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.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
protected JBreadcrumbs breadcrumbs
protected BasicEditorPane editor
public static final java.lang.String BREADCRUMB_PLUGIN_PROPERTY
protected JBreadcrumbs createBreadcrumbs()
public void install(BasicEditorPane editor)
EditorPlugin
install
in interface EditorPlugin
editor
- the editor panepublic void deinstall(BasicEditorPane editor)
EditorPlugin
deinstall
in interface EditorPlugin
editor
- the editor panepublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener