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
          Deprecated. 
 
Method Summary
 List<AbstractOperation> modify(List<AbstractOperation> operations, org.eclipse.emf.common.command.Command command)
           Allows to modify the recorded operations.
 

Field Detail

ID

@Deprecated
static final String ID
Deprecated. 

ID of the ESOperationModifier option.

This option is not in use anymore and has been replaced by the change recording option org.eclipse.emf.emfstore.client.changeRecordingOptions.operationModifier.

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 © 2016. All Rights Reserved.