adding new feed filters
hi,
i have added the extension point ItemViewUIAdvisor to create my ItemViewerFilter and to add this to client's user interface. now i'm confused about filter behaviour (i'm only interested to new feed subscription created by user):
in my filter I need to exclude some specific feeds from the feedreader and that is done implementing the select method in a classe that extends ViewerFilter...
how can i get all feeds to feedreader and use these in select method, utilizing a casting with the element argument? I will appreciate any hints, snippet or example and thank you in advance |
18 answers
This filter mechanism only allows you to filter out news and not feeds.
But you can always get to the related feed from the news calling NewsItem.getChannel(). Then you could look at the name or link of that feed and decide based on that. hi, -- Benjamin Pasero Work Item & UI Commons Team |
so i work on News and i put this class in select method for the cast with element...
what are the impors and dependences to set for working with News in my rcp.ui plugin? where can i watch for something like this? |
zuk wrote:
so i work on News and i put this class in select method for the cast Yes, you work on com.ibm.team.feed.core.model.NewsItem which lives in the bundle com.ibm.team.feed.core. You can find examples of this e.g. in FeedItemViewUIAdvisor. -- Benjamin Pasero Work Item & UI Commons Team |
thanks for the hint, but i have another question:
i have observed that the new feed subscription are independent from jazz server repository, differently to workitem feeds... exists one way to fetch this NewsItem directly from client feedreader, without passing from repository? |
You can find examples of this e.g. in FeedItemViewUIAdvisor. where can be found this examlpe? is this in a wiki-page? i'm a novice developer interested in feeds fetching & filtering. in my rtc client i have created an additional view, that in my intentions should contain only the news of user subscription excluding the other artifact news... can i do this in a ui plugin, without involving service, common and client plugin? thank in advance |
zuk wrote:
thanks for the hint, but i have another question: Yes, the eclipse client is capable to download both repository feeds and normal feeds. it will not call the repository if the feed is from external. From your filter it should not make any difference if the feed is from the repository or external. -- Benjamin Pasero Work Item & UI Commons Team |
rose wrote:
You can find examples of this e.g. in FeedItemViewUIAdvisor. The FeedItemViewUIAdvisor is a filter we use in RTC, you can find it inside the com.ibm.team.feed.ui bundle. If you just want to contribute a client side view you dont need dependencies to common or service. -- Benjamin Pasero Work Item & UI Commons Team |
Yes, the eclipse client is capable to download both repository feeds and thanks a lot for your punctual answer! enzo |
now i have added and implemented my new filters, but if i try to add more than three, only the first, second and third are visibles because the space assigned to checkbox item filters not enough...
how can i modify this portion of user interface, maybe whit a show all-hide details button? any example? thanks in advance enzo |
zuk wrote:
now i have added and implemented my new filters, but if i try to add You should see up to 5 before getting the expand/hide link. Can you send me a screenshot of the problem? -- 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.