Small changes to the "actions" sample plugin.
[idea/community.git] / samples / actions / src / META-INF / plugin.xml
index 1be2273a38d3f5d52b7df5e88f902deb607f463f..89b79070d4de32fbc5fff65468ef5b1ffd0736e3 100644 (file)
       <mouse-shortcut keystroke="ctrl alt button2" keymap="$default"/>
     </action>
 
-    <action id="Actions.ActionsPlugin.HelloWorld1" class="myActions.HelloWorldAction" text="Hello World" description=""/>
+    <action id="Actions.ActionsPlugin.HelloWorld1" class="myActions.HelloWorldAction" text="Hello World" icon ="/icons/plus.png" description=""/>
 
     <group id="Actions.ActionsPlugin.SampleGroup" text="Sample _Menu" description="Sample group">
       <reference ref="ActionsSample.ActionsPlugin.GarbageCollection"/>
       <separator/>
-      <action id="Actions.ActionsPlugin.HelloWorld" class="myActions.HelloWorldAction" text="Hello World" description=""/>
+       <reference ref="Actions.ActionsPlugin.HelloWorld1"/>
+
       <!--adds this group to the main menu-->
       <add-to-group group-id="MainMenu" anchor="last"/>
       <!--adds this group to the main toolbar before the Help action-->