Generic Context Menu

Trying to develop a generic context menu plugin. View shall reside in the generic context menu plugin. The content shall be filled from other plugins and their handlers shall be dealt within the respective plugins. Show/hide conditions shall also be in the respective plugins. For these how do the communication between the generic context menu plugin & other plugins happens? Any quick guidance & insight into this is appreciated. Thanks for considering!

Plugins can read state using the view and other plugin keys, and set state by using the tr.setMeta.