swingx-master/swingx-beaninfo/src/main/java/org/jdesktop/swingx/painter/ShapePainterBeanInfo.java
package org.jdesktop.swingx.painter;

import org.jdesktop.beans.BeanInfoSupport;
import org.jdesktop.beans.editors.ShapePropertyEditor;

/**
 * BeanInfo of ShapePainter.
 *
 * @author joshy, Jan Stola
 */
public class ShapePainterBeanInfo extends BeanInfoSupport {
    
    /** Creates a new instance of ShapePainterBeanInfo */
    public ShapePainterBeanInfo() {
        super(ShapePainter.class);
    }
    
    @Override
    protected void initialize() {
        setPropertyEditor(ShapePropertyEditor.class, "shape");
        setPreferred(true, "shape");
    }

}
