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 type
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.