mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 08:47:50 +08:00
source + md: actions put to a separate package
This commit is contained in:
parent
7d78dd4085
commit
8bdb19504b
@ -73,7 +73,7 @@
|
||||
The optional "use-shortcut-of" attribute specifies the ID of the action whose keyboard shortcut this action will use.
|
||||
The optional "description" attribute specifies the text which is displayed in the status bar when the action is focused.
|
||||
The optional "icon" attribute specifies the icon which is displayed on the toolbar button or next to the menu item. -->
|
||||
<action id="PluginSample.DummyAction" class="org.jetbrains.plugins.sample.SimpleAction" text="Dummy Action"
|
||||
<action id="PluginSample.DummyAction" class="org.jetbrains.plugins.sample.actions.SimpleAction" text="Dummy Action"
|
||||
description="Illustrates how to plug an action in">
|
||||
<!-- The <keyboard-shortcut> node specifies the keyboard shortcut for the action. An action can have several keyboard shortcuts.
|
||||
The mandatory "first-keystroke" attribute specifies the first keystroke of the action. The key strokes are specified according to the regular Swing rules.
|
||||
@ -106,10 +106,10 @@
|
||||
The optional "icon" attribute specifies the icon which is displayed on the toolbar button or next to the group.
|
||||
The optional "popup" attribute specifies how the group is presented in the menu. If a group has popup="true", actions in it
|
||||
are placed in a submenu; for popup="false", actions are displayed as a section of the same menu delimited by separators. -->
|
||||
<group class="org.jetbrains.plugins.sample.DummyActionGroup" id="DummyActionGroup" text="Action Group"
|
||||
<group class="org.jetbrains.plugins.sample.actions.DummyActionGroup" id="DummyActionGroup" text="Action Group"
|
||||
description="Illustration of an action group"
|
||||
icon="icons/testgroup.png" popup="true">
|
||||
<action id="PluginSample.GroupedAction" class="org.jetbrains.plugins.sample.GroupedAction"
|
||||
<action id="PluginSample.GroupedAction" class="org.jetbrains.plugins.sample.actions.GroupedAction"
|
||||
text="Grouped Action" description="An action in the group"/>
|
||||
<!-- The <separator> element defines a separator between actions. It can also have an <add-to-group> child element. -->
|
||||
<separator/>
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.jetbrains.plugins.sample;
|
||||
package org.jetbrains.plugins.sample.actions;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionGroup;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
@ -1,4 +1,4 @@
|
||||
package org.jetbrains.plugins.sample;
|
||||
package org.jetbrains.plugins.sample.actions;
|
||||
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
@ -1,4 +1,4 @@
|
||||
package org.jetbrains.plugins.sample;
|
||||
package org.jetbrains.plugins.sample.actions;
|
||||
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
Loading…
x
Reference in New Issue
Block a user