Bug 5677 Hierarchy outline has empty space
I opened a hierarchy view on IActionDelegate. Selected a few of the subinterfaces, changed the expansion state of the tree. Then, no matter which item I selected in the top window (the hierarchy tree), the bottom window (the outline table) always had exactly four empty rows before the first item was listed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
postSetSelection(fSelectionWhenEnabled);
			}
			fTableColumn.getDisplay().asyncExec(new Runnable() {
				public void run() {
					if (fTableColumn != null && !fTableColumn.isDisposed()) {
						fTableColumn.pack();
					}
				}
			});
		}
		return fTableControl;
	}
	/**
	 * Returns the internally used table viewer.
	 */ 		
	public TableViewer getTableViewer() {
		return fTable;
	}
	
	/* 
	 * Subclasses may override to specify a different style.
	 */
	protected int getListStyle(){
		return SWT.BORDER + SWT.MULTI + SWT.H_SCROLL + SWT.V_SCROLL;
	}
	
	protected TableViewer createTableViewer(Composite parent) {
		Table table= new Table(parent, getListStyle());
		return new TableViewer(table);
	}