use of org.talend.repository.generic.ui.common.GenericWizardDialog in project tdi-studio-se by Talend.
the class CreateGenericConnectionAction method doRun.
@Override
protected void doRun() {
IWizard wizard = new GenericConnWizard(PlatformUI.getWorkbench(), creation, repositoryNode, getExistingNames());
WizardDialog wizardDialog = new GenericWizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard, new GenericWizardInternalService().getComponentService());
if (Platform.getOS().equals(Platform.OS_LINUX)) {
wizardDialog.setPageSize(getWizardWidth(), getWizardHeight() + 80);
}
wizardDialog.create();
wizardDialog.open();
}
Aggregations