mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
run context menu: keep executors at the top
This commit is contained in:
@@ -47,7 +47,7 @@ public class ExecutorRegistryImpl extends ExecutorRegistry {
|
||||
private static final Logger LOG = Logger.getInstance(ExecutorRegistryImpl.class);
|
||||
|
||||
@NonNls public static final String RUNNERS_GROUP = "RunnerActions";
|
||||
@NonNls public static final String RUN_CONTEXT_GROUP = "RunContextGroup";
|
||||
@NonNls public static final String RUN_CONTEXT_GROUP = "RunContextGroupInner";
|
||||
|
||||
private List<Executor> myExecutors = new ArrayList<Executor>();
|
||||
private ActionManager myActionManager;
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
<action id="ChooseDebugConfiguration" class="com.intellij.execution.actions.ChooseDebugConfigurationPopupAction" text="Debug..." description="Choose and debug configuration" icon="AllIcons.General.Debug"/>
|
||||
|
||||
<group id="RunContextGroup" popup="false">
|
||||
<!-- A dynamic group filled with executor actions -->
|
||||
<group id="RunContextGroupInner"/>
|
||||
<separator/>
|
||||
<action id="CreateRunConfiguration" class="com.intellij.execution.actions.CreateAction"/>
|
||||
</group>
|
||||
<group id="RunContextPopupGroup" popup="false">
|
||||
@@ -849,7 +852,6 @@
|
||||
|
||||
<group id="TestTreePopupMenu">
|
||||
<reference ref="RunContextGroup"/>
|
||||
<separator/>
|
||||
<reference ref="EditSource"/>
|
||||
<reference ref="ViewSource"/>
|
||||
</group>
|
||||
|
||||
@@ -209,14 +209,11 @@
|
||||
<action id="TestData.Navigate"
|
||||
class="org.jetbrains.idea.devkit.testAssistant.NavigateToTestDataAction"
|
||||
text="Navigate to testdata" use-shortcut-of="GotoRelated">
|
||||
<add-to-group anchor="last" group-id="TestTreePopupMenu"/>
|
||||
</action>
|
||||
<action id="DumpCleanTestData" internal="true" class="org.jetbrains.idea.devkit.internal.DumpCleanHighlightingTestdataAction">
|
||||
<add-to-group group-id="Internal.Dump"/>
|
||||
</action>
|
||||
<group>
|
||||
<reference id="TestData.Navigate"/>
|
||||
<add-to-group anchor="first" group-id="TestTreePopupMenu"/>
|
||||
</group>
|
||||
</actions>
|
||||
|
||||
</idea-plugin>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<action class="com.intellij.execution.junit.JUnitAddToTestsPatternAction" id="AddToISuite" text="Add to pattern suite"/>
|
||||
<add-to-group anchor="first" group-id="RunContextGroup"/>
|
||||
<add-to-group anchor="last" group-id="RunContextGroup"/>
|
||||
</group>
|
||||
</actions>
|
||||
</idea-plugin>
|
||||
|
||||
@@ -341,11 +341,7 @@
|
||||
</group>
|
||||
|
||||
<group id="TestStatisticsTablePopupMenu">
|
||||
<reference ref="RunContextGroup"/>
|
||||
<separator/>
|
||||
<reference ref="EditSource"/>
|
||||
<reference ref="ViewSource"/>
|
||||
<separator/>
|
||||
<reference ref="TestTreePopupMenu"/>
|
||||
<action id="Testing.SelectInTree" class="com.intellij.execution.testframework.actions.SelectInTreeAction"
|
||||
text="Select in Tree" description="Navigate from tests statistics to tests tree"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user