code: public void deactivateAll() {
  
          for (Widget button : getAll()) {
              if (button instanceof I_CmsToolbarActivatable) {
                  ((I_CmsToolbarActivatable)button).setEnabled(false);
              } else if (button instanceof CmsToggleButton) {
                  ((CmsToggleButton)button).setEnabled(false);
              }
          }
      }
docs: Deactivates all toolbar buttons.<p>