Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.javatools.editor.folding
Class AbstractCodeFoldingPlugin

java.lang.Object
  extended by oracle.javatools.editor.plugins.AbstractEditorPlugin
      extended by oracle.javatools.editor.folding.AbstractCodeFoldingPlugin

All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, EditorPlugin

public abstract class AbstractCodeFoldingPlugin
extends AbstractEditorPlugin

Defines common behavior for an editor plugin that enables collapsible source code blocks.

Since:
10.1.3

Nested Class Summary
protected  class AbstractCodeFoldingPlugin.DocumentHandler
           

 

Field Summary

 

Fields inherited from class oracle.javatools.editor.plugins.AbstractEditorPlugin
_editor

 

Constructor Summary
AbstractCodeFoldingPlugin()
           

 

Method Summary
protected  void attach(BasicEditorPane editorPane)
           
protected  CodeFoldingMargin createMargin()
           
protected  BasicDocument.PrePostDocumentListener createPrePostDocumentListener()
           
protected abstract  CodeFoldingProvider createProvider()
           
protected  void deinstallImpl(BasicEditorPane editorPane)
          Deinstall routine for subclasses that have added deinstallation code to execute.
protected  void detach(BasicEditorPane editorPane)
           
protected  CodeFoldingMargin getMargin()
           
protected  CodeFoldingModel getModel()
           
protected  CodeFoldingProvider getProvider()
           
protected  void installImpl(BasicEditorPane editorPane)
          Install routine for subclasses that have added installation code to execute.
protected  boolean isMarginEnabled()
           
protected  void propertyChangeImpl(java.beans.PropertyChangeEvent e)
          Property change notification routine for subclasses that have want to respond to property changes.
protected  void setModel(CodeFoldingModel model)
           

 

Methods inherited from class oracle.javatools.editor.plugins.AbstractEditorPlugin
deinstall, getDocument, getEditorPane, install, propertyChange

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AbstractCodeFoldingPlugin

public AbstractCodeFoldingPlugin()

Method Detail

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()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.