|
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.AbstractSurrounder
oracle.jdeveloper.java.imports.AbstractTryCatchFinallySurrounder
public abstract class AbstractTryCatchFinallySurrounder
The AbstractTryCatchFinallySurrounder
is the abstract
implementation of a TryCatchFinally surrounder.
Field Summary | |
---|---|
static int |
TRY_CATCH
|
static int |
TRY_CATCH_FINALLY
|
static int |
TRY_FINALLY
|
Fields inherited from class oracle.jdeveloper.java.imports.AbstractSurrounder |
---|
codingStyleOptions, endPos, startPos, surroundedEndPos, surroundedStartPos, undoDescriptor |
Constructor Summary | |
---|---|
AbstractTryCatchFinallySurrounder(int type)
|
Method Summary | |
---|---|
protected void |
doSurroundImpl(BasicEditorPane editorPane,
Context context)
The implementation of the surround-with operation. |
protected abstract java.lang.String[] |
getExceptions()
Get the list of exceptions that can be thrown. |
protected java.lang.String |
getNameImpl()
The name of the surround-with operation. |
Methods inherited from class oracle.jdeveloper.java.imports.AbstractSurrounder |
---|
blockIndent, doSurround, getIndentSize, getIndentString, getOuterIndent, getTabSize, getUseTabs, isBraceAlone, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TRY_CATCH
public static final int TRY_FINALLY
public static final int TRY_CATCH_FINALLY
Constructor Detail |
---|
public AbstractTryCatchFinallySurrounder(int type)
Method Detail |
---|
protected abstract java.lang.String[] getExceptions()
protected java.lang.String getNameImpl()
AbstractSurrounder
getNameImpl
in class AbstractSurrounder
protected void doSurroundImpl(BasicEditorPane editorPane, Context context) throws javax.swing.text.BadLocationException
AbstractSurrounder
doSurroundImpl
in class AbstractSurrounder
editorPane
- The editor panecontext
- The IDE context
javax.swing.text.BadLocationException
- If the surround operation fails
|
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 |