|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.command.BasicCommandStack org.eclipse.emf.emfstore.internal.client.model.changeTracking.commands.EMFStoreBasicCommandStack
public class EMFStoreBasicCommandStack
Basic Command Stack for EMFStore. Allows tracking of command start and end.
Constructor Summary | |
---|---|
EMFStoreBasicCommandStack()
Default constructor. |
Method Summary | |
---|---|
void |
addCommandStackObserver(ESCommandObserver observer)
Add a command stack observer. |
void |
execute(org.eclipse.emf.common.command.Command command)
|
void |
redo()
|
void |
removeCommandStackObserver(ESCommandObserver observer)
Remove COmmand stack observer. |
void |
undo()
|
Methods inherited from class org.eclipse.emf.common.command.BasicCommandStack |
---|
addCommandStackListener, canRedo, canUndo, flush, getMostRecentCommand, getRedoCommand, getUndoCommand, isSaveNeeded, removeCommandStackListener, saveIsDone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EMFStoreBasicCommandStack()
Method Detail |
---|
public void undo()
undo
in interface org.eclipse.emf.common.command.CommandStack
undo
in class org.eclipse.emf.common.command.BasicCommandStack
public void redo()
redo
in interface org.eclipse.emf.common.command.CommandStack
redo
in class org.eclipse.emf.common.command.BasicCommandStack
public void execute(org.eclipse.emf.common.command.Command command)
execute
in interface org.eclipse.emf.common.command.CommandStack
execute
in class org.eclipse.emf.common.command.BasicCommandStack
public void addCommandStackObserver(ESCommandObserver observer)
addCommandStackObserver
in interface ESCommandStack
observer
- the observerESCommandStack.addCommandStackObserver(org.eclipse.emf.emfstore.client.changetracking.ESCommandObserver)
public void removeCommandStackObserver(ESCommandObserver observer)
removeCommandStackObserver
in interface ESCommandStack
observer
- the observerESCommandStack.removeCommandStackObserver(org.eclipse.emf.emfstore.client.changetracking.ESCommandObserver)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |