Eclipse Platform
Release 3.0

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.


Method Summary
 IResource getAffectedResource(IAdaptable adaptable)
          Returns the resource to query for the markers to display for the given adaptable.
 

Method Detail

getAffectedResource

public 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.

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.