code: public void update(CmsPublishItemStatus status) {
  
          if (status.isDisabled()) {
              m_selectedCheckBox.setEnabled(false);
              m_selectedCheckBox.setChecked(false);
              m_removeCheckBox.setChecked(status.getState() == State.remove);
              updateRemoval(status.getState() == State.remove);
          } else {
              switch (status.getState()) {
                  case remove:
                      m_selectedCheckBox.setChecked(false);
                      m_selectedCheckBox.setEnabled(false);
                      m_removeCheckBox.setChecked(true);
                      updateRemoval(true);
                      break;
                  case publish:
                      m_selectedCheckBox.setEnabled(true);
                      m_selectedCheckBox.setChecked(true);
                      m_removeCheckBox.setChecked(false);
                      updateRemoval(false);
                      break;
                  case normal:
                  default:
                      m_selectedCheckBox.setChecked(false);
                      m_selectedCheckBox.setEnabled(true);
                      m_removeCheckBox.setChecked(false);
                      updateRemoval(false);
                      break;
  
              }
          }
      }
docs: Updates the list item and checkboxes with the current item status from the model.<p>
  
  @param status the status which should be used to update the widgets