title: Eclipse plugin - ColumnLabelProvider display only image
body: <p>So I am developing an Eclipse plug-in and using <code>ColumnLabelProvider</code> to provide label for the columns of my tree viewer.</p>
  
  <p>However, in one of the columns, I only intend to display an image and no text. However, in the final display, Eclipse reserves blank space for the text element even if I return a null.</p>
  
  <p>Is there any way to make it display only image and in the full space provided?</p>
  
  <p>Here is the code snippet:</p>
  
  <pre class="lang-java prettyprint-override"><code>column4.setLabelProvider(new ColumnLabelProvider() {
  
          @Override
          public String getText(Object element) {
              return null;    
          }
  
          @Override
          public Image getImage(Object element) {
              /* Code to Display an image follows */
              ..... 
  
          }
      });
  </code></pre>