Page 1 of 1

Add new menu

Posted: Mon Sep 27, 2021 2:51 pm
by xephon
Hi,

I'd like to create a new menu, which is not tied to a specific framework, like "Help". This menu should always appear and not only when I'm editing a file of a specific type.

Thanks a lot
Stefan

Re: Add new menu

Posted: Mon Sep 27, 2021 3:08 pm
by Radu
Hi Stefan,

A framework can contribute only actions which appear when a certain type of XML document is opened.
If you want a menu which appears no matter what XML is opened, you will need to implement an Oxygen plugin using our Java API:
https://www.oxygenxml.com/doc/versions/ ... guide.html
we have a sample getting started plugin here:
https://github.com/oxygenxml/sample-plu ... ace-access

Regards,
Radu