code: public void setNewEnabled(boolean enabled, String disabledReason) {
  
          if (enabled) {
              m_newMenuButton.enable();
          } else {
              m_newMenuButton.disable(disabledReason);
          }
      }
docs: Enables/disables the new menu button.<p>
  
  @param enabled <code>true</code> to enable the button
  @param disabledReason the reason, why the button is disabled