Package org.eclipse.ui.ide
Interface IContributorResourceAdapter2
- All Superinterfaces:
IContributorResourceAdapter
An extension to the
IContributorResourceAdapter that adapts
a model object to a ResourceMapping.- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptiongetAdaptedResourceMapping(IAdaptable adaptable) Return the resource mapping that the supplied adaptable adapts to.Methods inherited from interface org.eclipse.ui.IContributorResourceAdapter
getAdaptedResource
-
Method Details
-
getAdaptedResourceMapping
Return the resource mapping that the supplied adaptable adapts to. AnIContributorResourceAdapter2assumes that any object passed to it adapts to one equivalent resource mapping.- Parameters:
adaptable- the adaptable being queried- Returns:
- a resource mapping, or
nullif there is no adapted resource mapping for this type
-