Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314052 - Add support passing Event for @UIEventTopic as Payload
Summary: Add support passing Event for @UIEventTopic as Payload
Status: CLOSED DUPLICATE of bug 316977
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-23 18:27 EDT by Sebastian Schneider CLA
Modified: 2010-06-16 11:55 EDT (History)
1 user (show)

See Also:


Attachments

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