use of org.eclipse.jdt.internal.ui.viewsupport.ProjectTemplateStore in project mdw-designer by CenturyLinkCloud.
the class WorkspaceConfigurator method updateTemplate.
private void updateTemplate(TemplatePersistenceData data) {
ProjectTemplateStore templateStore = new ProjectTemplateStore(null);
TemplatePersistenceData[] dataElements = templateStore.getTemplateData();
for (int i = 0; i < dataElements.length; i++) {
String id = dataElements[i].getId();
if (id != null && id.equals(data.getId())) {
dataElements[i].setTemplate(data.getTemplate());
break;
}
}
}
Aggregations