Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367929 - [xbase][ui] Cosmetics: Type hierarchy does not show keybinding consistently
Summary: [xbase][ui] Cosmetics: Type hierarchy does not show keybinding consistently
Status: CLOSED FIXED
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 05:44 EST by Sebastian Zarnekow CLA
Modified: 2017-10-31 11:23 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.