About add and remove MenuItem!

已回答

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

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

请先登录再写评论。