public PropertyColumn withEditor(AbstractDataEditorWidget dataEditor)
{
FormModel formModel = dataEditor.getDetailForm().getFormModel();
BindingFactory bindingFactory = dataEditor.getDetailForm().getBindingFactory();
return withEditor(new ValueModelTableCellEditor(formModel, getPropertyName(),
bindingFactory.createBinding(getType(), getPropertyName()).getControl(), dataEditor.getUpdateCommand()));
}
public void setEditor(TableCellEditor editor)
{
this.editor = editor;