public class PropertyBindingUndoAction extends java.lang.Object implements UndoManager.UndoAction
Constructor and Description |
---|
PropertyBindingUndoAction(BindingConfiguration oldBindingConfig,
BindingConfiguration newBindingConfig,
java.awt.Component comp,
java.lang.String propName,
VisionDesignerImpl visionDesignerImpl,
InteractionController controller) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
This function executes (redoes) the action
|
java.lang.String |
getDescription()
The description of the action will be used to determine grouping equality as well as for display purposes.
|
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.
|
boolean |
undo()
This function will reverse the action
|
boolean |
undoNeeded() |
public PropertyBindingUndoAction(BindingConfiguration oldBindingConfig, BindingConfiguration newBindingConfig, java.awt.Component comp, java.lang.String propName, VisionDesignerImpl visionDesignerImpl, InteractionController controller)
public java.lang.String getDescription()
UndoManager.UndoAction
getDescription
in interface UndoManager.UndoAction
public boolean undo()
UndoManager.UndoAction
undo
in interface UndoManager.UndoAction
public boolean execute()
UndoManager.UndoAction
execute
in interface UndoManager.UndoAction
public boolean isGroupSequenceIndependent()
UndoManager.UndoAction
isGroupSequenceIndependent
in interface UndoManager.UndoAction
public boolean undoNeeded()