There's a more generic way of passing information between components in Eclipse 4, using the OSGi
EventAdmin service. This is a message bus, like JMS, but operates in memory. There is also an Eclipse-specific
EventBroker, which provides a slightly simpler API to send messages.
com.packtpub.e4.applicationproject, by double-clicking on the project's
META-INF/MANIFEST.MFfile and going to the Dependencies tab:
Rainbowclass and obtain an instance of
selectionChanged()method, so that instead of setting a selection, it uses the ...