Community
Participate
Working Groups
Usage Summary editor is not very usable right now. First of all it is using fixed height and have two scroll panels and huge table with scroller. I think the whole editor should be on a scrollable panel (similarly to the task editor, which has single scroller), so perspective and view usage sections won't have scrollers. Usage details table may use some filtering. I.e. allow to specify a pattern or prefix to filter out by key. It may also make sense to move actions from the bottom into the fancy bar at the top of the editor. Maybe instead of View File action there should be a separate editor tab that would use standard Eclipse text editor to show the changes. This way the same Usage Editor can be reused for opening arbitrary usage xmls.
(In reply to comment #0) > First of all it is using fixed height and have two scroll panels and huge table > with scroller. I think the whole editor should be on a scrollable panel > (similarly to the task editor, which has single scroller), so perspective and > view usage sections won't have scrollers. +1 > Usage details table may use some filtering. I.e. allow to specify a pattern or > prefix to filter out by key. This would be best as a separate enhancement request. > It may also make sense to move actions from the bottom into the fancy bar at the > top of the editor. -1 We tried that and consistency with the task editor seems better for now. > Maybe instead of View File action there should be a separate editor tab that > would use standard Eclipse text editor to show the changes. This way the same > Usage Editor can be reused for opening arbitrary usage xmls. We tried that but Eclipse editor blows up when viewing large files because it puts them in memory. So if the file is larger than xMB we have to force use of the System editor.
(In reply to comment #1) > > It may also make sense to move actions from the bottom into the fancy bar at the > > top of the editor. > > -1 We tried that and consistency with the task editor seems better for now. You know that I never liked those action buttons in the Task Editor either. :-) > > Maybe instead of View File action there should be a separate editor tab that > > would use standard Eclipse text editor to show the changes. This way the same > > Usage Editor can be reused for opening arbitrary usage xmls. > > We tried that but Eclipse editor blows up when viewing large files because it > puts them in memory. So if the file is larger than xMB we have to force use of > the System editor. The problem is that system editor don't work either. The .xml file isn't really well formed XML so you can't open it in MSIE, which is default for XML, neither in Notepad. The Eclipse text editor surprised me. I would expect that it won't load the whole thing...
Created attachment 66950 [details] removes the scrollbars from the View and Perspective usage sections This patch removes the scrollbars from the View and Perspective usage sections. I couldn't figure out how to remove the scrollbars from the Browser widget so I changed it to a Text widget and added a new method getPlainTextReport() to IUsageCollector. I don't think the attached context is very useful because my computer crashed twice while I was working on this bug and seemed to lose the context.
Created attachment 66951 [details] mylar/context/zip
Great stuff Meghan, it looks much better now.
Additional improvement requests should go on new bug reports. Fyi, I added a new banner icon that looks consistent with the UI Usage Report icon.