public interface IContributorResourceAdapter2 extends IContributorResourceAdapter
IContributorResourceAdapter
that adapts
a model object to a ResourceMapping
.Modifier and Type | Method and Description |
---|---|
ResourceMapping |
getAdaptedResourceMapping(IAdaptable adaptable)
Return the resource mapping that the supplied adaptable
adapts to.
|
getAdaptedResource
ResourceMapping getAdaptedResourceMapping(IAdaptable adaptable)
IContributorResourceAdapter2
assumes
that any object passed to it adapts to one equivalent
resource mapping.adaptable
- the adaptable being queriednull
if there
is no adapted resource mapping for this typeGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.