|
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
org.eclipse.gmf.runtime.diagram.ui.actions.AbstractDiagramGlobalActionProxy
Proxy that instantiates the diagram action when necessary and destroys it after use.
| Constructor Summary | |
AbstractDiagramGlobalActionProxy()
|
|
| Method Summary | |
boolean |
canHandle(IGlobalActionContext cntxt)
Return true if the handler can handle the context |
ICommand |
getCommand(IGlobalActionContext cntxt)
Return the ICommand for the context |
protected abstract DiagramAction |
instantiateAction(IGlobalActionContext context)
Instantiate the DiagramAction. |
| Methods inherited from class org.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler |
getLabel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractDiagramGlobalActionProxy()
| Method Detail |
protected abstract DiagramAction instantiateAction(IGlobalActionContext context)
context - the IGlobalActionContext holding nevessary
context information for the action
public ICommand getCommand(IGlobalActionContext cntxt)
IGlobalActionHandler
cntxt - The context
public boolean canHandle(IGlobalActionContext cntxt)
IGlobalActionHandler
cntxt - The context
|
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.