Extending internal RTC feed reader
6 answers
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.
--
Benjamin Pasero
Work Item & UI Commons Team
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
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)
davif wrote:
--
Benjamin Pasero
Work Item & UI Commons Team
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
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
--
Benjamin Pasero
Work Item & UI Commons Team
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
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.
--
Benjamin Pasero
Work Item & UI Commons Team
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
davif wrote:
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
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