org.eclipse.gmf.runtime.common.ui.services.dnd.core
Class TransferAdapterService.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.dnd.core.TransferAdapterService.ProviderDescriptor
- All Implemented Interfaces:
- java.util.EventListener, IProvider, IProviderChangeListener
- Enclosing class:
- TransferAdapterService
protected static class TransferAdapterService.ProviderDescriptor
- extends Service.ProviderDescriptor
A descriptor for ITransferAdapterProvider 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 |
TransferAdapterService.ProviderDescriptor
protected TransferAdapterService.ProviderDescriptor(IConfigurationElement element,
java.util.Hashtable anAdapterInfo)
- Constructs a
ITransferAdapterProvider descriptor for
the specified configuration element.
- Parameters:
element - The configuration element describing the provider.anAdapterInfo - 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.