public class EMFStoreCommandNotifier extends Object
| Constructor and Description |
|---|
EMFStoreCommandNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommandStackObserver(ESCommandObserver observer)
Add a command stack observer.
|
void |
notifiyListenersAboutCommandCompleted(org.eclipse.emf.common.command.Command completedCommand)
Notify all registered listeners about command completion.
|
void |
notifiyListenersAboutCommandFailed(org.eclipse.emf.common.command.Command command,
Exception exception)
Notify all registered listeners about command failure.
|
void |
notifiyListenersAboutStart(org.eclipse.emf.common.command.Command startedCommand)
Notify all registered listeners about command start.
|
void |
removeCommandStackObserver(ESCommandObserver observer)
Remove a command stack observer.
|
public void notifiyListenersAboutStart(org.eclipse.emf.common.command.Command startedCommand)
startedCommand - the command that has been startedpublic void notifiyListenersAboutCommandFailed(org.eclipse.emf.common.command.Command command,
Exception exception)
command - the commandexception - the exception that triggered the failurepublic void notifiyListenersAboutCommandCompleted(org.eclipse.emf.common.command.Command completedCommand)
completedCommand - the completed commandpublic void addCommandStackObserver(ESCommandObserver observer)
observer - the observer to be addedpublic void removeCommandStackObserver(ESCommandObserver observer)
observer - the observer to be removedCopyright © 2017. All rights reserved.