use of org.talend.repository.services.ui.ServiceExportWizard in project tesb-studio-se by Talend.
the class ExportServiceAction method doRun.
@Override
protected void doRun() {
try {
if (!isAllOperationsAssignedJob(serviceItem)) {
boolean isContinue = MessageDialog.openQuestion(shell, Messages.ExportServiceAction_noJobDialogTitle, Messages.ExportServiceAction_noJobDialogMsg);
if (!isContinue) {
return;
}
}
} catch (PersistenceException e) {
ExceptionHandler.process(e);
}
ServiceExportWizard processWizard = new ServiceExportWizard(serviceItem);
IWorkbench workbench = getWorkbench();
processWizard.setWindowTitle(EXPORT_SERVICE_LABEL);
WizardDialog dialog = new WizardDialog(shell, processWizard);
workbench.saveAllEditors(true);
dialog.open();
}
Aggregations