@Override protected LocationEditor getNewEditor() { return new LocationEditor(); }
try { Integer.parseInt(string); LocationEditor ed = new LocationEditor(); ed.setAsText(string); return ed.getValue();
return null; if (Location.class.isAssignableFrom(clazz)) { LocationEditor ed = new LocationEditor(); ed.setAsText(val); return ed.getValue(); } else if (User.class.isAssignableFrom(clazz)) { UserEditor ed = new UserEditor();
wdb.registerCustomEditor(Encounter.class, new EncounterEditor()); wdb.registerCustomEditor(Form.class, new FormEditor()); wdb.registerCustomEditor(Location.class, new LocationEditor()); wdb.registerCustomEditor(LocationTag.class, new LocationTagEditor()); wdb.registerCustomEditor(LocationAttributeType.class, new LocationAttributeTypeEditor());