org.openbp.jaspira.undo
Interface Undoable

All Known Implementing Classes:
ModelerUndoable

public interface Undoable

Action that can be undone by the UndoMgr

Author:
Jens Ferchland

Method Summary
 java.lang.String getDisplayName()
          A name of the action which can be displayed on screen.
 boolean isRedoable()
          Returns true if the action can be redone.
 boolean redo()
          Redo the action.
 boolean undo()
          Undo the last Action.
 

Method Detail

undo

boolean undo()
Undo the last Action.

Returns:
boolean - true action undo was successful false otherwise

isRedoable

boolean isRedoable()
Returns true if the action can be redone.

Returns:
boolean - true action is reduable false otherwise

redo

boolean redo()
Redo the action.

Returns:
boolean - true action redo was successful false otherwise

getDisplayName

java.lang.String getDisplayName()
A name of the action which can be displayed on screen.

Returns:
String a name which can be displayed on screen


Copyright © 2011. All Rights Reserved.