| org.eclipse.ui.IContributorResourceAdapter
IContributorResourceAdapter | public interface IContributorResourceAdapter (Code) | | The IContributorResourceAdapter is an interface that defines
the API required to get a resource that an object adapts to
for use of object contributions, decorators and property
pages that have adaptable = true.
Implementors of this interface are typically registered with an
IAdapterFactory for lookup via the getAdapter() mechanism.
|
Method Summary | |
public IResource | getAdaptedResource(IAdaptable adaptable) Return the resource that the supplied adaptable
adapts to. |
getAdaptedResource | public IResource getAdaptedResource(IAdaptable adaptable)(Code) | | Return the resource that the supplied adaptable
adapts to. An IContributorResourceAdapter assumes
that any object passed to it adapts to one equivalent
resource.
Parameters: adaptable - the adaptable being queried a resource, or null if thereis no adapted resource for this type |
|
|