Example usage for org.eclipse.jface.wizard WizardPage setWizard

List of usage examples for org.eclipse.jface.wizard WizardPage setWizard

Introduction

In this page you can find the example usage for org.eclipse.jface.wizard WizardPage setWizard.

Prototype

@Override
    public void setWizard(IWizard newWizard) 

Source Link

Usage

From source file:org.eclipse.egit.ui.internal.clone.RepositoryLocationPage.java

License:Open Source License

private WizardPage getWizardPage(CloneSourceProvider repositoryImport) {
    WizardPage nextPage;
    nextPage = resolvedWizardPages.get(repositoryImport);
    if (nextPage == null) {
        try {//from   w w  w  . j  av  a  2  s.c om
            nextPage = repositoryImport.getRepositorySearchPage();
        } catch (CoreException e) {
            Activator.error(e.getLocalizedMessage(), e);
        }
        if (nextPage != null) {
            nextPage.setWizard(getWizard());
            resolvedWizardPages.put(repositoryImport, nextPage);
        }
    }
    return nextPage;
}

From source file:org.locationtech.udig.catalog.ui.IDataWizard.java

License:Open Source License

/**
 * Initializes a wizard page for use in the data wizard. This method should be called by pages
 * returning a new page from getNextPage().
 * // w w  w. j  a  v a2 s .co m
 * @param page The page to be initialized.
 */
public void init(WizardPage page) {
    page.setWizard(this);
}