Class ResourceDeleteAction
java.lang.Object
com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceUndoAction
com.inductiveautomation.ignition.designer.navtree.model.ResourceDeleteAction
- All Implemented Interfaces:
- UndoManager.UndoAction
- 
Constructor SummaryConstructorsConstructorDescriptionResourceDeleteAction(DesignerContext context, List<AbstractResourceNavTreeNode> nodes, String objectKey) ResourceDeleteAction(DesignerContext context, List<AbstractResourceNavTreeNode> nodes, String actionKey, String objectKey) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected Stringprotected intbooleanexecute()This function executes (redoes) the actionbooleanThis 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.booleanundo()This function will reverse the actionMethods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceUndoActionextractProjectResources, getDescription
- 
Constructor Details- 
ResourceDeleteActionpublic ResourceDeleteAction(DesignerContext context, List<AbstractResourceNavTreeNode> nodes, String objectKey) 
- 
ResourceDeleteActionpublic ResourceDeleteAction(DesignerContext context, List<AbstractResourceNavTreeNode> nodes, String actionKey, String objectKey) 
 
- 
- 
Method Details- 
executepublic boolean execute()Description copied from interface:UndoManager.UndoActionThis function executes (redoes) the action- Returns:
- false if the execution failed
 
- 
undopublic boolean undo()Description copied from interface:UndoManager.UndoActionThis function will reverse the action- Returns:
- false if the undo failed
 
- 
actionKey- Specified by:
- actionKeyin class- AbstractResourceUndoAction
 
- 
objectKey- Specified by:
- objectKeyin class- AbstractResourceUndoAction
 
- 
actionSizeprotected int actionSize()- Specified by:
- actionSizein class- AbstractResourceUndoAction
 
- 
isGroupSequenceIndependentpublic boolean isGroupSequenceIndependent()Description copied from interface:UndoManager.UndoActionThis 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.
 
-