use of org.eclipse.ui.wizards.datatransfer.ExternalProjectImportWizard in project tdi-studio-se by Talend.
the class ImportProjectsAction method run.
public void run() {
ExternalProjectImportWizard processWizard = new TalendExternalProjectImportWizard();
// Set the "Copy projects into workspace" value default as true:
IDialogSettings dialogSettings = processWizard.getDialogSettings();
if (dialogSettings.get(STORE_COPY_PROJECT) == null) {
dialogSettings.put(STORE_COPY_PROJECT, true);
}
Shell activeShell = Display.getCurrent().getActiveShell();
WizardDialog dialog = new WizardDialog(activeShell, processWizard);
processWizard.setWindowTitle(ACTION_TITLE);
dialog.create();
dialog.open();
}
Aggregations