It's all about the answers!

Ask a question

adding new feed filters


enzo zuk (12693) | asked Aug 25 '09, 2:14 p.m.
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

18 answers



permanent link
enzo zuk (12693) | answered Sep 01 '09, 9:20 a.m.
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...

permanent link
Work Item & UI Commons Team (1.3k1) | answered Sep 01 '09, 11:14 a.m.
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

permanent link
enzo zuk (12693) | answered Sep 01 '09, 11:58 a.m.
rtc2.0

permanent link
Work Item & UI Commons Team (1.3k1) | answered Sep 02 '09, 4:21 a.m.
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

permanent link
rose cicinelli (2644) | answered Sep 02 '09, 7:53 a.m.
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

permanent link
Work Item & UI Commons Team (1.3k1) | answered Sep 02 '09, 9:28 a.m.
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

permanent link
rose cicinelli (2644) | answered Sep 02 '09, 10:47 a.m.
i want to save in repository the news relative at all user new feed subscription, if these be like with some condition...

permanent link
Work Item & UI Commons Team (1.3k1) | answered Sep 02 '09, 10:58 a.m.
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

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.