org.eclipse.ui.ide
Interface IContributorResourceAdapter2
-
All Superinterfaces:
-
IContributorResourceAdapter
-
public interface IContributorResourceAdapter2
- extends
IContributorResourceAdapter
An extension to the IContributorResourceAdapter that adapts
a model object to a ResourceMapping.
-
Since:
- 3.2
getAdaptedResourceMapping
ResourceMapping getAdaptedResourceMapping(
IAdaptable adaptable)
- 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
-
Returns:
- a resource mapping, or
null if there
is no adapted resource mapping for this type
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.