code: protected void setSaveEnabled(boolean enabled, String disabledMessage) {
  
          if (m_saveButton != null) {
              if (enabled) {
                  m_saveButton.enable();
              } else {
                  m_saveButton.disable(disabledMessage);
              }
          }
      }
docs: Enables or disables the save button.<p>
  
  @param enabled <code>true</code> to enable the save button
  @param disabledMessage the message to display when the button is disabled