Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 com.ibm.team.feed.ui, right?

Can someone help me please?
Thank you

0 votes



6 answers

Permanent link
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

0 votes


Permanent link
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)

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jun 03 '09, 10:30 a.m.

Question was seen: 6,515 times

Last updated: Jun 03 '09, 10:30 a.m.

Confirmation Cancel Confirm