create new (feed) channel subscription programmatically
hi,
how can i create a new feed channel subscription programmatically?
i try with simple addTempChannel method
and not work...
with the addChannel method instead i have problem during the creation of Channel instance (Channel channel=new Channel() is wrong)...
how can i initializate channel, for add then to feedManager?
thanks
enzo
how can i create a new feed channel subscription programmatically?
i try with simple addTempChannel method
FeedManager feedManager=FeedManager.getDefault();
URL url = new URL("http:...");
feedManager.addTempChannel(url, title);
and not work...
with the addChannel method instead i have problem during the creation of Channel instance (Channel channel=new Channel() is wrong)...
how can i initializate channel, for add then to feedManager?
thanks
enzo
3 answers
zuk wrote:
Channel channel= FeedFactory.eINSTANCE.createChannel();
channel.setUrl(urlStr);
FeedManager.getDefault().addChannel(channel);
--
Benjamin Pasero
Work Item & UI Commons Team
hi,
how can i create a new feed channel subscription programmatically?
i try with simple addTempChannel method
FeedManager feedManager=FeedManager.getDefault();
URL url = new URL("http:...");
feedManager.addTempChannel(url, title);
and not work...
with the addChannel method instead i have problem during the creation
of Channel instance (Channel channel=new Channel() is wrong)...
how can i initializate channel, for add then to feedManager?
thanks
enzo
Channel channel= FeedFactory.eINSTANCE.createChannel();
channel.setUrl(urlStr);
FeedManager.getDefault().addChannel(channel);
--
Benjamin Pasero
Work Item & UI Commons Team
zuk wrote:
I am happy to help on Jazz related stuff, but please understand that I
wont explain Eclipse to you :). I suggest you take a look at these links
/ books:
http://wiki.eclipse.org/index.php/The_Official_Eclipse_FAQs
http://www.eclipse.org/swt/
http://www.amazon.com/Eclipse-Rich-Client-Platform-ebook/dp/B00142N2ZI/ref=sr_1_3?ie=UTF8&s=books&qid=1253605875&sr=8-3
Also, the Eclipse UI mailinglist is good for questions like that one:
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev
Ben
--
Benjamin Pasero
Work Item & UI Commons Team
great...
now i would add a object contribution popup menu action to Feed folder
menu, between new subscription... and refresh actions.
how is the objectClass name related to this object contribution?
thanks
enzo
I am happy to help on Jazz related stuff, but please understand that I
wont explain Eclipse to you :). I suggest you take a look at these links
/ books:
http://wiki.eclipse.org/index.php/The_Official_Eclipse_FAQs
http://www.eclipse.org/swt/
http://www.amazon.com/Eclipse-Rich-Client-Platform-ebook/dp/B00142N2ZI/ref=sr_1_3?ie=UTF8&s=books&qid=1253605875&sr=8-3
Also, the Eclipse UI mailinglist is good for questions like that one:
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev
Ben
--
Benjamin Pasero
Work Item & UI Commons Team