|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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.CommandStackundo in class org.eclipse.emf.common.command.BasicCommandStackpublic void redo()
redo in interface org.eclipse.emf.common.command.CommandStackredo in class org.eclipse.emf.common.command.BasicCommandStackpublic void execute(org.eclipse.emf.common.command.Command command)
execute in interface org.eclipse.emf.common.command.CommandStackexecute in class org.eclipse.emf.common.command.BasicCommandStackpublic void addCommandStackObserver(ESCommandObserver observer)
addCommandStackObserver in interface ESCommandStackobserver - the observerESCommandStack.addCommandStackObserver(org.eclipse.emf.emfstore.client.changetracking.ESCommandObserver)public void removeCommandStackObserver(ESCommandObserver observer)
removeCommandStackObserver in interface ESCommandStackobserver - 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 | ||||||||