Is there a way to specific position of my action in idea OpenAPI dynamic?

i know that i can use :

DefaultActionGroup fileMenu = (DefaultActionGroup) ActionManager.getInstance().getAction(groupid);

But i dont know how to add my action to the File menu group in index 4. There is a method add(AnAtion,Constraints) in DefaultActionGroup , but i didnt see any way to specific AnAtion position.


1 comment
Comment actions Permalink

Sorry~ i got the answer


Please sign in to leave a comment.