Bug 37344 - [package explorer] show error tick in view icon
Summary: [package explorer] show error tick in view icon
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 15:02 EDT by Erich Gamma CLA
Modified: 2006-06-12 03:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2003-05-07 15:02:39 EDT
When I have the package explorer docked as a fast view it would be really 
helpful to see an error tick in the view icon itself (i.e., when there is an 
error in the workbench). This would allow me to quickly see whether a change 
introduce an error in another file.
Comment 1 Dirk Baeumer CLA 2003-05-08 04:43:26 EDT
Nice idea. This raises the question if we should do this for more views (e.g. 
type hierarchy, projects view, ...)
Comment 2 Dirk Baeumer CLA 2003-05-08 06:57:11 EDT
Thinking about it a second time I am not sure if the package explorer icon is 
the right place to render this info. Shouldn't it be something rendered in the 
status line of the workbench window.
Comment 3 Erich Gamma CLA 2003-05-08 07:23:24 EDT
Having it in the icon will work well when it is docked as a fast view.
I'd like to see this as a general concept, e.g., when the console has new 
output its icon should change.
Comment 4 Dirk Baeumer CLA 2003-05-08 08:18:41 EDT
So the idea is to render additional information in the icon only if the view 
is a fast view, since for docked views the information is already available.
Comment 5 Erich Gamma CLA 2003-05-08 18:51:51 EDT
It is also is useful for docked views since the project with an error tick can 
be scrolled out of the view. The only case where the icon would not be helpful 
is when the view is stacked. In this case on the label is shown in the tab.

>only if the view is a fast view,
as far as I know there is no API to determine whether a view is currently a 
fast view.

Comment 6 Ilja Preuss CLA 2003-05-22 08:05:47 EDT
The error tick for the docked package explorer would not only be helpfull for 
scrolled-out-of-view projects, but also for those not shown because of the 
currently used working set. Generally, I only work on a small subset of 
projects, but don't want to break any of the others, of course.
Comment 7 Erich Gamma CLA 2006-06-12 03:59:28 EDT
Another idea would be to show the error/warning count in a trim contribution.