org.eclipse.gmt.umlx.tx.editor.commands
Class ChangeUsedAttributeCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.AbstractCommand
org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand<M>
org.eclipse.gmt.umlx.editor.commands.AbstractChangeCommand<M>
org.eclipse.gmt.umlx.editor.commands.ChangeValueCommand<UAttributeVariable,org.eclipse.emf.ecore.EAttribute>
org.eclipse.gmt.umlx.tx.editor.commands.ChangeUsedAttributeCommand
- All Implemented Interfaces:
- IAbstractCommand
public class ChangeUsedAttributeCommand
- extends ChangeValueCommand<UAttributeVariable,org.eclipse.emf.ecore.EAttribute>
Methods inherited from class org.eclipse.gmt.umlx.editor.command.AbstractCommand |
canExecute, canUndo, couldNotUnlock, diagnoseCannotExecute, dispose, execute, getCommand, prepare, prepare, redo, requestModification, undo |
Methods inherited from class org.eclipse.gef.commands.Command |
chain, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChangeUsedAttributeCommand
public ChangeUsedAttributeCommand(UAttributeVariable model,
org.eclipse.emf.ecore.EAttribute newValue)
getValue
public org.eclipse.emf.ecore.EAttribute getValue(UAttributeVariable model)
- Specified by:
getValue
in class ChangeValueCommand<UAttributeVariable,org.eclipse.emf.ecore.EAttribute>
setValue
public void setValue(UAttributeVariable model,
org.eclipse.emf.ecore.EAttribute value)
- Specified by:
setValue
in class ChangeValueCommand<UAttributeVariable,org.eclipse.emf.ecore.EAttribute>