code: public void handleValueChange(int valueIndex, String value) {
  
          changeEntityValue(value, valueIndex);
          CmsUndoRedoHandler handler = CmsUndoRedoHandler.getInstance();
          if (handler.isIntitalized()) {
              handler.addChange(m_entity.getId(), m_attributeName, valueIndex, ChangeType.value);
          }
      }
docs: Handles value changes from the view.<p>
  
  @param valueIndex the value index
  @param value the value