Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: Retrieve feature info
Re: Retrieve feature info [message #333578] Wed, 17 December 2008 14:28 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Note: copying this discussion to the eclipse.platform newsgroup.
See my comments below.

On 12/16/2008 10:45 AM, Víctor Conesa wrote:
> Hi all,
>
> Does anybody know how to retrieve a feature info (such as "update site URL",
> "feature name", etc) by code inside an rcp application? I'm trying to get
> the "update site URL" from the feature because I have a custom update system
> buy I don´t know where to find it.

There is a class, org.eclipse.update.core.Feature, that looks promising,
but I'm not sure how to obtain instances of it for the running
application (or if that is even possible/appropriate).

Hope this helps,
Eric
Re: Retrieve feature info [message #333579 is a reply to message #333578] Wed, 17 December 2008 14:32 Go to previous message
Eclipse UserFriend
Eric Rizzo wrote:
>
> There is a class, org.eclipse.update.core.Feature, that looks promising,
> but I'm not sure how to obtain instances of it for the running
> application (or if that is even possible/appropriate).

I would try IBundleGroupProviders and check out AboutBundleGroupData for
an example and a starting point.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Previous Topic:Position of an action that is added to eclipse via popUpMenus extension point
Next Topic:Saving and restoring a TreeViewer's expanded state
Goto Forum:
  


Current Time: Thu May 01 17:05:20 EDT 2025

Powered by FUDForum. Page generated in 0.03382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top