code: protected String getTitle(boolean truncating) {
  
          if (m_titleGenerator != null) {
              return m_titleGenerator.getTitle(m_originalText);
          }
          if (truncating) {
              return getText();
          } else {
              return super.getTitle();
          }
      }
docs: Returns the title to be displayed, which is either produced by a title generator,
  or is equal to the original text if no title generator is set and the label is being
  truncated.<p>
  
  @param truncating true if the label is being truncated
  
  @return the title to display