Community
Participate
Working Groups
M5 Start by adding the project org.eclipse.jdt.ui.examples.javafamily to your workspace. 1. Now open a type hierarchy on the package org.eclipse.search.internal.core from the source folder coresearch-experiment. Notice that some types such AndQuery are not there. 2. Select both packages in the source folder coresearch-experiment. Notice that 'Open Type Hierarchy' is not a choice on the menu... but if you select the source folder coresearch-experiment, it is available.
These are two different issues: 1.) this is very likely a core issue 2.) UI should support multiple homogenous selections.
Reproduced. Seems to be a problem in the type hierarchy: The hierarchy should contain children for 'InternalSearchQuery' For point 2., this works as designed, the type hierarchy view does not support multiple inputs. Please file a feature request. Moving this bug to JDT core.
RegionBasedTypeHierarchy.pruneDeadBranches() consider that a branch is dead as soon as one type of this branch is not part of the region. Should fix to consider that a branch is dead if all types of the branch are not part of the region.
Fixed pruneDeadBranches() and added regression tests TypeHierarchyTests.testRegion1() and testRegion2()
Verified for 3.0M7