| Modifier | Constructor and Description |
|---|---|
|
DeleteTNodeCommand()
Constructor.
|
protected |
DeleteTNodeCommand(int cmdId,
int type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
enableConfirmation, getAffectedNodes, getContext, getData, getId, getProgressHandle, getType, isGlobal, setContext, setData, setTaskInfopublic DeleteTNodeCommand()
protected DeleteTNodeCommand(int cmdId,
int type)
public int doit()
throws java.lang.Exception
public int undo()
throws java.lang.Exception