public class EMFStoreBasicCommandStack extends org.eclipse.emf.common.command.BasicCommandStack implements ESCommandStack
| Constructor and Description |
|---|
EMFStoreBasicCommandStack()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public EMFStoreBasicCommandStack()
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)Copyright © 2017. All rights reserved.