public class ResourceDeleteAction extends AbstractResourceUndoAction
| Constructor and Description |
|---|
ResourceDeleteAction(DesignerProjectContext context,
java.util.List<AbstractResourceNavTreeNode> nodes,
java.lang.String objectKey) |
ResourceDeleteAction(DesignerProjectContext context,
java.util.List<AbstractResourceNavTreeNode> nodes,
java.lang.String actionKey,
java.lang.String objectKey) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
actionKey() |
protected int |
actionSize() |
boolean |
execute()
This function executes (redoes) the action
|
boolean |
isGroupSequenceIndependent()
This function should return true if a group of these actions can be undone by ONLY calling undo() on the
first action in the group, and redone by ONLY calling execute() on the last action in the group.
|
java.lang.String |
objectKey() |
boolean |
undo()
This function will reverse the action
|
extractProjectResources, getDescription, requestLocks, updateAndReleaseLockspublic ResourceDeleteAction(DesignerProjectContext context, java.util.List<AbstractResourceNavTreeNode> nodes, java.lang.String objectKey)
public ResourceDeleteAction(DesignerProjectContext context, java.util.List<AbstractResourceNavTreeNode> nodes, java.lang.String actionKey, java.lang.String objectKey)
public boolean execute()
UndoManager.UndoActionpublic boolean undo()
UndoManager.UndoActionprotected java.lang.String actionKey()
actionKey in class AbstractResourceUndoActionpublic java.lang.String objectKey()
objectKey in class AbstractResourceUndoActionprotected int actionSize()
actionSize in class AbstractResourceUndoActionpublic boolean isGroupSequenceIndependent()
UndoManager.UndoAction