Summary: | Hierarchy always expands all | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nick Edgar <n.a.edgar> |
Component: | UI | Assignee: | Martin Aeschlimann <martinae> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | CC: | erich_gamma |
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Nick Edgar
2002-01-07 12:09:42 EST
When opening a type in the type hierarchy it supertypes and its children should be expanded only. This will result in some speed-up since less items are created, but internally the full type hierarchy is computed at once. The flash is due to selecting and revealing a class once the hierarchy is opened. We should investigate whether bracketing the refresh setRedraw (true/false) would help. A good test case is to open the hierarchy on Object, relax and watch the type hierarchy work and scroll for almost a minute... implemented the following strategy > 20109 supertypes-view: expand all suptypes-view: expandToLevel(2) in normal mode, level(3) in filter mode hierarchy-view: when focus on type: height of hierarchy from Object to focus type + 2 in filter mode: heigth + 3 when focus on package / root or project: 2 in filter mode: 3 |