org.eclipse.amp.amf.acore.edit.commands.test
Class AddRootCommand

java.lang.Object
  extended by org.eclipse.amp.amf.acore.edit.commands.test.PrePostCondition
      extended by org.eclipse.amp.amf.acore.edit.commands.test.CommandTransformer
          extended by org.eclipse.amp.amf.acore.edit.commands.test.SetTransformer
              extended by org.eclipse.amp.amf.acore.edit.commands.test.SetLabel
                  extended by org.eclipse.amp.amf.acore.edit.commands.test.AddRootCommand
All Implemented Interfaces:
PrePostAsserts, org.metaabm.tests.Transformer

public class AddRootCommand
extends SetLabel


Constructor Summary
AddRootCommand()
           
 
Method Summary
 org.eclipse.emf.common.command.Command getCommand()
           
 void postCondition()
           
 void preCondition()
           
 
Methods inherited from class org.eclipse.amp.amf.acore.edit.commands.test.SetLabel
addPrePost
 
Methods inherited from class org.eclipse.amp.amf.acore.edit.commands.test.SetTransformer
getIID, getSNamed
 
Methods inherited from class org.eclipse.amp.amf.acore.edit.commands.test.CommandTransformer
doPostCondition, doPreCondition, exec, modifies, prepare, redo, toString, undo
 
Methods inherited from class org.eclipse.amp.amf.acore.edit.commands.test.PrePostCondition
agAttr, agentRootAct, agInput, agQuery, attr, getDomain, getModel, memAgent, memContext, rootAct, setDomain, setModel, setTestCase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddRootCommand

public AddRootCommand()
Method Detail

getCommand

public org.eclipse.emf.common.command.Command getCommand()
Overrides:
getCommand in class SetTransformer

preCondition

public void preCondition()
Specified by:
preCondition in interface PrePostAsserts
Overrides:
preCondition in class SetLabel

postCondition

public void postCondition()
Specified by:
postCondition in interface PrePostAsserts
Overrides:
postCondition in class SetLabel