|
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 isCompatible| Method Detail |
|---|
public java.lang.String getActionId()
IGlobalActionHandlerContextGlobalActionId
getActionId in interface IGlobalActionHandlerContextStringpublic java.lang.Class getElementType()
IGlobalActionHandlerContextIWorkbenchPart
getElementType in interface IGlobalActionHandlerContextClasspublic IWorkbenchPart getActivePart()
IGlobalActionHandlerContextIWorkbenchPart
getActivePart in interface IGlobalActionHandlerContextIWorkbenchPartpublic 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.