Search in sources :

Example 1 with DiscoveryWizard

use of org.eclipse.equinox.internal.p2.ui.discovery.wizards.DiscoveryWizard in project epp.mpc by eclipse.

the class AbstractMarketplaceWizardCommand method execute.

public Object execute(ExecutionEvent event) throws ExecutionException {
    final MarketplaceCatalog catalog = createCatalog();
    if (catalog == null) {
        // errors have already been logged, just return
        return null;
    }
    MarketplaceCatalogConfiguration configuration = createConfiguration(catalog, event);
    if (configuration == null) {
        // errors have already been logged, just return
        return null;
    }
    DiscoveryWizard wizard = createWizard(catalog, configuration, event);
    openWizardDialog(wizard, event);
    return null;
}
Also used : MarketplaceCatalogConfiguration(org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceCatalogConfiguration) MarketplaceCatalog(org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceCatalog) DiscoveryWizard(org.eclipse.equinox.internal.p2.ui.discovery.wizards.DiscoveryWizard)

Aggregations

MarketplaceCatalog (org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceCatalog)1 MarketplaceCatalogConfiguration (org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceCatalogConfiguration)1 DiscoveryWizard (org.eclipse.equinox.internal.p2.ui.discovery.wizards.DiscoveryWizard)1