use of org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceWizard.WizardState in project epp.mpc by eclipse.
the class MarketplaceClientService method openSelected.
public void openSelected(IMarketplaceClientConfiguration configuration) {
checkInitialState(configuration);
MarketplaceWizardCommand command = new MarketplaceWizardCommand();
command.setConfiguration(configuration);
WizardState wizardState = new WizardState();
wizardState.setContentType(ContentType.SELECTION);
wizardState.setProceedWithInstallation(false);
command.setWizardDialogState(wizardState);
execute(command);
}
use of org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceWizard.WizardState in project epp.mpc by eclipse.
the class MarketplaceClientService method openSearch.
public void openSearch(IMarketplaceClientConfiguration configuration, IMarket market, ICategory category, String query) {
MarketplaceWizardCommand command = new MarketplaceWizardCommand();
command.setConfiguration(configuration);
WizardState wizardState = new WizardState();
wizardState.setContentType(ContentType.SEARCH);
wizardState.setFilterMarket(market);
wizardState.setFilterCategory(category);
wizardState.setFilterQuery(query);
wizardState.setProceedWithInstallation(false);
command.setWizardDialogState(wizardState);
execute(command);
}
use of org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceWizard.WizardState in project epp.mpc by eclipse.
the class MarketplaceClientService method openFavorites.
public void openFavorites(IMarketplaceClientConfiguration configuration) {
MarketplaceWizardCommand command = new MarketplaceWizardCommand();
command.setConfiguration(configuration);
WizardState wizardState = new WizardState();
wizardState.setContentType(ContentType.FAVORITES);
wizardState.setProceedWithInstallation(false);
command.setWizardDialogState(wizardState);
execute(command);
}
use of org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceWizard.WizardState in project epp.mpc by eclipse.
the class MarketplaceClientService method open.
public void open(IMarketplaceClientConfiguration configuration, Set<INode> nodes) {
MarketplaceWizardCommand command = new MarketplaceWizardCommand();
command.setConfiguration(configuration);
WizardState wizardState = new WizardState();
setInitialContentType(configuration, wizardState);
wizardState.setContent(nodes);
wizardState.setProceedWithInstallation(false);
command.setWizardDialogState(wizardState);
execute(command);
}
Aggregations