Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Programmatically select repository in InstallWizard
Programmatically select repository in InstallWizard [message #1424298] Mon, 15 September 2014 19:43 Go to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
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 05:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
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?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Unable to launch elcipse on windows 8.1
Next Topic:PATH variables to environment variables in eclipse
Goto Forum:
  


Current Time: Thu Apr 18 15:06:03 GMT 2024

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

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

Back to the top