Search in sources :

Example 1 with SpagicDeployWizard

use of org.talend.spagic.engines.client.ui.wizards.SpagicDeployWizard in project tdi-studio-se by Talend.

the class DeployOnSpagicAction method doRun.

protected void doRun() {
    SpagicDeployWizard processWizard = new SpagicDeployWizard();
    IWorkbench workbench = getWorkbench();
    processWizard.setWindowTitle(DEPLOYONSPAGIC);
    processWizard.init(workbench, (IStructuredSelection) this.getSelection());
    Shell activeShell = Display.getCurrent().getActiveShell();
    WizardDialog dialog = new WizardDialog(activeShell, processWizard);
    workbench.saveAllEditors(true);
    dialog.open();
}
Also used : IWorkbench(org.eclipse.ui.IWorkbench) Shell(org.eclipse.swt.widgets.Shell) SpagicDeployWizard(org.talend.spagic.engines.client.ui.wizards.SpagicDeployWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1 IWorkbench (org.eclipse.ui.IWorkbench)1 SpagicDeployWizard (org.talend.spagic.engines.client.ui.wizards.SpagicDeployWizard)1