public class AttributeCreateCommand
extends org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
Constructor and Description |
---|
AttributeCreateCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest req) |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute() |
protected void |
doConfigure(Attribute newElement,
org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
protected org.eclipse.emf.ecore.EObject |
getElementToEdit()
FIXME: replace with setElementToEdit()
|
getAffectedFiles, getEClass, getEClassToEdit, 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 AttributeCreateCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest req)
protected org.eclipse.emf.ecore.EObject getElementToEdit()
getElementToEdit
in class org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand
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 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 void doConfigure(Attribute newElement, org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException