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

Bug 367929

Summary: [xbase][ui] Cosmetics: Type hierarchy does not show keybinding consistently
Product: [Tools] Xtend Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: CoreAssignee: Project Inbox <xtend-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: sven.efftinge
Version: 2.2.0Flags: sebastian.zarnekow: juno+
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2012-01-05 05:44:45 EST
1) Open Java editor
2) Press Cmd+O to show type hierarchy
3) Note the nicely printed Cmd+O in the status line of the hierarchy view

4) Open Xtend editor
5) Press Cmd+O to show type hierarchy
6) Note the not-to-nice status line

7) Open Java editor
8) Use Cmd+T on a method name to show the types implementing that method
9) Note the nicely printed Cmd+T in the status line

10) Open Xtend editor
11) Use Cmd+T on a method name to show the types implementing that method
12) Note the not-so-nice status line which shows "Press '' to see the supertype hierarchy"
Comment 1 Sebastian Zarnekow CLA 2012-01-05 05:46:48 EST
One could use 

IBindingService bindingService = (IBindingService) workbench.getAdapter(IBindingService.class);
String binding = bindingService.getBestActiveBindingFormattedFor(<commandID>);
Comment 2 Sven Efftinge CLA 2012-11-08 05:28:40 EST
related to bug #374716
Comment 3 Sven Efftinge CLA 2013-09-12 11:12:57 EDT
For CMD+T it works nicely now.
CMD+O shows a slightly different status line, but this is handled in bug #374716
Comment 4 Eclipse Webmaster CLA 2017-10-31 11:23:55 EDT
Requested via bug 522520.

-M.