|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.action.global.GlobalActionHandlerContext
public final class GlobalActionHandlerContext
The class used to create a IGlobalActionHandlerContext
object.
This class implements IGlobalActionHandlerContext
interface.
Constructor Summary | |
---|---|
GlobalActionHandlerContext(IWorkbenchPart activePart,
java.lang.String actionId,
java.lang.Class elementType,
boolean isCompatible)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getActionId()
Returns the GlobalActionId |
IWorkbenchPart |
getActivePart()
Returns the active IWorkbenchPart |
java.lang.Class |
getElementType()
Returns an element type within the selection that occured in the active IWorkbenchPart |
boolean |
isCompatible()
Returns a boolean to indicate whether a direct match is required for the element type or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalActionHandlerContext(IWorkbenchPart activePart, java.lang.String actionId, java.lang.Class elementType, boolean isCompatible)
activePart
- attribute for active partactionId
- attribute for action IDelementType
- attribute for elementTypeisCompatible
- attribute for isCompatibleMethod Detail |
---|
public java.lang.String getActionId()
IGlobalActionHandlerContext
GlobalActionId
getActionId
in interface IGlobalActionHandlerContext
String
public java.lang.Class getElementType()
IGlobalActionHandlerContext
IWorkbenchPart
getElementType
in interface IGlobalActionHandlerContext
Class
public IWorkbenchPart getActivePart()
IGlobalActionHandlerContext
IWorkbenchPart
getActivePart
in interface IGlobalActionHandlerContext
IWorkbenchPart
public boolean isCompatible()
IGlobalActionHandlerContext
isCompatible
in interface IGlobalActionHandlerContext
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.