org.eclipse.gmt.umlx.editor.domain
Class ChangeDomain

java.lang.Object
  extended by 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.


Constructor Summary
ChangeDomain(ISheetEditor sheetEditor, java.lang.String label)
           
 
Method Summary
 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.
 IAbstractCommand getCommand()
           
 IActiveEditDomain getEditDomain()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeDomain

public ChangeDomain(ISheetEditor sheetEditor,
                    java.lang.String label)
Method Detail

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 coModel
targetModel - target model to acquire replacement coModel

getCommand

public IAbstractCommand getCommand()

getEditDomain

public IActiveEditDomain getEditDomain()