Class AbstractResourceUndoAction
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceUndoAction
-
- All Implemented Interfaces:
UndoManager.UndoAction
- Direct Known Subclasses:
ResourceDeleteAction
,ResourcePasteAction
public abstract class AbstractResourceUndoAction extends java.lang.Object implements UndoManager.UndoAction
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractResourceUndoAction()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.String
actionKey()
protected abstract int
actionSize()
static java.util.List<ProjectResource>
extractProjectResources(java.util.List<AbstractResourceNavTreeNode> nodes)
Extracts the project resources (deep) contained in and beneath the nodes represented in the list.java.lang.String
getDescription()
The description of the action will be used to determine grouping equality as well as for display purposes.protected abstract java.lang.String
objectKey()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.designer.UndoManager.UndoAction
execute, isGroupSequenceIndependent, undo
-
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:UndoManager.UndoAction
The description of the action will be used to determine grouping equality as well as for display purposes.- Specified by:
getDescription
in interfaceUndoManager.UndoAction
-
actionSize
protected abstract int actionSize()
-
objectKey
protected abstract java.lang.String objectKey()
-
actionKey
protected abstract java.lang.String actionKey()
-
extractProjectResources
public static java.util.List<ProjectResource> extractProjectResources(java.util.List<AbstractResourceNavTreeNode> nodes)
Extracts the project resources (deep) contained in and beneath the nodes represented in the list.
-
-