org.eclipse.gmt.umlx.editor.commands
Class ChangeParentCommand.ChildContext<C extends org.eclipse.emf.common.notify.Notifier,P>

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.commands.ChangeParentCommand.ChildContext<C,P>
Enclosing class:
ChangeParentCommand

public static class ChangeParentCommand.ChildContext<C extends org.eclipse.emf.common.notify.Notifier,P>
extends java.lang.Object


Constructor Summary
ChangeParentCommand.ChildContext(C child, P parent)
           
 
Method Summary
 C getChild()
           
 int getIndex()
           
 P getParent()
           
 void setIndex(int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeParentCommand.ChildContext

public ChangeParentCommand.ChildContext(C child,
                                        P parent)
Method Detail

getIndex

public int getIndex()

getChild

public C getChild()

getParent

public P getParent()

setIndex

public void setIndex(int index)