Extending internal RTC feed reader
hi everyone,
I'm in the need of extending the RTC bundled feedreader, I would like to add new filtering options to it. I think the right place to start for extending the GUI is working on Can someone help me please? Thank you |
6 answers
davif wrote:
hi everyone, You can contribute to the com.ibm.team.jface itemViewUIAdvisor extension point to get access to the ItemViewUIConfigurer which allows you to add your own ItemViewerFilter. -- Benjamin Pasero Work Item & UI Commons Team |
You can contribute to the com.ibm.team.jface itemViewUIAdvisor extension Thank you for the precious advice, I add the extension point ItemViewUIAdvisor but then, when I create the referenced class, I can't find the ItemViewUIConfigurer. :( (I'm on RTC 1.1) |
davif wrote:
You can contribute to the com.ibm.team.jface itemViewUIAdvisor -- Benjamin Pasero Work Item & UI Commons Team |
So what I need is a class that implements IItemViewUIAdvisor,
that class gives me access to a ItemViewUIConfigurer that has a method: addFilter(ItemViewerFilter f). So now I need a ItemViewerFilter object that has a FILTER_PROPERTY attribute (probably I'll need to specify the logic of my filter here). But I can't find the right constructor for that kind of object. Any hints? Thank you davif wrote: You can contribute to the com.ibm.team.jface itemViewUIAdvisor -- Benjamin Pasero Work Item & UI Commons Team |
Thank you so much,
Now I'm able to add my filter to the UI. Then I need to set up the filter behavoir, that is done implementing the select method in a classe that extends ViewerFilter. In my filter I need to exclude some specific feeds (based on the feed URL) from the feedreader. I will appreciate any hints. thank you. So what I need is a class that implements IItemViewUIAdvisor, davif wrote: You can contribute to the com.ibm.team.jface itemViewUIAdvisor -- Benjamin Pasero Work Item & UI Commons Team |
davif wrote:
Thank you so much, Yes thats right. The element passed in to the select() method is a News containing information about its origin. When you look at the various getters you should find the desired information to implement the filter. -- Benjamin Pasero Work Item & UI Commons Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.