I'm using the Eclipse Marketplace client in my RCP application. I'm also running a marketplace server to provide my users with the ability to select from multiple installable units that my company is providing.
When the user browses the Eclipse Marketplace in my RCP application, he/she sees many other marketplace servers in addition to my custom one such as the Eclipse Marketplace, Yoxos Marketplace, Obeo Marketplace, and a Testing Solutions Marketplace by BREDEX GmbH.
Is there a way for me to prevent the Eclipse Marketplace client from showing these other marketplace servers?
By default, Eclipse Market place command is handled by
MarketplaceWizardCommand
handler . This handler loads remote catalogs by invoking this API http://marketplace.eclipse.org/catalogs/api/p if you do not specify any of your catalogs.I can think of following solution.
MarketplaceClient.openMarketplaceWizard(List<CatalogDescriptor> catalogDescriptors)
You can overwrite the default URL for retreiving the available catalogs by the adding a vm argument:
see also http://wiki.eclipse.org/Marketplace/REST