Project: Eclipse_Platform_UI
Bug 167191 [Markers] Add icon support for marker groupings
Reported: 2006-12-07 20:12:01 | Status: verified fixed

3.3 M3 - after a complete rebuild, I wanted to see if there were any errors - switched to the Problems view, which I had grouping by Java Problem Type - it showed several categories (all collapsed) - I couldn't tell at a glance if these represented errors or warnings -- I had to go and read the heading titles and expand a few to be comfortable that there weren't any errors - then I remembered that the counts are shown in the content description, and this showed 0 errors It would be nice if I could tell at a glance (visually, not just textually) what the severities are. Currently the icon used for category headings is a generic "tree of nodes" graphic. Could we associate a severity with a category and show the corresponding icon instead? Since JDT allows severities to be customized, we'd probably need to allow these to be specified programmatically, not just declaratively. Or perhaps the view could calculate the max severity in each category and show that.

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerCategory.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerDescriptionAndMessageField.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerSeverityAndMessageField.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/api/MarkerField.java