Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Using UIEventTopic with custom event property key

Hi Davy,
There is an open enhancement request for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=319024 . I hope to be able to look into it in details soon, probably in M2.

Sincerely,
Oleg Besedin



From: Davy Meers <davymeers@xxxxxxxxxxx>
To: <e4-dev@xxxxxxxxxxx>
Date: 07/07/2011 10:48 AM
Subject: [e4-dev] Using UIEventTopic with custom event property key
Sent by: e4-dev-bounces@xxxxxxxxxxx





Hello,

I am able to handle events in the view using the UIEventTopic annotation. If i also want to inject data from a event the event has to be sent with a event property that has "org.eclipse.e4.data" as key (the value of the static field "IEventBroker.DATA").
Is it possible to specify another key for the data that has to be injected?

The reason for this question is that not all bundles sending events are e4 related (in my application only UI bundles have dependencies on e4). By requiring to use IEventBroker.DATA there will be an unneeded coupling to e4 (the coupling stays when using the string "org.eclipse.e4.data" directly, it is only implicit).

With kind regards,
Meers Davy_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev



Back to the top