|
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.AbstractGlobalActionHandler
public abstract class AbstractGlobalActionHandler
The abstract parent of all concrete global action handlers. A concrete handler
needs to override the getCommand()
and canHandle()
methods.
This class implements the IGlobalActionHandler
interface. It provides
access to the IGlobalActionContext
to its decendents.
Constructor Summary | |
---|---|
AbstractGlobalActionHandler()
Creates an AbstractGlobalActionHandler. |
Method Summary | |
---|---|
java.lang.String |
getLabel(IGlobalActionContext cntxt)
Gets the label for this global action, given the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmf.runtime.common.ui.services.action.global.IGlobalActionHandler |
---|
canHandle, getCommand |
Constructor Detail |
---|
public AbstractGlobalActionHandler()
Method Detail |
---|
public java.lang.String getLabel(IGlobalActionContext cntxt)
IGlobalActionHandler
null
if the default global action label
should be used.
getLabel
in interface IGlobalActionHandler
cntxt
- the global action context
null
if
the default label should be used.
|
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.