Search in sources :

Example 1 with GenericWizardDialog

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();
}
Also used : IWizard(org.eclipse.jface.wizard.IWizard) GenericWizardDialog(org.talend.repository.generic.ui.common.GenericWizardDialog) GenericWizardInternalService(org.talend.repository.generic.internal.service.GenericWizardInternalService) GenericWizardDialog(org.talend.repository.generic.ui.common.GenericWizardDialog) WizardDialog(org.eclipse.jface.wizard.WizardDialog) GenericConnWizard(org.talend.repository.generic.ui.GenericConnWizard)

Aggregations

IWizard (org.eclipse.jface.wizard.IWizard)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 GenericWizardInternalService (org.talend.repository.generic.internal.service.GenericWizardInternalService)1 GenericConnWizard (org.talend.repository.generic.ui.GenericConnWizard)1 GenericWizardDialog (org.talend.repository.generic.ui.common.GenericWizardDialog)1