About Popu Menu!

I want to add one menuitem for java file node,
and the other one for project node.
How can do that?

I found some examples will add an action to a group-id
<add-to-group group-id="MainMenu" anchor="last"/>

But how can i know which group id is suitable for me?
And how to find the group id?

Any other method can add action to menu without modify the plugin.xml?

Thx.

1 comment
Comment actions Permalink

For group id, look into ActionManager.xml in %IDEA_HOME%/docs

"WinsonChan" <no_mail@jetbrains.com> wrote in message
news:27569962.1066108121272.JavaMail.itn@is.intellij.net...

I want to add one menuitem for java file node,
and the other one for project node.
How can do that?

>

I found some examples will add an action to a group-id
<add-to-group group-id="MainMenu" anchor="last"/>

>

But how can i know which group id is suitable for me?
And how to find the group id?

>

Any other method can add action to menu without modify the plugin.xml?

>

Thx.



0

Please sign in to leave a comment.