| Summary: | [type hierarchy] Type hierarchy on package and type should gray out some types | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | UI | Assignee: | Raksha Vasisht <raksha.vasisht> | ||||
| Status: | RESOLVED INVALID | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P2 | CC: | daniel_megert, deepakazad | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 325336 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
This should be fixed for M2 since this is a N&N item. Created attachment 178925 [details]
patch
The problem was in isInDifferentHierarchyScope(..) which completely has different meaning now with support for multi-selection. Now only the types which belong to the hierarchies of all input elements should be colored, rest should be grayed. Earlier fix colored types which were either input or was contained in one of the java elements which was not fully correct. Markus, could you pls review?
Works for now with patch for bug 325336 comment #14. Will revisit if Open Type Hierarchy is enabled for combination of types + other selections. This bug got invalidated by the fix for bug 325336. |