|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.controller.Command
oracle.ide.cmd.DeleteTNodeCommand
public class DeleteTNodeCommand
The DeleteTNodeCommand class implements the command to remove the the selected node(s) from their containing folder(s).
Command| Field Summary |
|---|
| Fields inherited from class oracle.ide.controller.Command |
|---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type |
| Constructor Summary | |
|---|---|
|
DeleteTNodeCommand()Constructor. |
protected |
DeleteTNodeCommand(int cmdId, int type)Constructor. |
| Method Summary | |
|---|---|
int |
doit()Iterates through the list of selected TNodes, and for each, removes the node from its containing folder. |
java.lang.String |
getName()Gets the name of the command to display as the action to undo |
int |
undo()Undo the deletions, adding the elements back to their containing folders |
| Methods inherited from class oracle.ide.controller.Command |
|---|
getAffectedNodes, getContext, getData, getId, getType, isGlobal, setContext, setData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteTNodeCommand()
protected DeleteTNodeCommand(int cmdId,
int type)
| Method Detail |
|---|
public int doit()
throws java.lang.Exception
doit in class Commandjava.lang.Exception
public int undo()
throws java.lang.Exception
undo in class Commandjava.lang.Exceptionpublic java.lang.String getName()
getName in class Command
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||