Package com.baulsupp.kolja.log.viewer.columns

Examples of com.baulsupp.kolja.log.viewer.columns.ColumnWidthsPropertyEditor


*/
public class KoljaPropertyEditorRegistrar implements PropertyEditorRegistrar {
  public void registerCustomEditors(PropertyEditorRegistry registry) {
    registry.registerCustomEditor(Pattern.class, new PatternPropertyEditor());
    registry.registerCustomEditor(DateFormat.class, new DateFormatPropertyEditor());
    registry.registerCustomEditor(ColumnWidths.class, new ColumnWidthsPropertyEditor());
    registry.registerCustomEditor(LocalDate.class, new LocalDatePropertyEditor());
    registry.registerCustomEditor(LocalTime.class, new LocalTimePropertyEditor());
    registry.registerCustomEditor(String[].class, new StringArrayPropertyEditor(","));
  }
View Full Code Here


    Map<Class, PropertyEditor> map = new HashMap<Class, PropertyEditor>();
    map.put(ColourPair.class, new ColourPairPropertyEditor());
    map.put(Color.class, new ColourPropertyEditor());
    map.put(Pattern.class, new PatternPropertyEditor());
    map.put(DateFormat.class, new DateFormatPropertyEditor());
    map.put(ColumnWidths.class, new ColumnWidthsPropertyEditor());

    CustomEditorConfigurer configurer = new CustomEditorConfigurer();
    configurer.setCustomEditors(map)
    configurer.postProcessBeanFactory(beanFactory);
    return beanFactory;
View Full Code Here

TOP

Related Classes of com.baulsupp.kolja.log.viewer.columns.ColumnWidthsPropertyEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.