Search in sources :

Example 1 with ConfigExternalLibWizard

use of org.talend.repository.ui.wizards.ConfigExternalLib.ConfigExternalLibWizard in project tdi-studio-se by Talend.

the class ConfigRoutineLibraryAction method doRun.

/*
     * (non-Javadoc)
     * 
     * @see org.eclipse.jface.action.Action#run()
     */
@Override
protected void doRun() {
    ConfigExternalLibWizard wizard = new ConfigExternalLibWizard();
    IWorkbench workbench = getWorkbench();
    wizard.init(workbench, (IStructuredSelection) getSelection());
    Shell activeShell = Display.getCurrent().getActiveShell();
    WizardDialog dialog = new WizardDialog(activeShell, wizard);
    dialog.open();
}
Also used : IWorkbench(org.eclipse.ui.IWorkbench) Shell(org.eclipse.swt.widgets.Shell) WizardDialog(org.eclipse.jface.wizard.WizardDialog) ConfigExternalLibWizard(org.talend.repository.ui.wizards.ConfigExternalLib.ConfigExternalLibWizard)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1 IWorkbench (org.eclipse.ui.IWorkbench)1 ConfigExternalLibWizard (org.talend.repository.ui.wizards.ConfigExternalLib.ConfigExternalLibWizard)1