Project: Eclipse_Platform_UI
Bug 124124 [Markers] Group sorting needs criterea other than lexical value
Reported: 2006-01-17 09:24:44 | Status: verified fixed

20060117 Lexicial sorting is not good enough for the severity group as we need to sort errors before warnings and the translation of the word error may not appear lexically before warnings. The sorting of groups needs to be the same as the sort order of thier elements. This turns out to be an issue for groups contributed via attributes as well. My suggestion is that allow the group to sort either by attribute value or by name (the default) so that sort order can be supplied by the group contributor. I am including the JDT team as they may want to use this support to determine sort ordering within thier groups.

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/CategorySorter.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ConcreteMarker.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldCategory.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldMarkerGroup.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerNode.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java