Class UndoGroup
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
-
- com.inductiveautomation.factorypmi.designer.workspace.undo.UndoGroup
-
- All Implemented Interfaces:
UndoManager.UndoAction
public class UndoGroup extends AbstractUndoAction
-
-
Constructor Summary
Constructors Constructor Description UndoGroup(WindowWorkspace.Handler handler, java.util.List<javax.swing.JComponent> components, javax.swing.JComponent newGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute()
This function executes (redoes) the actionboolean
undo()
This function will reverse the action-
Methods inherited from class com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
getDescription, getDescriptionArgs, isGroupSequenceIndependent
-
-
-
-
Constructor Detail
-
UndoGroup
public UndoGroup(WindowWorkspace.Handler handler, java.util.List<javax.swing.JComponent> components, javax.swing.JComponent newGroup)
-
-
Method Detail
-
undo
public boolean undo()
Description copied from interface:UndoManager.UndoAction
This function will reverse the action- Returns:
- false if the undo failed
-
execute
public boolean execute()
Description copied from interface:UndoManager.UndoAction
This function executes (redoes) the action- Returns:
- false if the execution failed
-
-