Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364316

Summary: [Xbase] Open JDT's TypeHierarchy on JvmTypeReferences
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Holger Schill <Holger.Schill>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Holger.Schill
Version: 2.1.1Flags: sven.efftinge: juno+
Target Milestone: M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-11-21 07:59:25 EST
F4 (Open TypeHierarchy) should work on any JvmTypeReferences by default.
We should also make it easy to have this action on declarations which are mapped to Java types.
Opening the Type Hierarchy from the definition of an Xtend class (i.e. from its name) should be possible.
Comment 1 Sven Efftinge CLA 2011-11-21 08:02:20 EST
Also JDT's quick type hierarchy (CTRL + T) should be available in Xtend.
Comment 2 Holger Schill CLA 2011-11-23 09:31:21 EST
I will try to take care of this bug.
Comment 3 Holger Schill CLA 2011-11-24 04:38:57 EST
org.eclipse.jdt.internal.ui.util.OpenTypeHierarchyUtil is internal. Is that a problem?

Exept the quick type hierachy I have a prototype. Should we introduce a fragment for that?
Comment 4 Sven Efftinge CLA 2011-11-24 04:50:36 EST
No, it's not a problem.
Comment 5 Holger Schill CLA 2011-11-24 05:28:20 EST
What about extension methods? Should we open up the extension class or the class that the extension is called for? Out of the box the extension class would the element to show the hierachy for.
Comment 6 Sven Efftinge CLA 2011-11-24 05:43:16 EST
That's ok.
Comment 7 Holger Schill CLA 2011-11-24 10:23:01 EST
pushed first version to master. 
I'll try to figure out how to test that. 
I do not think that we have to test the JDT stuff. So I will only test the handlers.
Comment 8 Holger Schill CLA 2011-11-29 04:58:53 EST
pushed missing tests to master.
Comment 9 Karsten Thoms CLA 2017-09-19 17:05:23 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 10 Karsten Thoms CLA 2017-09-19 17:17:16 EDT
Closing all bugs that were set to RESOLVED before Neon.0