Package org.eclipse.epsilon.picto
Class CommandHistory
- java.lang.Object
-
- org.eclipse.epsilon.picto.CommandHistory
-
- Direct Known Subclasses:
ViewTreeSelectionHistory
public class CommandHistory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
executing
protected java.util.List<Command>
stack
protected int
stackPointer
-
Constructor Summary
Constructors Constructor Description CommandHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canGoBack()
boolean
canGoForward()
void
execute(Command command)
void
goBack()
void
goForward()
-
-
-
Field Detail
-
stack
protected java.util.List<Command> stack
-
stackPointer
protected int stackPointer
-
executing
protected boolean executing
-
-
Method Detail
-
execute
public void execute(Command command)
-
goBack
public void goBack()
-
canGoBack
public boolean canGoBack()
-
goForward
public void goForward()
-
canGoForward
public boolean canGoForward()
-
-