de.cau.cs.kieler.synccharts.diagram.edit.commands
Class TextualCodeCreateCommand
java.lang.Object
org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.emf.workspace.AbstractEMFOperation
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
de.cau.cs.kieler.synccharts.diagram.edit.commands.TextualCodeCreateCommand
- All Implemented Interfaces:
- IUndoableOperation, ICommand, org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult
public class TextualCodeCreateCommand
- extends EditElementCommand
- Rating

- Generated:
- This code was automatically generated.
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 interface org.eclipse.gmf.runtime.common.core.command.ICommand |
setLabel |
Methods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation |
addContext, canRedo, canUndo, dispose, execute, getContexts, getLabel, hasContext, redo, removeContext, undo |
TextualCodeCreateCommand
public TextualCodeCreateCommand(CreateElementRequest req)
- Generated:
- This code was automatically generated.
getElementToEdit
protected EObject getElementToEdit()
- FIXME: replace with setElementToEdit()
- Overrides:
getElementToEdit
in class EditElementCommand
- Generated:
- This code was automatically generated.
canExecute
public boolean canExecute()
- Specified by:
canExecute
in interface IUndoableOperation
- Overrides:
canExecute
in class EditElementCommand
- Generated:
- This code was automatically generated.
doExecuteWithResult
protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
throws ExecutionException
- Specified by:
doExecuteWithResult
in class AbstractTransactionalCommand
- Throws:
ExecutionException
- Generated:
- This code was automatically generated.
doConfigure
protected void doConfigure(TextualCode newElement,
IProgressMonitor monitor,
IAdaptable info)
throws ExecutionException
- Throws:
ExecutionException
- Generated:
- This code was automatically generated.