org.eclipse.gmf.runtime.common.ui.services.action.global
Class GlobalActionHandlerService.ProviderDescriptor
java.lang.Object
org.eclipse.gmf.runtime.common.core.service.AbstractProvider
org.eclipse.gmf.runtime.common.core.service.Service.ProviderDescriptor
org.eclipse.gmf.runtime.common.ui.services.action.global.GlobalActionHandlerService.ProviderDescriptor
- All Implemented Interfaces:
- java.util.EventListener, IProvider, IProviderChangeListener
- Enclosing class:
- GlobalActionHandlerService
protected static class GlobalActionHandlerService.ProviderDescriptor
- extends Service.ProviderDescriptor
A descriptor for IGlobalActionHandlerProvider
defined
by a configuration element.
Method Summary |
boolean |
provides(IOperation operation)
Indicates whether this provider descriptor can provide the
functionality described by the specified operation . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GlobalActionHandlerService.ProviderDescriptor
protected GlobalActionHandlerService.ProviderDescriptor(IConfigurationElement element,
java.util.Hashtable partHandlerList)
- Constructs a
IGlobalActionHandlerProvider
descriptor for
the specified configuration element.
- Parameters:
element
- The configuration element describing the provider.partHandlerList
- A Hashtable
with the provider information
provides
public boolean provides(IOperation operation)
- Description copied from class:
Service.ProviderDescriptor
- Indicates whether this provider descriptor can provide the
functionality described by the specified
operation
.
- Specified by:
provides
in interface IProvider
- Overrides:
provides
in class Service.ProviderDescriptor
- Parameters:
operation
- The operation in question.
- Returns:
true
if this descriptor's policy or provider
provides the operation; false
otherwise.
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.