I have experience some year with NetBeans RCP. The most amazing thing is Lookup (org.netbeans.lookup) it is Alpha and Omega of whole NetBeans inter-module communication system.
Now I am searching analogy in Eclipse RCP platform. Is It databinding? Or what?
Thank you for your advices, Jirka
Thank to Daniil
to discussion:
Yes, if we talk about "static" lookup. This lookup contents "instances" of implementations of service provider (Actions, Windows, etc). I think, that it is analogy with Eclipse RCP extension points YES (thank you).
In NetBeans RCP all TopComponents (analogy to View or Editor EClips) have own Lookup. There are all selected (node) or added programmatically objects. When some TC is focused, these objects from this lookup are in actionGlobaCotext. Any other TC may have listener to "exist any objects of this CLASS" - this is goal of inter-module (in UI) communication.
But in Eclipse: Is it based on Listeners and IEditorInput? Or databiding in UI.
In this view, all object may have own lookup Map<Class<T>,List<? extends T>>
... this is base of "multi-inheritens in java".
But in Eclipse: I dont know. (Of course, I can use org.netbeans.lookup in Eclipse from NB platform)
thank for discussion, Jirka