return t;
}
public void setPreviousPage(IWizardPage page) {
super.setPreviousPage(page);
final IWizardNewProjectNameAndLocationPage projectPage = projectPageCallback.call();
final String projectType = projectPage.getProjectType();
if (djVersionCombo.getItemCount() == 0) {
//fill it only if it's still not properly filled
djVersionCombo.removeAll();
for (String version : DJANGO_VERSIONS) {
djVersionCombo.add(version);
}
}
final String projectInterpreter = projectPage.getProjectInterpreter();
if (!projectType.equals(previousProjectType) || !projectInterpreter.equals(previousProjectInterpreter)) {
discoverDefaultVersion(projectType, projectInterpreter);
}
djVersionCombo.setText(defaultVersion);