IDEA-79921 Suspend one thread while debugging
[idea/community.git] / resources / src / idea / JavaActions.xml
1 <component>
2   <actions>
3     <group id="JavaGenerateGroup1">
4       <action id="GenerateTestMethod" class="com.intellij.testIntegration.GenerateTestMethodAction"/>
5       <action id="GenerateSetUpMethod" class="com.intellij.testIntegration.GenerateSetUpMethodAction"/>
6       <action id="GenerateTearDownMethod" class="com.intellij.testIntegration.GenerateTearDownMethodAction"/>
7       <action id="GenerateDataMethod" class="com.intellij.testIntegration.GenerateDataMethodAction"/>
8       <separator/>
9       <action id="GenerateConstructor" class="com.intellij.codeInsight.generation.actions.GenerateConstructorAction"/>
10       <action id="GenerateGetter" class="com.intellij.codeInsight.generation.actions.GenerateGetterAction"/>
11       <action id="GenerateSetter" class="com.intellij.codeInsight.generation.actions.GenerateSetterAction"/>
12       <action id="GenerateGetterAndSetter" class="com.intellij.codeInsight.generation.actions.GenerateGetterAndSetterAction"/>
13       <action id="GenerateEquals" class="com.intellij.codeInsight.generation.actions.GenerateEqualsAction"/>
14       <action id="Actions.ActionsPlugin.GenerateToString" class="org.jetbrains.java.generate.GenerateToStringAction" text="to_String()" description="Generate toString() method"/>
15       <action id="GenerateCreateUI" class="com.intellij.codeInsight.generation.actions.GenerateCreateUIAction"/>
16       <add-to-group group-id="GenerateGroup" anchor="first"/>
17     </group>
18
19     <group id="JavaGenerateGroup2">
20       <action id="GenerateSuperMethodCall" class="com.intellij.codeInsight.generation.actions.GenerateSuperMethodCallAction"/>
21       <add-to-group group-id="GenerateGroup" anchor="last"/>
22     </group>
23
24     <action id="NewClass" class="com.intellij.ide.actions.CreateClassAction">
25       <add-to-group group-id="NewGroup1" anchor="first"/>
26     </action>
27
28     <action id="NewPackageInfo" class="com.intellij.ide.actions.CreatePackageInfoAction">
29       <add-to-group group-id="NewGroup" anchor="after" relative-to-action="NewDir"/>
30     </action>
31
32     <action id="CollapseBlock" class="com.intellij.codeInsight.folding.impl.actions.CollapseBlockAction">
33       <add-to-group group-id="FoldingGroup" anchor="after" relative-to-action="CollapseSelection"/>
34     </action>
35
36     <action id="InferNullity" class="com.intellij.codeInspection.inferNullity.InferNullityAnnotationsAction">
37       <add-to-group group-id="InspectCodeGroup" anchor="after" relative-to-action="ViewOfflineInspection"/>
38     </action>
39
40     <group id="AnalyzeJavaMenu">
41       <action id="ShowPackageCycles" class="com.intellij.cyclicDependencies.actions.CyclicDependenciesAction"/>
42       <separator/>
43       <action id="SliceBackward" class="com.intellij.slicer.SliceBackwardAction"/>
44       <action id="SliceForward" class="com.intellij.slicer.SliceForwardAction"/>
45       <separator/>
46       <action id="Unscramble" class="com.intellij.unscramble.UnscrambleAction"/>
47       <add-to-group group-id="AnalyzeMenu" anchor="last"/>
48     </group>
49
50     <group id="RefactoringMenu1">
51       <action id="ChangeTypeSignature"
52               class="com.intellij.refactoring.typeMigration.actions.ChangeTypeSignatureAction"
53               text="T_ype Migration..."
54               description="Change type of the return type of the method, field, parameter, variable or class type arguments and correct all references"/>
55       <action id="MakeStatic" class="com.intellij.refactoring.actions.MakeStaticAction"/>
56       <action id="ConvertToInstanceMethod" class="com.intellij.refactoring.actions.ConvertToInstanceMethodAction"/>
57       <add-to-group group-id="RefactoringMenu" anchor="after" relative-to-action="ChangeSignature"/>
58     </group>
59
60     <group id="RefactoringMenu2">
61       <action id="MethodDuplicates" class="com.intellij.refactoring.actions.MethodDuplicatesAction"/>
62       
63       <action id="InvertBoolean" class="com.intellij.refactoring.actions.InvertBooleanAction"/>
64       <add-to-group group-id="RefactoringMenu" anchor="after" relative-to-action="Inline"/>
65     </group>
66
67     <action id="ReplaceMethodWithMethodObject" class="com.intellij.refactoring.actions.ReplaceMethodWithMethodObjectAction">
68       <add-to-group group-id="IntroduceActionsGroup" anchor="after" relative-to-action="ExtractMethod"/>
69     </action>
70
71     <action id="IntroduceFunctionalParameter" class="com.intellij.refactoring.actions.IntroduceFunctionalParameterAction">
72       <add-to-group group-id="IntroduceActionsGroup" anchor="after" relative-to-action="IntroduceParameter"/>
73       <keyboard-shortcut first-keystroke="control shift alt P" keymap="$default"/>
74     </action>
75
76     <action id="IntroduceParameterObject" class="com.intellij.refactoring.actions.IntroduceParameterObjectAction">
77       <add-to-group group-id="IntroduceActionsGroup" anchor="after" relative-to-action="IntroduceFunctionalParameter"/>
78     </action>
79
80     <action id="RenameFile" class="com.intellij.refactoring.actions.RenameFileAction">
81       <add-to-group group-id="RefactoringMenu" anchor="after" relative-to-action="RenameElement"/>
82       <add-to-group group-id="EditorTabPopupMenuEx" anchor="after" relative-to-action="AddAllToFavorites"/>
83     </action>
84
85     <group id="RefactoringMenu4">
86       <action id="TurnRefsToSuper" class="com.intellij.refactoring.actions.TurnRefsToSuperAction"/>
87       <action id="InheritanceToDelegation" class="com.intellij.refactoring.actions.InheritanceToDelegationAction"/>
88       <action id="RemoveMiddleman" class="com.intellij.refactoring.actions.RemoveMiddlemanAction"/>
89       <action id="WrapReturnValue" class="com.intellij.refactoring.wrapreturnvalue.WrapReturnValueAction"/>
90       <separator/>
91       <action id="AnonymousToInner" class="com.intellij.refactoring.actions.AnonymousToInnerAction"/>
92       <action id="EncapsulateFields" class="com.intellij.refactoring.actions.EncapsulateFieldsAction"/>
93       <action id="ReplaceTempWithQuery" class="com.intellij.refactoring.actions.TempWithQueryAction"/>
94       <action id="ReplaceConstructorWithFactory" class="com.intellij.refactoring.actions.ReplaceConstructorWithFactoryAction"/>
95       <action id="ReplaceConstructorWithBuilder" class="com.intellij.refactoring.actions.ReplaceConstructorWithBuilderAction"/>
96       <separator/>
97       <action id="Generify" class="com.intellij.refactoring.actions.TypeCookAction"/>
98       <action id="Migrate" class="com.intellij.refactoring.actions.MigrateAction"/>
99       <separator/>
100
101       <add-to-group group-id="RefactoringMenu" anchor="after" relative-to-action="MemberPushDown"/>
102     </group>
103
104     <action id="Hotswap" class="com.intellij.debugger.actions.HotSwapAction">
105       <add-to-group group-id="DebugMainMenu" anchor="before" relative-to-action="StepOver"/>
106     </action>
107
108     <action id="Debugger.PopFrame" class="com.intellij.debugger.actions.PopFrameAction" icon="AllIcons.Actions.PopFrame">
109       <add-to-group group-id="DebugMainMenu" anchor="after" relative-to-action="ForceRunToCursor"/>
110       <add-to-group group-id="XDebugger.Frames.Tree.Popup" anchor="first"/>
111       <add-to-group group-id="XDebugger.ToolWindow.TopToolbar" anchor="before" relative-to-action="RunToCursor"/>
112     </action>
113
114     <action id="Debugger.ShowLibraryFrames" class="com.intellij.debugger.actions.ShowLibraryFramesAction">
115       <add-to-group group-id="XDebugger.Frames.TopToolbar"/>
116     </action>
117
118     <action id="Debugger.AddSteppingFilter" class="com.intellij.debugger.actions.AddSteppingFilterAction" text="Add Stepping Filter...">
119       <add-to-group group-id="XDebugger.Frames.Tree.Popup"/>
120     </action>
121
122     <group id="ToggleBreakpointAction">
123       <action id="ToggleMethodBreakpoint" class="com.intellij.debugger.actions.ToggleMethodBreakpointAction"/>
124       <action id="ToggleFieldBreakpoint" class="com.intellij.debugger.actions.ToggleFieldBreakpointAction"/>
125       <!--Moved to XDebugger <action id="ToggleBreakpointEnabled" class="com.intellij.debugger.actions.ToggleBreakpointEnabledAction"/>-->
126       <add-to-group group-id="DebugMainMenu" anchor="after" relative-to-action="ToggleLineBreakpoint"/>
127     </group>
128
129     <action id="ExportThreads" class="com.intellij.debugger.actions.ExportThreadsAction" icon="AllIcons.Actions.Export">
130       <add-to-group group-id="XDebugger.Frames.Tree.Popup"/>
131     </action>
132     <action id="DumpThreads" class="com.intellij.debugger.actions.ThreadDumpAction" text="Get thread dump" icon="AllIcons.Actions.Dump">
133       <add-to-group group-id="RunMenu" anchor="last"/>
134     </action>
135
136     <action id="GenerateJavadoc" class="com.intellij.javadoc.actions.GenerateJavadocAction">
137       <add-to-group group-id="ToolsBasicGroup" anchor="after" relative-to-action="SaveFileAsTemplate"/>
138     </action>
139
140     <action id="DebugListen" internal="true" class="com.intellij.debugger.actions.ThrowDebugExceptionAction">
141       <add-to-group group-id="Internal.Errors"/>
142     </action>
143
144     <action id="GenerateVisitorByHierarchy" internal="true" class="com.intellij.internal.GenerateVisitorByHierarchyAction"
145             text="Generate Hierarchy Visitor...">
146       <add-to-group group-id="Internal"/>
147     </action>
148
149     <action id="UsedIconsListing" internal="true" class="com.intellij.internal.UsedIconsListingAction"
150             text="List Used Icons">
151       <add-to-group group-id="Internal"/>
152     </action>
153
154     <action id="StaticIconFields" internal="true" class="com.intellij.internal.StaticIconFieldsAction"
155             text="List Static Field Initializers">
156       <add-to-group group-id="Internal"/>
157     </action>
158
159     <group id="JavaDebuggerActions">
160       <!--<action id="Debugger.Inspect" class="com.intellij.debugger.actions.InspectAction"/>-->
161       <action id="Debugger.CustomizeContextView" class="com.intellij.debugger.actions.CustomizeContextViewAction">
162         <add-to-group group-id="XDebugger.Variables.Tree.Popup" anchor="last"/>
163         <add-to-group group-id="XDebugger.Watches.Tree.Popup" anchor="last"/>
164       </action>
165       <action id="Debugger.ViewText" class="com.intellij.debugger.actions.ViewTextAction">
166         <add-to-group group-id="XDebugger.ValueGroup" anchor="last"/>
167       </action>
168       <action id="Debugger.CustomizeThreadsView" class="com.intellij.debugger.actions.CustomizeThreadsViewAction">
169         <add-to-group group-id="XDebugger.Frames.Tree.Popup" anchor="last"/>
170       </action>
171       <action id="Debugger.EditFrameSource" class="com.intellij.debugger.actions.EditFrameSourceAction"/>
172       <action id="Debugger.EditNodeSource" class="com.intellij.debugger.actions.EditSourceAction"/>
173       <action id="Debugger.EditTypeSource" class="com.intellij.debugger.actions.JumpToObjectAction"/>
174       <reference ref="Debugger.PopFrame"/>
175       <action id="Debugger.ViewAsGroup" class="com.intellij.debugger.actions.ViewAsGroup">
176         <add-to-group group-id="XDebugger.ValueGroup" anchor="last"/>
177       </action>
178       <action id="Debugger.AdjustArrayRange" class="com.intellij.debugger.actions.AdjustArrayRangeAction">
179         <add-to-group group-id="XDebugger.ValueGroup" anchor="last"/>
180       </action>
181       <!--<action id="Debugger.SetValue" class="com.intellij.debugger.actions.SetValueAction"/>-->
182       <!--<action id="Debugger.ShowAsHex" class="com.intellij.debugger.actions.ShowAsHexAction" text="Show as Hex"/>-->
183       <action id="Debugger.ResumeThread" class="com.intellij.debugger.actions.ResumeThreadAction"/>
184       <action id="Debugger.FreezeThread" class="com.intellij.debugger.actions.FreezeThreadAction"/>
185       <action id="Debugger.InterruptThread" class="com.intellij.debugger.actions.InterruptThreadAction"/>
186       <add-to-group group-id="DebuggerActions" anchor="first"/>
187     </group>
188
189     <group id="Debugger.Representation">
190       <action id="Debugger.AutoRenderer" class="com.intellij.debugger.actions.AutoRendererAction"/>
191     </group>
192
193     <group id="EditorPopupMenuDebugJava">
194       <separator/>
195       <reference ref="ToggleFieldBreakpoint"/>
196       <separator/>
197       <add-to-group group-id="EditorPopupMenuDebug" anchor="last"/>
198     </group>
199
200     <group id="JavaCompileGroup">
201       <reference ref="ToggleMethodBreakpoint"/>
202       <reference ref="ToggleFieldBreakpoint"/>
203       <separator/>
204       <add-to-group group-id="ProjectViewCompileGroup" anchor="first"/>
205       <add-to-group group-id="StructureViewCompileGroup" anchor="first"/>
206     </group>
207
208     <action id="TypeHierarchy.BaseOnThisType" class="com.intellij.ide.hierarchy.type.TypeHierarchyBrowser$BaseOnThisTypeAction">
209       <add-to-group group-id="TypeHierarchyPopupMenu" anchor="first"/>
210     </action>
211
212     <group id="JavaMethodHierarchyPopupMenu" name="JavaMethodHierarchyPopupMenu">
213       <action id="MethodHierarchy.ImplementMethodAction" class="com.intellij.ide.hierarchy.method.ImplementMethodAction"
214               use-shortcut-of="ImplementMethods"/>
215       <action id="MethodHierarchy.OverrideMethodAction" class="com.intellij.ide.hierarchy.method.OverrideMethodAction"
216               use-shortcut-of="OverrideMethods"/>
217       <separator/>
218       <add-to-group group-id="MethodHierarchyPopupMenu" anchor="first"/>
219     </group>
220
221     <action id="MethodHierarchy.BaseOnThisType" class="com.intellij.ide.hierarchy.method.MethodHierarchyBrowser$BaseOnThisMethodAction">
222       <add-to-group group-id="MethodHierarchyPopupMenu" anchor="first"/>
223     </action>
224
225     <action id="CallHierarchy.BaseOnThisType" class="com.intellij.ide.hierarchy.call.CallHierarchyBrowser$BaseOnThisMethodAction">
226       <add-to-group group-id="CallHierarchyPopupMenu" anchor="first"/>
227     </action>
228
229     <action id="StartupWizard" class="com.intellij.ide.startupWizard.StartupWizardAction">
230       <add-to-group group-id="FileSettingsGroup" anchor="last"/>
231     </action>
232
233     <group id="Debugger.FramePanelPopup">
234       <reference ref="Debugger.AdjustArrayRange"/>
235       <!--<reference ref="Debugger.Inspect"/>-->
236       <reference ref="Debugger.MarkObject"/>
237       <!--<reference ref="Debugger.SetValue"/>-->
238       <reference ref="Debugger.EditNodeSource"/>
239       <reference ref="Debugger.EditTypeSource"/>
240       <separator/>
241       <reference ref="Debugger.ViewAsGroup"/>
242       <separator/>
243       <reference ref="Debugger.AddToWatch"/>
244       <separator/>
245       <reference ref="ToggleFieldBreakpoint"/>
246       <separator/>
247       <!--<reference ref="Debugger.CopyValue"/>-->
248       <reference ref="Debugger.ViewText"/>
249       <!--<reference ref="Debugger.CompareValueWithClipboard"/>-->
250       <reference ref="Debugger.CustomizeContextView"/>
251     </group>
252
253     <group id="Debugger.EvaluationDialogPopup">
254       <reference ref="Debugger.AdjustArrayRange"/>
255       <!--<reference ref="Debugger.Inspect"/>-->
256       <reference ref="Debugger.MarkObject"/>
257       <!--<reference ref="Debugger.SetValue"/>-->
258       <reference ref="Debugger.EditNodeSource"/>
259       <reference ref="Debugger.EditTypeSource"/>
260       <separator/>
261       <!--<reference ref="Debugger.ShowAsHex"/>-->
262       <reference ref="Debugger.ViewAsGroup"/>
263       <separator/>
264       <reference ref="Debugger.AddToWatch"/>
265       <separator/>
266       <reference ref="ToggleFieldBreakpoint"/>
267       <separator/>
268       <!--<reference ref="Debugger.CopyValue"/>-->
269       <reference ref="Debugger.ViewText"/>
270       <!--<reference ref="Debugger.CompareValueWithClipboard"/>-->
271       <reference ref="Debugger.CustomizeContextView"/>
272     </group>
273
274     <group id="Debugger.InspectPanelPopup">
275       <reference ref="Debugger.AdjustArrayRange"/>
276       <!--<reference ref="Debugger.Inspect"/>-->
277       <reference ref="Debugger.MarkObject"/>
278       <!--<reference ref="Debugger.SetValue"/>-->
279       <reference ref="Debugger.EditNodeSource"/>
280       <reference ref="Debugger.EditTypeSource"/>
281       <separator/>
282       <reference ref="Debugger.AddToWatch"/>
283       <separator/>
284       <!--<reference ref="Debugger.ShowAsHex"/>-->
285       <reference ref="Debugger.ViewAsGroup"/>
286       <separator/>
287       <reference ref="ToggleFieldBreakpoint"/>
288       <separator/>
289       <!--<reference ref="Debugger.CopyValue"/>-->
290       <reference ref="Debugger.ViewText"/>
291       <!--<reference ref="Debugger.CompareValueWithClipboard"/>-->
292       <reference ref="Debugger.CustomizeContextView"/>
293     </group>
294
295     <group id="Debugger.ThreadsPanelPopup">
296       <reference ref="Debugger.ResumeThread"/>
297       <reference ref="Debugger.FreezeThread"/>
298       <reference ref="Debugger.InterruptThread"/>
299       <!--<reference ref="Debugger.ShowFrame"/>-->
300       <reference ref="Debugger.PopFrame"/>
301       <!--<reference ref="Debugger.EditFrameSource"/>-->
302       <!--<reference ref="Debugger.EditTypeSource"/>-->
303       <!--<reference ref="EditSource"/>-->
304       <separator/>
305       <reference ref="ExportThreads"/>
306       <reference ref="Debugger.AddSteppingFilter"/>
307       <separator/>
308       <reference ref="Debugger.CustomizeThreadsView"/>
309     </group>
310
311     <group id="Debugger.WatchesPanelPopup">
312       <!--<reference ref="Debugger.NewWatch"/>-->
313       <!--<reference ref="Debugger.EditWatch"/>-->
314       <!--<reference ref="Debugger.RemoveWatch"/>-->
315       <!--<reference ref="Debugger.RemoveAllWatches"/>-->
316       <separator/>
317       <reference ref="Debugger.AdjustArrayRange"/>
318       <!--<reference ref="Debugger.Inspect"/>-->
319       <reference ref="Debugger.MarkObject"/>
320       <!--<reference ref="Debugger.SetValue"/>-->
321       <reference ref="Debugger.EditNodeSource"/>
322       <reference ref="Debugger.EditTypeSource"/>
323       <separator/>
324       <!--<reference ref="Debugger.ShowAsHex"/>-->
325       <reference ref="Debugger.ViewAsGroup"/>
326       <separator/>
327       <reference ref="Debugger.AddToWatch"/>
328       <separator/>
329       <reference ref="ToggleFieldBreakpoint"/>
330       <separator/>
331       <!--<reference ref="Debugger.CopyValue"/>-->
332       <reference ref="Debugger.ViewText"/>
333       <!--<reference ref="Debugger.CompareValueWithClipboard"/>-->
334       <reference ref="Debugger.CustomizeContextView"/>
335     </group>
336
337     <group id="MarkGeneratedSourceRootGroup">
338       <action id="MarkGeneratedSourceRoot" class="com.intellij.ide.projectView.actions.MarkGeneratedSourceRootAction"/>
339       <action id="UnmarkGeneratedSourceRoot" class="com.intellij.ide.projectView.actions.UnmarkGeneratedSourceRootAction"/>
340       <add-to-group group-id="MarkRootGroup" anchor="after" relative-to-action="MarkSourceRootGroup"/>
341     </group>
342
343     <action id="ShowPackageDeps" class="com.intellij.packageDependencies.actions.AnalyzeDependenciesAction">
344       <add-to-group group-id="ShowPackageDepsGroup" anchor="first"/>
345       <add-to-group group-id="AnalyzeActions" anchor="first"/>
346     </action>
347     <action id="ShowBackwardPackageDeps" class="com.intellij.packageDependencies.actions.BackwardDependenciesAction">
348       <add-to-group group-id="AnalyzeActions" relative-to-action="ShowPackageDeps" anchor="after"/>
349     </action>
350     <action id="ShowDependenciesOnTarget" class="com.intellij.packageDependencies.actions.AnalyzeDependenciesOnSpecifiedTargetAction">
351         <add-to-group group-id="AnalyzeActions" relative-to-action="ShowBackwardPackageDeps" anchor="after"/>
352     </action>
353     <action id="ShowModulesDependencies" class="com.intellij.moduleDependencies.ShowModuleDependenciesAction">
354       <add-to-group group-id="AnalyzeActions" anchor="last"/>
355     </action>
356     <action id="FileChooser.GotoJDK" class="com.intellij.openapi.projectRoots.JdkPopupAction" >
357       <add-to-group group-id="FileChooserToolbar" anchor="last"/>
358     </action>
359   </actions>
360 </component>