| java.lang.Object com.vividsolutions.jump.workbench.model.UndoableCommand
UndoableCommand | abstract public class UndoableCommand (Code) | | An action that can be rolled back. Similar to an UndoableEdit, but assumes
that the action is yet to be executed, whereas an UndoableEdit assumes that
the action has already been executed (i.e. it has a #redo method but not a
#do method).
See Also: javax.swing.undo.UndoableEdit |
Method Summary | |
protected void | dispose() Releases resources. | abstract public void | execute() If there is an exception that leaves this UndoableCommand execution
partially complete and non-unexecutable, be sure to call #reportIrreversibleChange()
on the UndoableEditReceiver (which can be obtained from the LayerManager). | public String | getName() | public UndoableEdit | toUndoableEdit() | abstract public void | unexecute() |
dispose | protected void dispose()(Code) | | Releases resources.
|
execute | abstract public void execute()(Code) | | If there is an exception that leaves this UndoableCommand execution
partially complete and non-unexecutable, be sure to call #reportIrreversibleChange()
on the UndoableEditReceiver (which can be obtained from the LayerManager).
See Also: UndoableEditReceiver.reportIrreversibleChange |
unexecute | abstract public void unexecute()(Code) | | |
|
|