public interface IMMIUIProvider
extends org.eclipse.gmf.runtime.common.core.service.IProvider
Standard MMI UI usecases are Drag and Drop any adaptable object on to
a MMI diagram using MMIDragDropTargetListener
, provide standard
MMI UI menu actions like AddToNewClassDiagramAction
,
AddToNewDeploymentDiagramAction
, ShowRelatedElements, Show/Hide Relationships.
The implementor of this interface must register the implementation with com.ibm.xtools.mmi.ui.MMIUIProviders extension point.
Modifier and Type | Method and Description |
---|---|
IStructuredReferenceOpenHandler |
getStructuredReferenceOpenHandler(java.lang.String providerId)
Retrieve a
IStructuredReferenceOpenHandler given a handler id of the StructuredReference . |
IMMIUIHandler |
getUIHandler(java.lang.Object uiObject,
IUIContext uiContext)
Retrieve a
IMMIUIHandler given a UI object and a diagram kind. |
IMMIUIHandler getUIHandler(java.lang.Object uiObject, IUIContext uiContext)
IMMIUIHandler
given a UI object and a diagram kind.uiObject
- UI Object for which handler is requested.uiContext
- target context for which handler is requested. Constants are defined in IUIContextConstants.IMMIUIHandler
if a registered provider supports IMMIUIHandler
for uiObject
and diagramKind
else null
.IStructuredReferenceOpenHandler getStructuredReferenceOpenHandler(java.lang.String providerId)
IStructuredReferenceOpenHandler
given a handler id of the StructuredReference
.providerId
- Provider id of the StructuredReference
IStructuredReferenceOpenHandler
if a registered provider supports IStructuredReferenceOpenHandler
for providerId
else null
.