@Override protected CohortEditor getNewEditor() { return new CohortEditor(); }
return ed.getValue(); } else if (Cohort.class.equals(clazz)) { CohortEditor ed = new CohortEditor(); ed.setAsText(string); return ed.getValue(); } else if (Date.class.equals(clazz)) {
wdb.registerCustomEditor(Cohort.class, new CohortEditor()); wdb.registerCustomEditor(Concept.class, new ConceptEditor()); wdb.registerCustomEditor(ConceptAnswer.class, new ConceptAnswerEditor());