org.eclipse.gmt.umlx.editor.domain
Class ChangeDomain
java.lang.Object
org.eclipse.gmt.umlx.editor.domain.ChangeDomain
public class ChangeDomain
- extends java.lang.Object
ChangeDomain manages a object change, resulting from a drop
of sourceObjects onto targetObjects.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeDomain
public ChangeDomain(ISheetEditor sheetEditor,
java.lang.String label)
changeElement
public java.lang.Object changeElement(java.lang.Object sourceCoModel,
java.lang.Object targetModel)
- Create a graphical model element for element and any additional
graphical model elements to make sense of the new element at the context
defined by parent. e.g. handle the model update of a drop of elements at parent.
- Parameters:
sourceCoModel
- replacement coModeltargetModel
- target model to acquire replacement coModel
getCommand
public IAbstractCommand getCommand()
getEditDomain
public IActiveEditDomain getEditDomain()