I have a RCP app and a RCP plugin (A) that contributed a Part. There is a TreeViewer (with many items) in the Part. I also defined a popup menu with some menu items (in a file .e4xmi) then registered this menu to the TreeViewer.
I'm writing another RCP plugin (B) that will contribute to the popup menu a menu item and in the handler I want to delete the selected item in the TreeViewer.
The problem is I cannot access the data of the Part (of A) in B. How can A shares the data (TreeViewer) to B? I found a solution is using EventBroker but I want some others. Can you give me some suggestions or hints? Thanks!