Community
Participate
Working Groups
Follow-up to bug 21417 Type hierarchy on package and type should gray out some types. The rendering should be a merge of the hierarchy on m and the hierarchy on the type (types should be colored if they could be both). package m; public class A { } package m; public class B extends Exception {} package m2; public interface IThing { } package m2; public class Thing implements IThing { } - open type hierarchy on m and IThing => Object, Throwable, and Exception should be gray - open type hierarchy on m and Thing => Throwable and Exception should be gray
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.