DESCRIPTION

Bug 193095 - MarkerView doesn't use Util.getAdapter(*) 

Change-Id: Ia22eed77b24824379af8b87671f7e605912971e1
Signed-off-by: Krista Shepherd xxx@xxx.xxx

COMMENTS

author: Krista Shepherd
date: 2014-03-28 19:30:53.000000000

Uploaded patch set 1.

-------------------------------------
author: Krista Shepherd
date: 2014-03-28 19:38:32.000000000

Patch Set 1:

Unfortunately the org.eclipse.ui.views.tasklist.ITaskListResourceAdapter is expecting an IAdaptable in its org.eclipse.ui.views.tasklist.ITaskListResourceAdapter.getAffectedResource(IAdaptable) method so that the instanceof check and the cast of the object cannot be avoided.

Furthermore the implementations of the ITaskListResourceAdapter are not using the Util.getAdapter(*) method either. Known implementations are org.eclipse.ui.views.markers.internal.DefaultMarkerResourceAdapter and org.eclipse.ui.views.tasklist.DefaultTaskListResourceAdapter
Those classes should also be modified so that they also use the Util.getAdapter() functionality.

-------------------------------------
author: Brenden Conley
date: 2014-03-29 00:49:47.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/1578/

-------------------------------------
author: Brenden Conley
date: 2014-03-29 01:04:03.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/1578/ : SUCCESS

-------------------------------------
