oracle.jdeveloper.java.imports
Class IfSyncWhileForSurrounder
java.lang.Object
oracle.jdeveloper.java.imports.AbstractSurrounder
oracle.jdeveloper.java.imports.IfSyncWhileForSurrounder
public final class IfSyncWhileForSurrounder
- extends AbstractSurrounder
The IfSyncWhileForSurrounder
is the
If-Synchronized-While-For surrounder implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IF
public static final int IF
- See Also:
- Constant Field Values
IF_ELSE
public static final int IF_ELSE
- See Also:
- Constant Field Values
WHILE
public static final int WHILE
- See Also:
- Constant Field Values
SYNCHRONIZED
public static final int SYNCHRONIZED
- See Also:
- Constant Field Values
FOR
public static final int FOR
- See Also:
- Constant Field Values
IfSyncWhileForSurrounder
public IfSyncWhileForSurrounder(int type)
getNameImpl
protected java.lang.String getNameImpl()
- Description copied from class:
AbstractSurrounder
- The name of the surround-with operation.
- Specified by:
getNameImpl
in class AbstractSurrounder
- Returns:
- String The name of the surround-with operation
doSurroundImpl
protected void doSurroundImpl(BasicEditorPane editorPane,
Context context)
throws javax.swing.text.BadLocationException
- Description copied from class:
AbstractSurrounder
- The implementation of the surround-with operation.
- Specified by:
doSurroundImpl
in class AbstractSurrounder
- Parameters:
editorPane
- The editor panecontext
- The IDE context
- Throws:
javax.swing.text.BadLocationException
- If the surround operation fails
Copyright © 1997, 2009, Oracle. All rights reserved.