Bug 137148 [Markers] Contributions to IMarker no longer show up on elements in the Problems View
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableView.java
}
	protected abstract void registerGlobalActions(IActionBars actionBars);
	protected abstract void fillContextMenu(IMenuManager manager);
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
	 */
	public void setFocus() {
		Viewer viewer = getViewer();
		if (viewer != null && !viewer.getControl().isDisposed()) {
			viewer.getControl().setFocus();
		}
	}
	/**
	 * Build a sorter from the default settings.
	 * 
	 * @return TableSorter
	 */
	protected ViewerSorter buildSorter() {
		IField[] sortingFields = getSortingFields();
		int[] priorities = new int[sortingFields.length];
		int[] directions = new int[sortingFields.length];
		for (int i = 0; i < sortingFields.length; i++) {
			priorities[i] = i;
		}
		Arrays.fill(directions, TableSorter.ASCENDING);
		TableSorter sorter = new TableSorter(sortingFields, priorities,
				directions);