org.eclipse.emf.emfstore.client.changetracking
Interface ESCommandObserver

All Superinterfaces:
ESObserver
All Known Implementing Classes:
OperationManager, OperationRecorder, ResourcePersister

public interface ESCommandObserver
extends ESObserver

Listener for a ESCommandStack.

Author:
mkoegel

Method Summary
 void commandCompleted(org.eclipse.emf.common.command.Command command)
          Called to notify listener about the successful completion of the given command.
 void commandFailed(org.eclipse.emf.common.command.Command command, Exception exception)
          Called to notify listener about the failure of the given command.
 void commandStarted(org.eclipse.emf.common.command.Command command)
          Called to notify listener about the start of the given command.
 

Method Detail

commandStarted

void commandStarted(org.eclipse.emf.common.command.Command command)
Called to notify listener about the start of the given command.

Parameters:
command - the command

commandCompleted

void commandCompleted(org.eclipse.emf.common.command.Command command)
Called to notify listener about the successful completion of the given command.

Parameters:
command - the command

commandFailed

void commandFailed(org.eclipse.emf.common.command.Command command,
                   Exception exception)
Called to notify listener about the failure of the given command.

Parameters:
command - the command
exception - the exception that occurred


Copyright © 2015. All Rights Reserved.