java.lang.Object
org.eclipse.ui.internal.ide.DefaultContributorResourceAdapter
- All Implemented Interfaces:
- org.eclipse.ui.IContributorResourceAdapter
- public class DefaultContributorResourceAdapter
- extends java.lang.Object
- implements org.eclipse.ui.IContributorResourceAdapter
The DefaultContributorResourceAdapter is the default
implementation of the IContributorResourceAdapter used for
one to one resource adaption.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
private static org.eclipse.ui.IContributorResourceAdapter singleton
DefaultContributorResourceAdapter
public DefaultContributorResourceAdapter()
- Constructor for DefaultContributorResourceAdapter.
getDefault
public static org.eclipse.ui.IContributorResourceAdapter getDefault()
- Return the default instance used for TaskList adapting.
getAdaptedResource
public org.eclipse.core.resources.IResource getAdaptedResource(org.eclipse.core.runtime.IAdaptable adaptable)
- Description copied from interface:
org.eclipse.ui.IContributorResourceAdapter
- Return the resource that the supplied adaptable
adapts to. An IContributorResourceAdapter assumes
that any object passed to it adapts to one equivalent
resource.
- Specified by:
getAdaptedResource in interface org.eclipse.ui.IContributorResourceAdapter