|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.model.changeTracking.commands.EMFStoreCommandNotifier
public class EMFStoreCommandNotifier
Notifier for Commands. Notifies Observers about command start, completion and failure.
Constructor Summary | |
---|---|
EMFStoreCommandNotifier()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EMFStoreCommandNotifier()
Method Detail |
---|
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 removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |