Class AbstractUndoAction
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
-
- All Implemented Interfaces:
UndoManager.UndoAction
- Direct Known Subclasses:
UndoConvertToContainer
,UndoGroup
,UndoRotation
,UndoUngroup
public abstract class AbstractUndoAction extends java.lang.Object implements UndoManager.UndoAction
-
-
Constructor Summary
Constructors Constructor Description AbstractUndoAction(java.lang.String resourceKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
The description of the action will be used to determine grouping equality as well as for display purposes.protected java.lang.Object[]
getDescriptionArgs()
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.-
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, 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
-
getDescriptionArgs
protected java.lang.Object[] getDescriptionArgs()
-
isGroupSequenceIndependent
public boolean isGroupSequenceIndependent()
Description copied from interface:UndoManager.UndoAction
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.- Specified by:
isGroupSequenceIndependent
in interfaceUndoManager.UndoAction
-
-