/*
  * (non-Javadoc)
  *
  * @see java.util.Observer#update(java.util.Observable, java.lang.Object)
  */
 @Override
 public void update(FlexoObservable arg0, DataModification modif) {
   if (IECheckBoxWidget.ATTRIB_DEFAULTVALUE_NAME.equals(modif.propertyName())) {
     if (!isUpdatingModel) {
       _jCheckBox.setSelected(getCheckBoxModel().getValue());
     }
   } else if (modif instanceof SpanChanged) {
     revalidate();
     repaint();
   } else if (modif instanceof WidgetRemovedFromTable && arg0 == getModel()) {
     delete();
   } else {
     super.update(arg0, modif);
   }
 }
 @Override
 public void update(FlexoObservable arg0, DataModification modif) {
   if (arg0 == project && modif instanceof StyleSheetFolderChanged) {
     performLabelTransformation();
     return;
   }
   String propertyName = modif.propertyName();
   if (propertyName != null) {
     if (propertyName.equals(BINDING_VALUE_NAME) || propertyName.equals("bindingValue")) {
       updateDisplayedValue();
     } else if (propertyName.equals("isCustomButton")) {
       performLabelTransformation();
       repaint();
     }
   }
   if (modif instanceof WidgetRemovedFromTable && arg0 == getModel()) {
     delete();
   } else {
     super.update(arg0, modif);
   }
 }
 @Override
 public void delete() {
   project.deleteObserver(this);
   super.delete();
 }