org.eclipse.emf.emfstore.client.handler
Interface ESOperationModifier

All Known Implementing Classes:
AutoOperationWrapper

public interface ESOperationModifier

This interface allows to hook into the operation recorder and to modify the recorded operations. Generally this is useful for combining similar operations into composite operations.

Author:
wesendon

Field Summary
static String ID
          ID of the ESOperationModifier option.
 
Method Summary
 List<AbstractOperation> modify(List<AbstractOperation> operations, org.eclipse.emf.common.command.Command command)
           Allows to modify the recorded operations.
 

Field Detail

ID

static final String ID
ID of the ESOperationModifier option.

See Also:
Constant Field Values
Method Detail

modify

List<AbstractOperation> modify(List<AbstractOperation> operations,
                               org.eclipse.emf.common.command.Command command)

Allows to modify the recorded operations.

NOTE: This method is only called if commands are used.

Parameters:
operations - the recorded operations that may be modified
command - the triggering command
Returns:
a possibly modified list of operations


Copyright © 2015. All Rights Reserved.