An extension to the IContributorResourceAdapter that adapts
a model object to a ResourceMapping.
since: 3.2
Method Summary
public ResourceMapping
getAdaptedResourceMapping(IAdaptable adaptable) Return the resource mapping that the supplied adaptable
adapts to.
Method Detail
getAdaptedResourceMapping
public ResourceMapping getAdaptedResourceMapping(IAdaptable adaptable)(Code)
Return the resource mapping that the supplied adaptable
adapts to. An IContributorResourceAdapter2 assumes
that any object passed to it adapts to one equivalent
resource mapping.
Parameters: adaptable - the adaptable being queried a resource mapping, or null if thereis no adapted resource mapping for this type