org.eclipse.gmf.runtime.common.ui.action.ide.actions.global
Class CloseResourceGlobalActionHandler
java.lang.Object
org.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler
org.eclipse.gmf.runtime.common.ui.action.actions.global.ResourceGlobalActionHandler
org.eclipse.gmf.runtime.common.ui.action.ide.actions.global.CloseResourceGlobalActionHandler
-
All Implemented Interfaces:
-
IGlobalActionHandler
-
public class CloseResourceGlobalActionHandler
- extends
ResourceGlobalActionHandler
Global action handler that closes resources using the Eclipse
CloseResourceAction
.
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
CloseResourceGlobalActionHandler
public CloseResourceGlobalActionHandler()
getCommand
public
ICommand getCommand(
IGlobalActionContext cntxt)
-
Description copied from interface:
IGlobalActionHandler
- Return the ICommand for the context
-
-
Parameters:
-
cntxt
- The context
-
Returns:
- ICommand
canHandle
public boolean canHandle(
IGlobalActionContext cntxt)
-
Description copied from interface:
IGlobalActionHandler
- Return true if the handler can handle the context
-
-
Specified by:
-
canHandle
in interface
IGlobalActionHandler
-
Overrides:
-
canHandle
in class
ResourceGlobalActionHandler
-
-
Parameters:
-
cntxt
- The context
-
Returns:
- boolean
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.