Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 28472 - [type hierarchy] Opening a type hierarchy on a logical package
Summary: [type hierarchy] Opening a type hierarchy on a logical package
Status: CLOSED DUPLICATE of bug 21417
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.7   Edit
Assignee: Raksha Vasisht CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-17 06:01 EST by Erich Gamma CLA
Modified: 2010-09-02 09:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2002-12-17 06:01:06 EST
It would be nice to be able to open a type hierarchy on a logical package.
Comment 1 Dirk Baeumer CLA 2002-12-17 09:16:11 EST
How hard is that ?
Comment 2 Martin Aeschlimann CLA 2002-12-19 05:16:32 EST
The type hierarchy already does compounding of packages (since 2.0), so there 
is nothing to do but to add an action to the context menu of the compound 
element that opens the type hierarchy with one of the contained elements.

moving to dani
Comment 3 Dani Megert CLA 2003-04-24 12:43:45 EDT
Agree that this would be nice
Comment 4 Dani Megert CLA 2006-09-27 07:47:28 EDT
Reassigning to inbox since there are currently no plans to work on this.
Comment 5 Dani Megert CLA 2010-09-02 09:10:43 EDT
- OpenTypeHierarchyAction.java
  - isEnabled does not work with LogicalPackage
  - as long as there is one valid element we should enable the action
  - run should not show n times the error dialog: collect the status and then
    show it after the loop. In fact it must not create an error status and
    show a dialog if for 1 out of n selected elements it can't get the Java
    resources

Please make sure to not remove the single input methods. That way you can avoid many changes/ripples.
Comment 6 Dani Megert CLA 2010-09-02 09:21:07 EDT
Oops! Wrong bug. And actually we can mark this as duplicate of bug 21417 which will enable support for multiple elements.

*** This bug has been marked as a duplicate of bug 21417 ***