Search in sources :

Example 1 with SpecfileNewWizardPage

use of org.eclipse.linuxtools.rpm.ui.editor.wizards.SpecfileNewWizardPage in project linuxtools by eclipse.

the class SpecfileNewWizard method addPages.

/**
 * Adding the page to the wizard.
 */
@Override
public void addPages() {
    if (!Files.exists(Paths.get("/usr/bin/rpmdev-newspec"))) {
        // $NON-NLS-1$
        addPage(new NoExecutableWizardPage());
    } else {
        page = new SpecfileNewWizardPage(selection);
        addPage(page);
    }
}
Also used : SpecfileNewWizardPage(org.eclipse.linuxtools.rpm.ui.editor.wizards.SpecfileNewWizardPage)

Aggregations

SpecfileNewWizardPage (org.eclipse.linuxtools.rpm.ui.editor.wizards.SpecfileNewWizardPage)1