de.cau.cs.kieler.keg.diagram.custom
Class HypernodesCommand
java.lang.Object
org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.emf.workspace.AbstractEMFOperation
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
de.cau.cs.kieler.keg.diagram.custom.HypernodesCommand
- All Implemented Interfaces:
- IUndoableOperation, ICommand, org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult
public class HypernodesCommand
- extends AbstractTransactionalCommand
Command used to change the hypernodes structure.
- Rating

Methods inherited from class org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand |
aggregateStatuses, cleanup, compose, didRedo, didUndo, doExecute, doRedo, doUndo, 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 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 |
HypernodesCommand
public HypernodesCommand(TransactionalEditingDomain domain,
String label,
IAdaptable adapter)
- Creates a command to update the hypernodes structure.
- Parameters:
domain
- the editing domain through which model changes are madelabel
- the command labeladapter
- an adapter to the View
of the base diagram
doExecuteWithResult
protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
throws ExecutionException
-
- Specified by:
doExecuteWithResult
in class AbstractTransactionalCommand
- Throws:
ExecutionException
getAffectedFiles
public List<?> getAffectedFiles()
-
- Specified by:
getAffectedFiles
in interface ICommand
- Overrides:
getAffectedFiles
in class AbstractTransactionalCommand