Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337535 - [KeyBindings] BindingManager accesses class in q07 fragment
Summary: [KeyBindings] BindingManager accesses class in q07 fragment
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: JFace (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 04:45 EST by Ralf Sternberg CLA
Modified: 2011-03-09 07:23 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-02-18 04:45:34 EST
Since the RWT fragment is meant to be exchangeable, no platform code should access its classes directly. Currently, the BindingManager accesses the KeyBindingUtil which is located in the q07 fragment. Reportedly, this can also break existing builds.

As an alternative, we could register key binding sequences with Display.setData using a public constant as key.
Comment 1 Ivan Furnadjiev CLA 2011-03-09 07:23:25 EST
As suggested, now the Display.setData is used to pass the keybinding list. Changes are in CVS HEAD.