Search in sources :

Example 1 with PublishOnSpagoExportWizard

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

the class PublishOnSpagoAction method doRun.

protected void doRun() {
    PublishOnSpagoExportWizard publishWizard = new PublishOnSpagoExportWizard();
    IWorkbench workbench = getWorkbench();
    //$NON-NLS-1$
    publishWizard.setWindowTitle(EXPORTJOBSCRIPTS + " (SpagoBI)");
    publishWizard.init(workbench, (IStructuredSelection) this.getSelection());
    Shell activeShell = Display.getCurrent().getActiveShell();
    WizardDialog dialog = new WizardDialog(activeShell, publishWizard);
    dialog.open();
}
Also used : IWorkbench(org.eclipse.ui.IWorkbench) Shell(org.eclipse.swt.widgets.Shell) PublishOnSpagoExportWizard(org.talend.sbi.engines.client.ui.wizards.PublishOnSpagoExportWizard) 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 PublishOnSpagoExportWizard (org.talend.sbi.engines.client.ui.wizards.PublishOnSpagoExportWizard)1