Bug 161906 [Markers] Default task priority sorting shouldn't be ascending
If you start the Eclipse Workbench it always sorts the tasks in the task tab in this way: Completed - Ascending Priority - Ascending Description - Ascending Resource - Ascending This is the default setting in Eclipse 3.2.1. and is (in my opinion) always active if you restart Eclipse (whatever you've set before the last exit - maybe this is another bug too). I think, it would be better if the priority is descending sorted. So tasks with a high priority are more important than tasks with a lower prio... That makes more sense...
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableView.java
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.ScrollBar;
import org.eclipse.swt.widgets.Scrollable;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.ui.preferences.ViewPreferencesAction;
import org.eclipse.ui.progress.IWorkbenchSiteProgressService;
/**
 * The TableView is a view that generically implements views with tables.
 * 
 */
public abstract class TableView extends ViewPart {
	private static final String TAG_COLUMN_WIDTH = "columnWidth"; 
	private static final String TAG_COLUMN_ORDER = "columnOrder"; 
	private static final String TAG_COLUMN_ORDER_INDEX = "columnOrderIndex";