|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.AbstractOverrideableCommand
org.eclipse.emf.edit.command.SetCommand
org.metaabm.commands.SetDimensionalAttributesCommand
public class SetDimensionalAttributesCommand
Creates dimensional attributes for a given projection based on dimensions provided. For example, when setting dimensionality of 2, attributes for width and height will be created.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.edit.command.SetCommand |
|---|
org.eclipse.emf.edit.command.SetCommand.PessimisticStrictCompoundCommand |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
|---|
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.edit.command.SetCommand |
|---|
canUndo, DESCRIPTION, ecorePackage, feature, index, LABEL, oldValue, owner, ownerList, removeCommand, UNSET_VALUE, value |
| Fields inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand |
|---|
domain, overrideCommand |
| Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
|---|
description, isExecutable, isPrepared, label |
| Constructor Summary | |
|---|---|
SetDimensionalAttributesCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object value,
int index)
|
|
| Method Summary | |
|---|---|
protected org.eclipse.emf.common.command.Command |
createDependents(org.eclipse.emf.edit.domain.EditingDomain domain,
SNDimensional proj,
int newDim)
|
void |
doExecute()
|
void |
doRedo()
|
void |
doUndo()
|
| Methods inherited from class org.eclipse.emf.edit.command.SetCommand |
|---|
create, create, doCanUndo, doGetAffectedObjects, doGetResult, getFeature, getIndex, getOldValue, getOwner, getOwnerList, getValue, prepare, toString |
| Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand |
|---|
canExecute, canUndo, dispose, doCanExecute, doDispose, doGetChildrenToCopy, doGetDescription, doGetLabel, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, undo, updateEMap |
| Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
|---|
chain, setDescription, setLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.common.command.Command |
|---|
chain |
| Constructor Detail |
|---|
public SetDimensionalAttributesCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object value,
int index)
| Method Detail |
|---|
protected org.eclipse.emf.common.command.Command createDependents(org.eclipse.emf.edit.domain.EditingDomain domain,
SNDimensional proj,
int newDim)
public void doRedo()
doRedo in interface org.eclipse.emf.edit.command.OverrideableCommanddoRedo in class org.eclipse.emf.edit.command.SetCommandpublic void doUndo()
doUndo in interface org.eclipse.emf.edit.command.OverrideableCommanddoUndo in class org.eclipse.emf.edit.command.SetCommandpublic void doExecute()
doExecute in interface org.eclipse.emf.edit.command.OverrideableCommanddoExecute in class org.eclipse.emf.edit.command.SetCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||