use of org.talend.sqlbuilder.ui.OpenSQLBuilderDialogJob in project tdi-studio-se by Talend.
the class SQLBuilderService method openSQLBuilderDialog.
public void openSQLBuilderDialog(ConnectionParameters connParameters, Composite composite, IElement elem, String propertyName, CommandStack commandStack, Object abstractElementPropertySectionController, Object abstractMultiPageTalendEditor) {
OpenSQLBuilderDialogJob openDialogJob = new OpenSQLBuilderDialogJob(connParameters, composite, elem, propertyName, commandStack, (AbstractElementPropertySectionController) abstractElementPropertySectionController);
IWorkbenchSiteProgressService siteps = (IWorkbenchSiteProgressService) ((AbstractMultiPageTalendEditor) abstractMultiPageTalendEditor).getSite().getAdapter(IWorkbenchSiteProgressService.class);
siteps.showInDialog(composite.getShell(), openDialogJob);
openDialogJob.schedule();
}
Aggregations