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

Bug 314052

Summary: Add support passing Event for @UIEventTopic as Payload
Product: [Eclipse Project] e4 Reporter: Sebastian Schneider <laluz>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: ob1.eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Sebastian Schneider CLA 2010-05-23 18:27:16 EDT
Build Identifier: I20100522-1400 

Currently it's possible to "inject an event" like
@Inject @Optional
public void injectedEvent(@UIEventTopic(TOPIC) Payload playload);

It would be very useful, to extend this to make
@Inject @Optional
public void injectedEvent2(@UIEventTopic(TOPIC) Event event);
possible. Thus the annotated way to subscribe to events could be used to catch
the event itself.

Reproducible: Always
Comment 1 Oleg Besedin CLA 2010-06-16 11:55:37 EDT
Done.

*** This bug has been marked as a duplicate of bug 316977 ***