On Thu, Nov 8, 2012 at 7:28 AM, Tom Schindl <[email protected]>wrote:

>
> An advantage to the @Invoke is that the they'd work similar to
> @EventTopic given we have the event:
>
> "MenuRendered"
>
> the event code would look like this:
> @Inject
> public void rendered(@UIEventTopic("MenuRendered") Menu menu) {
> }
>
>
> and the tightly scoped lifecycle:
> @Invoke("MenuRendered")
> public void rendered(Menu menu) {
> }
>


Or just use @MenuRendered and then we avoid adding a second way to do the
same thing (invoke a method).

PW


-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to