| Summary: | Event injection should be able to inject whole event object | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Oleg Besedin <ob1.eclipse> | ||||
| Component: | E4 | Assignee: | Project Inbox <e4.runtime-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | emoffatt, laluz, ob1.eclipse | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Patch applied to CVS Head. Thanks goes to Eric for noticing this limitation! *** Bug 314052 has been marked as a duplicate of this bug. *** |
Created attachment 171995 [details] Patch At present event injection (@EventTopic, @UIEventTopic) injects data from the event's "org.eclipse.e4.data" property (EventUtils.DATA, IEventBroker.DATA). That works well unless multiple data values have to be passed in the event. The event injection can check the type of the variable we try to inject and, if it equals to the org.osgi.service.event.Event inject whole event.