Package org.eclipse.ui.views.tasklist
Interface ITaskListResourceAdapter
-
public interface ITaskListResourceAdapterITaskListResourceAdapteris an adapter interface that supplies the resource to query for markers to display in the task list.The Tasks view checks for this adapter before the
IResourceadapter, allowing the object to provide a resource to the Tasks view without necessarily exposing it to other components that look for anIResourceadapter.Implementors of this interface are typically registered with an IAdapterFactory for lookup via the getAdapter() mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResourcegetAffectedResource(IAdaptable adaptable)Returns the resource to query for the markers to display for the given adaptable.
-
-
-
Method Detail
-
getAffectedResource
IResource getAffectedResource(IAdaptable adaptable)
Returns the resource to query for the markers to display for the given adaptable.- Parameters:
adaptable- the adaptable being queried.- Returns:
- the resource or
nullif there is no adapted resource for this object.
-
-