protected void valueChanged(CheckBox checkBox) {
if (isWriteOperationAllowed()) {
String newValue = checkBox.getElement().getId();
if (checkBox.getValue() == true) {
addPropertyValue(getSubject().getName(), getProperty().getName(), ValueType.Instance, new EntityData(newValue),
getAddValueOperationDescription(newValue, checkBox.getText()));
}
else {
removePropertyValue(getSubject().getName(), getProperty().getName(), ValueType.Instance, new EntityData(newValue),
getRemoveValueOperationDescription(newValue, checkBox.getText()));
}
} else {
refresh();