| Summary: | [Compatibility] Ctrl+C doesn't work in 'Package Explorer' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Paul Webster <pwebster> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.0 | ||||||
| Target Milestone: | 1.0 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
We're also using a WMH for the 'Navigator' view. We aren't adding the CopyToClipboardAction as a handler in the correct place. That probably means our setGlobalActionHandler(*) isn't using the correct incantation to make it available to the new command framework. PW (In reply to comment #2) > We aren't adding the CopyToClipboardAction as a handler in the correct place. > That probably means our setGlobalActionHandler(*) isn't using the correct > incantation to make it available to the new command framework. public void setGlobalActionHandler(String actionId, IAction handler) { // FIXME compat setGlobalActionHandler: needs to actually register // handlers actions.put(actionId, handler); } Well, this looks suspect. Created attachment 166566 [details]
ActionBars patch v1
The code was there but it was being incorrectly overridden it seems.
(In reply to comment #3) > // FIXME compat setGlobalActionHandler: needs to actually register > // handlers > > Well, this looks suspect. That would definitely be the incorrect way of registering them ... PW (In reply to comment #4) > Created an attachment (id=166566) [details] > ActionBars patch v1 Fix released to HEAD. |