Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Programmatically select repository in InstallWizard
Programmatically select repository in InstallWizard [message #1424298] Mon, 15 September 2014 15:43 Go to next message
Eclipse UserFriend
I am using p2 API to install additional features in the product. One of the things I need to do is to select specific repository in Combo "Work with:" of the InstallWizard (Help -> Install New Software...). Looking at the code it looks like AvailableIUsPage does not expose RepositorySelectionGroup repoSelector so that I can select specific repository. Is there a way I can select specific repository that I am overlooking?
Re: Programmatically select repository in InstallWizard [message #1424559 is a reply to message #1424298] Tue, 16 September 2014 01:35 Go to previous message
Eclipse UserFriend
Alex,

I wonder if Oomph provides what you need... Oomph's p2 tasks provide
exactly this type of capability... In any case, when implementing Oomph
we've often run into these types of situations where something we need
access to is hidden in private methods or private fields. With a little
reflective hacking, it's always possible to get at such things. It's
not pretty, but waiting for APIs to be opened up is generally a very
long wait...

On 15/09/2014 9:43 PM, Alex Kravets wrote:
> I am using p2 API to install additional features in the product. One
> of the things I need to do is to select specific repository in Combo
> "Work with:" of the InstallWizard (Help -> Install New Software...).
> Looking at the code it looks like AvailableIUsPage does not expose
> RepositorySelectionGroup repoSelector so that I can select specific
> repository. Is there a way I can select specific repository that I am
> overlooking?
Previous Topic:Unable to launch elcipse on windows 8.1
Next Topic:PATH variables to environment variables in eclipse
Goto Forum:
  


Current Time: Fri Jul 04 15:15:23 EDT 2025

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

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

Back to the top