Getting custom action programmaticly
I made an Action that extends AnAction and registered it to the plugin.xml. How do I get a handle on it to use in code? I need to set my jbuttons to this action but can't find it. I tried ActionManager but no action ids.
请先登录再写评论。
Nvm I just used AnActionEvent.createFromAction()
Hi Brian,
normally you don't need to do that and we use action toolbars filled with actions and then buttons will be automatically created for us. Is it the case for you or what kind of button do you talk about?
Anna