txtName = factory.createText(subform, "Name:", "name");
txtName.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
factory.createCheckBox(subform, "Auto creation:", "Enabled", "autoCreate");
WGAreaDefinitionModel areaDefintionModel = new WGAreaDefinitionModel();
areaDefintionModel.addListener(new BeanChangedListener<WGAreaDefinition>() {
public void changed(WGAreaDefinition bean) {
_treeViewer.refresh(bean, true);
_model.fireModelChanged();
}
});