|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.java.imports.AbstractSurroundWith
public abstract class AbstractSurroundWith
The AbstractSurroundWith is the abstract implementation for
starting "Surround with" operations for Java-like languages (basically,
languages with descendants from C). It also provides support for starting
the surround-with operation through a dialog.
| Constructor Summary | |
|---|---|
AbstractSurroundWith(java.lang.Object[] surrounders)
Constructs a AbstractSurroundWith for displaying the various "Surround with" operations. |
|
| Method Summary | |
|---|---|
void |
performSurroundWith(BasicEditorPane editor,
Context context,
AbstractSurrounder surrounder,
int startPos,
int endPos)
Performs the surround with operation using the given surrounder. |
protected abstract void |
postSurround(BasicEditorPane editorPane,
Context context,
AbstractSurrounder surrounder)
Called after a surround operation has been successfully completed. |
protected abstract void |
preSurround(BasicEditorPane editorPane,
Context context)
Called before a surround operation is started. |
void |
showSurroundWithDialog(BasicEditorPane editor,
Context context,
javax.swing.JFrame parent,
java.lang.String helpId)
Performs the surround with operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSurroundWith(java.lang.Object[] surrounders)
| Method Detail |
|---|
protected abstract void preSurround(BasicEditorPane editorPane,
Context context)
editorPane - The editor panecontext - The IDE context
protected abstract void postSurround(BasicEditorPane editorPane,
Context context,
AbstractSurrounder surrounder)
editorPane - The editor panecontext - The IDE contextsurrounder - Surrounder object corresponding to the
surround operation that was successfully completed
public void showSurroundWithDialog(BasicEditorPane editor,
Context context,
javax.swing.JFrame parent,
java.lang.String helpId)
editor - The editor on which to do the surrounds withcontext - The IDE contextparent - The parent window for modalityhelpId - The help ID for the help system
public void performSurroundWith(BasicEditorPane editor,
Context context,
AbstractSurrounder surrounder,
int startPos,
int endPos)
editor - The editor on which to do the surrounds withcontext - The IDE contextsurrounder - The surround with operation to be performedstartPos - The start offset to surround withendPos - The end offset to surround with
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||