|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.umlx.editor.domain.CreateDomain
public class CreateDomain
CreateDomain manages a multi-object creation, coordinating re-use of objects.
Constructor Summary | |
---|---|
CreateDomain(ISheetEditor sheetEditor,
java.lang.String label,
org.eclipse.draw2d.geometry.Point offset)
|
Method Summary | ||
---|---|---|
java.lang.Object |
createElement(java.lang.Object templateObject,
java.lang.Object dropContext)
Create a graphical model element for templateObject and any additional graphical model elements to make sense of the new element at the context defined by parent. |
|
void |
createElements(java.util.Collection<?> templateObjects,
java.lang.Object dropContext)
Create a graphical model element for each of elements and any additional graphical model elements to make sense of the new elements at the context defined by dropContext. |
|
|
createOrFindCoModel(CCM coCoModel,
java.lang.Object dropContext)
Return a current or future graphical model element for coModel with parent as its grahical parent attempting to create one if none exists |
|
|
createOrFindModel(CM coModel,
java.lang.Object dropContext)
Return a current or future graphical model element for coModel with parent as its grahical parent attempting to create one if none exists |
|
|
findModel(CM coModel,
java.lang.Object dropContext)
Return a current or future graphical model element for coModel with parent as its grahical parent. |
|
IAbstractCommand |
getCommand()
|
|
IActiveEditDomain |
getEditDomain()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateDomain(ISheetEditor sheetEditor, java.lang.String label, org.eclipse.draw2d.geometry.Point offset)
Method Detail |
---|
public java.lang.Object createElement(java.lang.Object templateObject, java.lang.Object dropContext)
templateObject
- targetObject
- public void createElements(java.util.Collection<?> templateObjects, java.lang.Object dropContext)
sourceObjects
- dropContext
- public <CCM> java.lang.Object createOrFindCoModel(CCM coCoModel, java.lang.Object dropContext)
CM
- coModel
- dropContext
-
public <CM> java.lang.Object createOrFindModel(CM coModel, java.lang.Object dropContext)
CM
- coModel
- dropContext
-
public <CM> java.lang.Object findModel(CM coModel, java.lang.Object dropContext)
CM
- coModel
- dropContext
-
public IAbstractCommand getCommand()
public IActiveEditDomain getEditDomain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |