public class ActorSupertypeReorientCommand
extends org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
Constructor and Description |
---|
ActorSupertypeReorientCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest request) |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute() |
protected boolean |
canReorientSource() |
protected boolean |
canReorientTarget() |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
protected Actor |
getNewSource() |
protected Actor |
getNewTarget() |
protected Actor |
getOldSource() |
protected Actor |
getOldTarget() |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
reorientSource() |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
reorientTarget() |
getAffectedFiles, getEClass, getEClassToEdit, getElementToEdit, getRequest, isOK, setEClass, setElementToEdit
aggregateStatuses, cleanup, compose, didRedo, didUndo, doExecute, doRedo, doUndo, getAffectedFiles, getCommandResult, getWorkspaceFiles, getWorkspaceFiles, internalSetResult, reduce, setResult
canRedo, canSetOptions, canUndo, didCommit, dispose, execute, getChange, getEditingDomain, getOptions, isReuseParentTransaction, redo, setOptions, setReuseParentTransaction, undo
addContext, getContexts, getLabel, hasContext, removeContext, setLabel, toString
public ActorSupertypeReorientCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest request)
public boolean canExecute()
canExecute
in interface org.eclipse.core.commands.operations.IUndoableOperation
canExecute
in class org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
protected boolean canReorientSource()
protected boolean canReorientTarget()
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
doExecuteWithResult
in class org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
org.eclipse.core.commands.ExecutionException
protected org.eclipse.gmf.runtime.common.core.command.CommandResult reorientSource() throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
protected org.eclipse.gmf.runtime.common.core.command.CommandResult reorientTarget() throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
protected Actor getOldSource()
protected Actor getNewSource()
protected Actor getOldTarget()
protected Actor getNewTarget()