© Markus Duft 2018
Markus DuftEclipse TEA Revealedhttps://doi.org/10.1007/978-1-4842-4093-9_11

11. E4 Events

Markus Duft1 
(1)
Peggau, Steiermark, Austria
 

TEA provides a bridge from its own TaskingLifeCycleListener mechanism to the E41 event bus mechanism. This allows for some advanced integration in a more Eclipse-ish fashion. Actually, the Tasking Live View is implemented based on this mechanism. It is a plain E4 view part that requests TEA events from the Eclipse event bus.

The Event Bridge

The bridge is implemented in org.eclipse.tea.core.ui.internal.listeners.EventBrokerBridge. It is quite straightforward since it broadcasts an event for every TaskingLifeCycleListener method possible to the Eclipse IEventBroker. TEA uses the org/eclipse/tea/* ...

Get Eclipse TEA Revealed: Building Plug-ins and Creating Extensions for Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.