oracle.javatools.editor.folding
Class AbstractCodeFoldingPlugin
java.lang.Object
oracle.javatools.editor.plugins.AbstractEditorPlugin
oracle.javatools.editor.folding.AbstractCodeFoldingPlugin
- All Implemented Interfaces:
- EditorPlugin, java.util.EventListener, java.beans.PropertyChangeListener
- public abstract class AbstractCodeFoldingPlugin
- extends AbstractEditorPlugin
Defines common behavior for an editor plugin that enables collapsible
source code blocks.
- Since:
- 10.1.3
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCodeFoldingPlugin
public AbstractCodeFoldingPlugin()
installImpl
protected void installImpl(BasicEditorPane editorPane)
- Description copied from class:
AbstractEditorPlugin
- Install routine for subclasses that have added installation code to
execute. This is performed after the abstract implementation performs
its install tasks.
- Overrides:
installImpl in class AbstractEditorPlugin
- Parameters:
editorPane - the editor pane
deinstallImpl
protected void deinstallImpl(BasicEditorPane editorPane)
- Description copied from class:
AbstractEditorPlugin
- Deinstall routine for subclasses that have added deinstallation
code to execute. This is performed before the abstract implementation
performs its deinstall tasks.
- Overrides:
deinstallImpl in class AbstractEditorPlugin
- Parameters:
editorPane - the editor pane
propertyChangeImpl
protected void propertyChangeImpl(java.beans.PropertyChangeEvent e)
- Description copied from class:
AbstractEditorPlugin
- Property change notification routine for subclasses that have want
to respond to property changes. This is performed before the abstract
implementation responds to property changes.
- Overrides:
propertyChangeImpl in class AbstractEditorPlugin
- Parameters:
e - A PropertyChangeEvent object describing the event source
and the property that has changed.
createProvider
protected abstract CodeFoldingProvider createProvider()
attach
protected void attach(BasicEditorPane editorPane)
detach
protected void detach(BasicEditorPane editorPane)
isMarginEnabled
protected boolean isMarginEnabled()
getModel
protected CodeFoldingModel getModel()
setModel
protected void setModel(CodeFoldingModel model)
getProvider
protected CodeFoldingProvider getProvider()
getMargin
protected CodeFoldingMargin getMargin()
createMargin
protected CodeFoldingMargin createMargin()
createPrePostDocumentListener
protected BasicDocument.PrePostDocumentListener createPrePostDocumentListener()
Copyright © 1997, 2005, Oracle.All rights reserved.