WizardDialog dialog = new WizardDialog(activeShell, wizard);
dialog.open();
if (!wizard.isCanceled()) {
Job job =
new MissingFileContentImporterJob("Import Missing File Content", project, wizard
.getFileExtensionRegEx(), wizard.isReImportEnabled());
job.setUser(true);
job.schedule();
}
} else if (provider instanceof SVNTeamProvider) {
SVNMissingSourceCodeWizard wizard = new SVNMissingSourceCodeWizard(project);
WizardDialog dialog = new WizardDialog(activeShell, wizard);
dialog.open();
if (!wizard.isCanceled()) {
Job job =
new MissingSVNFileContentImporterJob("Import Missing File Content", project, wizard
.getFileExtensionRegEx(), wizard.getFetchType(), wizard.getStart(), wizard.getEnd(), wizard.getSelectedReleases());
job.setUser(true);
job.schedule();
}
}
return null;
}