Summary: | DiagramOutlinePage's overview performance | ||
---|---|---|---|
Product: | [Modeling] GMF-Runtime | Reporter: | John Swanke <jswanke> |
Component: | General | Assignee: | Anthony Hunter <ahunter.eclipse> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | ahunter.eclipse, danberg, mariot.chauvin, mdelder |
Version: | 2.1 | Keywords: | performance |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
John Swanke
2008-12-17 17:40:36 EST
Perhaps DiagramOutlinePage wouldn't have to change if some paint methods didn't paint when the scaling was too small: 1) If scaling falls below 75%, don't draw any children of the decorator layers (too small to see anyways) 2) if scaling is below 50%, don't draw anything in a list compartment (perhaps draw a gray rectangle instead) 3) if scaling is below 25% don't draw connections the scaling can be found from ScaledGraphics#getAbsoluteScale() This would apply to the editor and any contents in the DiagramOutlinePage. If DiagramOutlinePage is showing a large diagram, only the outlines of the main diagram views would be painted which would be a lot faster then trying to paint details the user can't see anyways. [GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug |