About add and remove MenuItem!

Answered

I know that we can add new action to menu bar in a plugin.xml.
www.advancedmd.com
But is there any menu to add/remove in at run time?

 

Thanks in advance!!!

0
1 comment

com.intellij.openapi.actionSystem.ActionManager#unregisterAction

See https://plugins.jetbrains.com/docs/intellij/working-with-custom-actions.html#extending-the-update-method for setting availability dynamically at runtime.

0

Please sign in to leave a comment.