de.cau.cs.kieler.synccharts.synchronizer
Class SynchronizeGMFEditorCommand

java.lang.Object
  extended by org.eclipse.core.commands.operations.AbstractOperation
      extended by org.eclipse.emf.workspace.AbstractEMFOperation
          extended by org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
              extended by de.cau.cs.kieler.synccharts.synchronizer.SynchronizeGMFEditorCommand
All Implemented Interfaces:
IUndoableOperation, ICommand, org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult

public class SynchronizeGMFEditorCommand
extends AbstractTransactionalCommand

Special AbstractTransactionalCommand merging changes into a GMF document.

Rating red

Constructor Summary
SynchronizeGMFEditorCommand(DiagramDocumentEditor thePassiveEditor, org.eclipse.emf.compare.diff.metamodel.DiffModel theDiffModel)
           
 
Method Summary
protected  CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)
           
 
Methods inherited from class org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
aggregateStatuses, cleanup, compose, didRedo, didUndo, doExecute, doRedo, doUndo, getAffectedFiles, getCommandResult, getWorkspaceFiles, getWorkspaceFiles, internalSetResult, reduce, setResult
 
Methods inherited from class org.eclipse.emf.workspace.AbstractEMFOperation
canRedo, canSetOptions, canUndo, didCommit, dispose, execute, getChange, getEditingDomain, getOptions, isReuseParentTransaction, redo, setOptions, setReuseParentTransaction, undo
 
Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation
addContext, canExecute, getContexts, getLabel, hasContext, removeContext, setLabel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmf.runtime.common.core.command.ICommand
setLabel
 
Methods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation
addContext, canExecute, canRedo, canUndo, dispose, execute, getContexts, getLabel, hasContext, redo, removeContext, undo
 

Constructor Detail

SynchronizeGMFEditorCommand

public SynchronizeGMFEditorCommand(DiagramDocumentEditor thePassiveEditor,
                                   org.eclipse.emf.compare.diff.metamodel.DiffModel theDiffModel)
Method Detail

doExecuteWithResult

protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
                                            IAdaptable info)
                                     throws ExecutionException
Specified by:
doExecuteWithResult in class AbstractTransactionalCommand
Throws:
ExecutionException