message)));
}
try {
monitor.beginTask("Download template " + template.getName(), 100);
ITemplateProjectData data;
if (template.getItem().isRuntimeDefined()) {
data = new RuntimeTemplateProjectData(template.getItem().getRuntimeProject());
}
else {
data = TemplateUtils.importTemplate(template, shell, new SubProgressMonitor(monitor, 1));