org.eclipse.emf.emfstore.internal.client.model.impl
Interface IApplyChangesWrapper


public interface IApplyChangesWrapper

Wraps a call to apply operations on a project space. Usually used to wrap model changes into Display.syncExec calls to avoid bad editors throwing exceptions if an update is not executed within the UI Thread.

Author:
koegel

Method Summary
 void wrapApplyChanges(IApplyChangesCallback callback, ProjectSpace projectSpace, List<AbstractOperation> operations, boolean addOperations)
          Wrap a call to apply changes.
 

Method Detail

wrapApplyChanges

void wrapApplyChanges(IApplyChangesCallback callback,
                      ProjectSpace projectSpace,
                      List<AbstractOperation> operations,
                      boolean addOperations)
Wrap a call to apply changes.

Parameters:
callback - the actual code to execute operation application
projectSpace - the project space
operations - the operations
addOperations - true if operations should be added as recorded operations


Copyright © 2015. All Rights Reserved.