public final class GuardedHighlightPlugin extends java.lang.Object implements EditorPlugin
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_GUARDED_PRIORITY |
static java.lang.String |
GUARDED_HIGHLIGHT_NAME |
Constructor and Description |
---|
GuardedHighlightPlugin() |
Modifier and Type | Method and Description |
---|---|
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) |
static void |
registerHighlights() |
public static final java.lang.String GUARDED_HIGHLIGHT_NAME
public static final int DEFAULT_GUARDED_PRIORITY
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
public static void registerHighlights()