Search in sources :

Example 1 with ErrorWizardPage

use of org.eclipse.wst.server.discovery.internal.wizard.ErrorWizardPage in project webtools.servertools by eclipse.

the class ExtensionWizard method addPages.

public void addPages() {
    super.addPages();
    ProvisioningUI ui = ProvisioningUI.getDefaultUI();
    licensePage = new AcceptLicensesWizardPage(ui.getLicenseManager(), new IInstallableUnit[0], null);
    licensePage.setWizard(this);
    errorPage = new ErrorWizardPage();
    errorPage.setWizard(this);
    extensionPage = new ExtensionWizardPage(licensePage, errorPage);
    extensionPage.setWizard(this);
}
Also used : ExtensionWizardPage(org.eclipse.wst.server.discovery.internal.wizard.ExtensionWizardPage) ErrorWizardPage(org.eclipse.wst.server.discovery.internal.wizard.ErrorWizardPage) AcceptLicensesWizardPage(org.eclipse.equinox.p2.ui.AcceptLicensesWizardPage) ProvisioningUI(org.eclipse.equinox.p2.ui.ProvisioningUI) IInstallableUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit)

Aggregations

IInstallableUnit (org.eclipse.equinox.p2.metadata.IInstallableUnit)1 AcceptLicensesWizardPage (org.eclipse.equinox.p2.ui.AcceptLicensesWizardPage)1 ProvisioningUI (org.eclipse.equinox.p2.ui.ProvisioningUI)1 ErrorWizardPage (org.eclipse.wst.server.discovery.internal.wizard.ErrorWizardPage)1 ExtensionWizardPage (org.eclipse.wst.server.discovery.internal.wizard.ExtensionWizardPage)1