Search in sources :

Example 1 with JobCamelScriptsExportWizard

use of org.talend.camel.designer.ui.wizards.JobCamelScriptsExportWizard in project tesb-studio-se by Talend.

the class ExporCameltJobScriptAction method doRun.

protected void doRun() {
    JobCamelScriptsExportWizard processWizard = new JobCamelScriptsExportWizard();
    IWorkbench workbench = getWorkbench();
    processWizard.setWindowTitle(EXPORTJOBSCRIPTS);
    processWizard.init(workbench, (IStructuredSelection) this.getSelection());
    WizardDialog dialog = new WizardDialog(shell, processWizard);
    workbench.saveAllEditors(true);
    dialog.setPageSize(830, 450);
    dialog.open();
}
Also used : IWorkbench(org.eclipse.ui.IWorkbench) JobCamelScriptsExportWizard(org.talend.camel.designer.ui.wizards.JobCamelScriptsExportWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 IWorkbench (org.eclipse.ui.IWorkbench)1 JobCamelScriptsExportWizard (org.talend.camel.designer.ui.wizards.JobCamelScriptsExportWizard)1