GraphicConfiguration config=GraphicConfiguration.getInstance();
//Modify here to register a custom editor
//all the types used have to be registered here
setAdaptedRenderer(String.class,new SimpleRenderer());
setAdaptedEditor(String.class,new SimpleEditor(String.class));
setAdaptedRenderer(Integer.class,new SimpleRenderer());
setAdaptedEditor(Integer.class,new SimpleEditor(Integer.class));
setAdaptedRenderer(Double.class,new SimpleRenderer());
setAdaptedEditor(Double.class,new SimpleEditor(Double.class));
setAdaptedEditor(Date.class, new DateEditor());
// setAdaptedRenderer(Date.class, new DateRendererDecorator( new SimpleRenderer(), format)); // format will be used
setAdaptedRenderer(Date.class,new DateRenderer());
setAdaptedRenderer(Boolean.class,new OfflineCapableBooleanRenderer());
//setAdaptedRenderer(Boolean.class,null);
setAdaptedEditor(Boolean.class,null);
setAdaptedRenderer(Work.class,new SimpleRenderer(compact));
setAdaptedEditor(Work.class,new SimpleEditor(Work.class));
setAdaptedRenderer(Duration.class,new SimpleRenderer());
setAdaptedEditor(Duration.class,new SimpleEditor(Duration.class));
// setDefaultEditor(Duration.class,new DefaultCellEditor(new JTextField()));
setAdaptedRenderer(Money.class,new SimpleRenderer(compact));
setAdaptedEditor(Money.class,new SimpleEditor(Money.class));
editorsRegistered=true;
}