Community
Participate
Working Groups
Build ID: I20070621-1340 When I switch from working on one task to another, I'd like it if my bookmarks also switched. In other words, I do *not* want to see bookmarks that I set when a different task was active.
This is a straightforward feature to add, since we have an almost identical mechanism working for the Eclipse Tasks view, whose contents are IMarker's very similar to bookmarks. The community has not expressed much interest in supporting the Bookmarks view, so marking as helpwnated.
I'd like to take of it for the coming bugday. I have always been interested in seeing how the context mechanism works and this bug looks perfect to do this. Could you just say what I should start looking at?
Here is the task context that should help you to get started.
Created attachment 79728 [details] mylyn/context/zip
Jakub: as Eugene points out with the attached context, the way to do this is to replicate what we have already done for the Tasks view (added support for filtering markers and the corresponding action) since the Bookmarks view is just a markers view that shows the Bookmark type of marker.
(In reply to comment #5) > Jakub: as Eugene points out with the attached context, the way to do this is to > replicate what we have already done for the Tasks view (added support for > filtering markers and the corresponding action) since the Bookmarks view is > just a markers view that shows the Bookmark type of marker. > Thanks for the tips. I will have a look at this when I have some more time (hopefully this week).
Created attachment 80871 [details] Patch attachement Please take a look at the patch.
Is it possible to create super class for classes like FocusTaskMarkersViewAction, FocusProblemsListAction (and probably the class from the patch I attacheched)? There is some code repetition, which could be easily avoid.
FWIW, I've tested this manually and it look really nice. It would be a great BugDay contribution (this Friday).
This was my intention to make it as the bugday contribution.
Patch applied and verified. Very nice Jakub, dziekujemy!
Done. Note that bug 205548 is related.