Bug 275910 [Widgets] PaintListener on Tree not invoked when item count is 0
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/ExtendedMarkersView.java
viewer = new MarkersTreeViewer(new Tree(parent, SWT.H_SCROLL
				| SWT.V_SCROLL | SWT.MULTI | SWT.FULL_SELECTION));
		viewer.getTree().setLinesVisible(true);
		viewer.setUseHashlookup(true);
		createColumns(new TreeColumn[0], new int[0]);
		viewer.setContentProvider(getContentProvider());
		/*
		 * Workaround for TeeColumn.getWidth() returning 0 in some cases, see
		 * https:bugs.eclipse.org/341865 for details.
		 */
		if (!Util.isGtk()) { 
			viewer.getTree().addPaintListener(new PaintListener() {
				public void paintControl(PaintEvent e) {
					treePainted= true;
					viewer.getTree().removePaintListener(this);
				}
			});
		}
	}
	/**
	 * Create the columns for the receiver.
	 * 
	 * @param currentColumns
	 *            the columns to refresh
	 * @param widths 
	 */
	private void createColumns(TreeColumn[] currentColumns, int[] widths) {
		Tree tree = viewer.getTree();
		TableLayout layout = new TableLayout();
		MarkerField[] fields = generator.getVisibleFields();