@Override protected UserEditor getNewEditor() { return new UserEditor(); }
return ed.getValue(); } else if (User.class.isAssignableFrom(clazz)) { UserEditor ed = new UserEditor(); ed.setAsText(val); return ed.getValue(); } else if (Date.class.isAssignableFrom(clazz)) {
wdb.registerCustomEditor(Provider.class, new ProviderEditor()); wdb.registerCustomEditor(Role.class, new RoleEditor()); wdb.registerCustomEditor(User.class, new UserEditor()); wdb.registerCustomEditor(java.lang.Integer.class, new CustomNumberEditor(java.lang.Integer.class, NumberFormat .getInstance(Context.getLocale()), true));