You need to query the current profile. For example the following code will look 
for all the IUs that are groups (and features map to group)
IProfileRegistry.getProfile(profileId).query(QueryUtil.createIUGroupQuery())

You can also query for the id, etc.

On 2011-01-28, at 12:12 PM, Octavio Cordova Limon/Mexico/IBM wrote:

> 
> 
> 
> HI
> 
> I would like to get the version of a feature installed on eclipse from my
> code
> 
> I know that there is a way to get the bundles... however I did not find
> anything for features..
> 
> Is there a way to have this?
> 
> thanks in advance
> 
> Octavio Córdova Limón
> Staff Software Engineer
> IBM Rational Common Desktop Install
> Phone: (011-52-33) 3669-7000 Ex. 5942
> T/L: 877-5942
> [email protected]
> 
> 
> 
> _______________________________________________
> p2-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to