I'm facing the problem to add and remove menuitems (commands) to an existing menu. It should behave like a chronicle menu, similar to a web browser like Firefox. I have only one view and the items shall be visible in the main window. I've found the method registerLocalCommandExecutors(PageComponentContext ). But that is not what I want, since the commands should be added as new menuitems.
I simply don't know where to start
Thanks for hints in advance!