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

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


public class FeedFilterExtension implements IItemViewUIAdvisor {

ItemViewerFilter facebookFilter;
FeedFilter ff;

public void configure(ItemViewUIConfigurer arg0) {

facebookFilter=new ItemViewerFilter(ff, "fb", "Facebook",1);
facebookFilter.setEnabledByDefault(true);
arg0.addFilter(facebookFilter);

}

}



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...

public class FeedFilter extends ViewerFilter {
@Override
public boolean select(Viewer viewer, Object parentElement,
Object element) {
return true;
}
}


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

0 votes



18 answers

Permanent link
http://friendfeed-media.com/87b5895f042ffb3b48302a84c250d657287fb154

the problem is about the red rectangular area... only the first six items are visibles, from the others there is no space...

0 votes


Permanent link
zuk wrote:
http://friendfeed-media.com/87b5895f042ffb3b48302a84c250d657287fb154

the problem is about the red rectangular area... only the first three
items are visibles, from the others there is no space...


Is that with RTC 1.0 or 2.0?

--
Benjamin Pasero
Work Item & UI Commons Team

0 votes


Permanent link
rtc2.0

0 votes


Permanent link
Benjamin Pasero wrote:
zuk wrote:
http://friendfeed-media.com/87b5895f042ffb3b48302a84c250d657287fb154

the problem is about the red rectangular area... only the first three
items are visibles, from the others there is no space...


Is that with RTC 1.0 or 2.0?


Strange. Please send me the plugin that adds these filters so that I can
try to reproduce.

--
Benjamin Pasero
Work Item & UI Commons Team

0 votes


Permanent link
If you just want to contribute a client side view you dont need
dependencies to common or service.


how do i save this newsitem on repository?
any examples?

rose

0 votes


Permanent link
rose wrote:
If you just want to contribute a client side view you dont need
dependencies to common or service.

how do i save this newsitem on repository?
any examples?

rose


Please explain in more detail what you want to save in the repository.

--
Benjamin Pasero
Work Item & UI Commons Team

0 votes


Permanent link
i want to save in repository the news relative at all user new feed subscription, if these be like with some condition...

0 votes


Permanent link
rose wrote:
i want to save in repository the news relative at all user new feed
subscription, if these be like with some condition...


There is ideas to support feeds on the server as well (including WebUI)
but nothing has been coded in this area, so you would have to start from
0 I guess.

--
Benjamin Pasero
Work Item & UI Commons Team

0 votes

1–15 items
page 2of 1 pagesof 2 pages

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
× 11,108

Question asked: Aug 25 '09, 2:14 p.m.

Question was seen: 20,336 times

Last updated: Aug 25 '09, 2:14 p.m.

Confirmation Cancel Confirm