public interface IMMIUIHandler
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IPath |
getDefaultDiagramPath(java.lang.Object uiObject,
IUIContext uiContext)
Gets the directory path where the Diagram can be created for the uiObject.
|
java.util.List |
getSourceElements(java.lang.Object referencedContext,
java.lang.Object uiObject,
IUIContext uiContext)
Extracts all domain objects from a given UI Object.
|
org.eclipse.emf.ecore.EClass |
getTargetEClass(java.lang.Object referencedContext,
java.lang.Object source,
IUIContext uiContext)
Returns the target EClass for a source element when dropped on a certain
UI context, such as the diagram kind.
|
org.eclipse.core.runtime.IPath getDefaultDiagramPath(java.lang.Object uiObject, IUIContext uiContext)
uiObject
- selected Object for which diagram is to be created.uiContext
- context for the ui. Handlers can determine what type of
diagram path will be returned based on the uiContext.java.util.List getSourceElements(java.lang.Object referencedContext, java.lang.Object uiObject, IUIContext uiContext)
referencedContext
- context such as a editing domainuiObject
- selected Object that is involved in MMI UI usecase.uiContext
- IUIContext.org.eclipse.emf.ecore.EClass getTargetEClass(java.lang.Object referencedContext, java.lang.Object source, IUIContext uiContext)
source
- domain Object like ITypeuiContext
- IUIContext recommended to include a diagram kind
for easily determining what the target eclass for the domain object would be.