code: protected void toggleTable() {
  
          CmsVaadinUtils.toggleButton(m_revertButton);
          openSubView(
              new CmsStateBean(m_stateBean.getResources(), CmsVaadinUtils.isButtonPressed(m_revertButton)).getState(),
              true);
      }
docs: Toggle table.<p>