It's all about the answers!

Ask a question

Extending internal RTC feed reader


Davide Fucci (1651) | asked Jun 03 '09, 10:30 a.m.
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 com.ibm.team.feed.ui, right?

Can someone help me please?
Thank you

6 answers



permanent link
Work Item & UI Commons Team (1.3k1) | answered Jun 08 '09, 6:04 a.m.
davif wrote:
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
com.ibm.team.feed.ui, right?

Can someone help me please?
Thank you


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

permanent link
Davide Fucci (1651) | answered Jun 12 '09, 12:38 p.m.
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.



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)

permanent link
Work Item & UI Commons Team (1.3k1) | answered Jun 12 '09, 3:30 p.m.
davif wrote:
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.


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)

Make sure that com.ibm.team.jface is in your dependencies of your plugin.


--
Benjamin Pasero
Work Item & UI Commons Team

permanent link
Davide Fucci (1651) | answered Jul 11 '09, 3:07 p.m.
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
extension
point to get access to the ItemViewUIConfigurer which allows you to
add
your own ItemViewerFilter.


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)

Make sure that com.ibm.team.jface is in your dependencies of your plugin.


--
Benjamin Pasero
Work Item & UI Commons Team

permanent link
Davide Fucci (1651) | answered Jul 20 '09, 12:00 p.m.
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,
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
extension
point to get access to the ItemViewUIConfigurer which allows you to
add
your own ItemViewerFilter.


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)

Make sure that com.ibm.team.jface is in your dependencies of your plugin.


--
Benjamin Pasero
Work Item & UI Commons Team

permanent link
Work Item & UI Commons Team (1.3k1) | answered Jul 20 '09, 12:57 p.m.
davif wrote:
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.


davifwrote:
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

bpaserowrote:
davif wrote:
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.


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)

Make sure that com.ibm.team.jface is in your dependencies of your
plugin.


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


Register or to post 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.