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 booleanexecutingprotected java.util.List<Command>stackprotected intstackPointer
-
Constructor Summary
Constructors Constructor Description CommandHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanGoBack()booleancanGoForward()voidexecute(Command command)voidgoBack()voidgoForward()
-
-
-
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()
-
-