org.eclipse.ui.views.tasklist
Interface ITaskListResourceAdapter
-
public interface ITaskListResourceAdapter
ITaskListResourceAdapter
is 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 IResource
adapter, allowing the object to provide a resource to the Tasks view without
necessarily exposing it to other components that look for an IResource
adapter.
Implementors of this interface are typically registered with an
IAdapterFactory for lookup via the getAdapter() mechanism.
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
null
if there
is no adapted resource for this object.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.