public class RectangleEditor extends RectangleWrapper implements ICellEditorFactory {
private static final long serialVersionUID = -4403435758517308113L;
public CellEditor createPropertyEditor(Object bean, Composite parent) {
CellEditor editor = new TextCellEditor(parent);
editor.setValidator(new RectangleCellEditorValidator());
return editor;
}