Bug 214913 - [Markers] Public API for writing marker view handlers should be made available
Summary: [Markers] Public API for writing marker view handlers should be made available
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-01-10 11:15 EST by David Cummings CLA
Modified: 2008-02-06 10:36 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cummings CLA 2008-01-10 11:15:50 EST
Build ID: I20071213-1700

There is currently no public API to help clients write command handlers for commands executed from marker views.  A public API should be provided to allow access to information such as the list of markers in the view, the currently selected markers in the view etc.  

The handlers implemented internally in Eclipse (for commands such as Add Task, Delete Completed task) use the internal abstract MarkerViewHandler as their base.  They then access the list of markers directly from the internal ExtendedMarkersView provided by the getView() method.

Perhaps the MarkerViewHandler could be made public with the addition of methods that access common properties of the ExtendedMarkersView, or the ExtendedMarkersView could also be made public, providing access to its currently internal get...() methods.

The method I'm specifically interested in is ExtendedMarkersView#getSelectedMarkers(), but other methods in ExtendedMarkersView might be of interest to other clients.
Comment 1 Tod Creasey CLA 2008-01-14 08:16:03 EST
Fixed in build >20080115
Comment 2 Tod Creasey CLA 2008-02-06 10:36:32 EST
Verified in I20080205-0010