org.eclipse.gmt.umlx.tx.editor.commands
Class ChangeContextCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.eclipse.gmt.umlx.editor.command.AbstractCommand
          extended by org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand<M>
              extended by org.eclipse.gmt.umlx.editor.commands.AbstractChangeCommand<M>
                  extended by org.eclipse.gmt.umlx.editor.commands.ChangeValueCommand<UHelper,org.eclipse.emf.ecore.EClass>
                      extended by org.eclipse.gmt.umlx.tx.editor.commands.ChangeContextCommand
All Implemented Interfaces:
IAbstractCommand

public class ChangeContextCommand
extends ChangeValueCommand<UHelper,org.eclipse.emf.ecore.EClass>


Constructor Summary
ChangeContextCommand(UHelper model, org.eclipse.emf.ecore.EClass newValue)
           
 
Method Summary
 org.eclipse.emf.ecore.EClass getValue(UHelper model)
           
 void setValue(UHelper model, org.eclipse.emf.ecore.EClass value)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.ChangeValueCommand
doRedo, doUndo, toString
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.AbstractChangeCommand
addSelectedObjects
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand
getModel
 
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
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.command.IAbstractCommand
getLabel
 

Constructor Detail

ChangeContextCommand

public ChangeContextCommand(UHelper model,
                            org.eclipse.emf.ecore.EClass newValue)
Method Detail

getValue

public org.eclipse.emf.ecore.EClass getValue(UHelper model)
Specified by:
getValue in class ChangeValueCommand<UHelper,org.eclipse.emf.ecore.EClass>

setValue

public void setValue(UHelper model,
                     org.eclipse.emf.ecore.EClass value)
Specified by:
setValue in class ChangeValueCommand<UHelper,org.eclipse.emf.ecore.EClass>