public class GetUIHandlerOperation
extends com.ibm.xtools.mmi.ui.internal.services.MMIUIOperation
IMMIUIHandler
for any given UI Object and
for a given diagram kind.
A UI object is defined as object on which MMI UI usecases can be applied. Common MMI UI usecases are drag and drop on to class diagram, MMI UI actions like 'Add to New Diagram' etc.
Constructor and Description |
---|
GetUIHandlerOperation(java.lang.Object uiObject,
IUIContext uiContext)
Constructor for GetUIHandlerOperation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object operation) |
java.lang.Object |
execute(org.eclipse.gmf.runtime.common.core.service.IProvider provider) |
IUIContext |
getUIContext()
Get the Diagram Kind for this operation.
|
java.lang.Object |
getUIObject()
Gets the UI Object.
|
int |
hashCode() |
public GetUIHandlerOperation(java.lang.Object uiObject, IUIContext uiContext)
uiObject
- UI Object, null
is illegaluiContext
- Kind of the Diagram, null
is illegalpublic java.lang.Object getUIObject()
public IUIContext getUIContext()
public int hashCode()
hashCode
in class com.ibm.xtools.mmi.ui.internal.services.MMIUIOperation
public boolean equals(java.lang.Object operation)
equals
in class com.ibm.xtools.mmi.ui.internal.services.MMIUIOperation
public java.lang.Object execute(org.eclipse.gmf.runtime.common.core.service.IProvider provider)