Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I add an action to a the popup menu of the Java editor?

Action editor Java menu popup
0
Posted

How do I add an action to a the popup menu of the Java editor?

0

The simplest way is to run New Action Wizard (File > New… > Module Development > Action) which creates an action for you and registers it in your layer.xml. • On the first tab, choose Conditionally Enabled action and select EditorCookie as the cookie class. • On the second tab, check Editor Context Menu Item and choose MIME type (text/x-java in this case) and position. You can also declare your action in your layer manually: You can also use Editors/Popup/ to add an action to all editor kits.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123