File: menus.xml

package info (click to toggle)
gnat-gps 18-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 45,716 kB
  • sloc: ada: 362,679; python: 31,031; xml: 9,597; makefile: 1,030; ansic: 917; sh: 264; java: 17
file content (698 lines) | stat: -rw-r--r-- 34,334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
<?xml version="1.0" ?>
<GPS>
   <!--
        A <menu> or <button> can be marked as 'optional': in this case, the
          menu is hidden when the action is not found, presumably because it is
          provided by a plug-in that has not be loaded. When not optional, the
          menu is displayed greyed-out.
        A <menu> or <button> can be marked as 'hide': in this case, the menu
          is hidden when the action's filter does not match, instead of being
          grayed out.

        Naming conventions for menus:
           labels should end up with '...' when they display a dialog or another window.
           All words should be upper-cased, except small words like 'with', 'from',...
        The label might include an underscore to indicate the key used to quickly
           select it once the menu is opened.
        Keyshortcuts and icons are provided by the GPS action itself.

        In a toolbar, separators can have an id to mark sections. A named section
        starts after the separator with that name.

        A <toolbar> can extend an existing toolbar by using the 'inherit' attribute
        to point to the extended toolbar. The buttons of the toolbar appear first,
        then the inherited ones.
   -->
   <menubar>
      <menu label='_File'>
         <!-- Project section -->
         <menu label='_New Project...'                        action='create project from template'/>
         <menu label='Open Project...'                        action='open project dialog'/>
         <menu label='Open Project from _Host...'             action='open remote project'/>
         <menu label='Open Recent Projects'/>  <!--  contents is dynamic -->

         <menu label='Project'> <!-- TODO: decide whether we want to organize these differently -->
            <menu label='Add Complex File Naming Conventions...' action='run gnatname'/>
            <menu label='R_eload Project'                        action='reload project'/>
         </menu>

         <separator />

         <menu label='_New File'                          action='new file'/>
         <menu label='New File _View'                     action='new view'/>
         <menu label='_Open File...'                      action='open file'/>
         <menu label='Open File from _Host...'            action='open from host'/>
         <menu label='Open Recent Files' />  <!--  dynamic content provided by GPS -->
         <menu label='_Save'                         action='save'/>
         <menu label='Save _As...'                   action='save as'/>
         <menu label='Save _More'>
            <menu label='_All'                       action='save files and projects'/>
            <menu label='_Projects'                  action='save all projects'/>
            <menu label='_Desktop'                   action='save desktop'/>
         </menu>
         <separator />
         <menu label='Change _Directory...'          action='change directory'/>
         <menu label='Locations'>
            <menu label='Export Locations to Editor' action='export locations to editor'/>
         </menu>
         <separator />
         <menu label='_Print'                        action='print'/>
         <separator />
         <menu label='_Close'                        action='close current window'/>
         <menu label='Close _All'                    action='close all windows'/>
         <menu label='Close All Editors'             action='close all editors' optional='true'/>
         <menu label='Close All Editors except Current' optional='true'
               action='close all editors except current'/>

         <menu label='Reset all perspectives' action="reset perspectives"/>
         <separator />
         <menu label='_Exit'                         action='exit'/>
      </menu>

      <menu label='_Edit'>
         <menu label='_Undo'          action='undo' />
         <menu label='_Redo'          action='redo' />
         <separator />
         <menu label='_Cut'            action='cut to clipboard'/>
         <menu label='C_opy'           action='copy to clipboard'/>
         <menu label='P_aste'          action='paste from clipboard'/>
         <menu label='Pa_ste Previous' action='paste previous from clipboard'/>
         <separator />  <!--  Below this: selection -->
         <menu label='_Select All'            action='select all'/>
         <menu label='Spe_ll Check'>
            <menu label='Comments'          action='spell check comments' optional='True'/>
            <menu label='Whole Editor'      action='spell check editor' optional='True'/>
            <menu label='Selection'         action='spell check selection' optional='True'/>
            <menu label='Word'              action='spell check word' optional='True'/>
         </menu>
         <menu label='Cursors' optional='True'>
            <menu label='Add cursor and go down' action='add cursor and go down' optional='true'/>
            <menu label='Add cursor and go up' action='add cursor and go up' optional='true'/>
            <menu label='Cursor select next occurence of selection' action='cursor select next occurence of selection' optional='true'/>
            <menu label='Cursor skip next occurence of selection' action='cursor skip next occurence of selection' optional='true'/>
            <menu label='Add cursors to all references of entity' action='add cursors to all references of entity' optional='true'/>
         </menu>
         <menu label='Rectangle' optional='True'>
            <menu label='Cut'               action='rectangle_cut'   optional='true'/>
            <menu label='Copy'              action='rectangle_copy'  optional='true'/>
            <menu label='Paste'             action='rectangle_paste' optional='true'/>
            <separator />
            <menu label='Delete'            action='rectangle_delete' optional='true'/>
            <menu label='Clear'             action='rectangle_clear'  optional='true'/>
            <menu label='Open'              action='rectangle_open'   optional='true'/>
            <menu label='Replace with Text' action='rectangle_string' optional='true'/>
            <menu label='Insert Text'       action='rectangle_insert' optional='true'/>
            <separator />
            <menu label='Sort'              action='rectangle_sort'   optional='true'/>
            <menu label='Sort Reverse'      action='rectangle_sort_reverse' optional='true'/>
            <separator />
            <menu label='Serialize'         action='serialize' optional='True'/>
         </menu>

         <separator />
         <menu label='Insert _File...'      action='insert file'/>
         <separator />

         <menu label="C_ompare">
            <menu label="_Two Files..."              action="compare two files" />
            <menu label="T_hree Files..."            action="compare three files" />
         </menu>
         <separator />
         <menu label='Increase Text Size'   action='increase text size' optional='true'/>
         <menu label='Decrease Text Size'   action='decrease text size' optional='true'/>
         <separator />  <!--  Below this: general dialogs -->
         <menu label='Project Properties...'    action='open project properties'/>
         <menu label='_Preferences...'           action='open preferences'/>
      </menu>

      <menu label='_Navigate'>
         <menu label='Back'                       action='backward locations history'/>
         <menu label='Forward'                    action='forward locations history'/>
         <separator />
         <menu label='Goto _Declaration'         action='goto declaration'/>
         <menu label='Goto _Body'                action='goto body'/>
         <menu label='Goto Matching _Delimiter'  action='jump to matching delimiter'/>
         <menu label='Goto _Line...'             action='goto line'/>
         <menu label='Goto File Spec&lt;-&gt;Body' action='goto other file'/>
         <separator />
         <menu label='Locate in Files view'      action='Locate in Files view'/>
         <separator />
         <menu label='Add Boo_kmark'          action='bookmark create'/>
         <separator />
         <menu label='Start of Statement'        action='start of statement'/>
         <menu label='End of Statement'          action='end of statement'/>
         <menu label='Previous Subprogram'       action='previous subprogram'/>
         <menu label='Next Subprogram'           action='next subprogram'/>
         <separator />
         <menu label='Previous Locations Message' action='previous tag'/>
         <menu label='Next Locations Message'     action='next tag'/>
      </menu>

      <menu label='_Find'>
         <menu label='_Find...'                  action='search'/>
         <menu label='_Replace...'               action='replace'/>
         <menu label='Find _Previous'            action='find previous'/>
         <menu label='Find _Next'                action='find next'/>
         <menu label='Find Previous Incremental' action='isearch backward' optional='true'/>
         <menu label='Find Incremental'          action='isearch' optional='true'/>
         <separator />
         <menu label='Find Action'      action='global search in context: Actions'/>
         <menu label='Find Bookmark'      action='global search in context: Bookmarks'/>
         <menu label='Find Build Target'  action='global search in context: Build'/>
         <menu label='Find in Current Source'      action='global search in context: Current file'/>
         <menu label='Find Entity'      action='global search in context: Entities'/>
         <menu label='Find File in Project'      action='global search in context: file names'/>
         <menu label='Find Open Window'      action='global search in context: opened'/>
         <menu label='Find Plugin'      action='global search in context: plugins'/>
         <menu label='Find Preference'      action='global search in context: Preferences'/>
         <menu label='Find text in all sources'      action='global search in context: Sources'/>
         <separator />
         <menu label='Find All References'       action='find all references'/>
         <separator />
      </menu>

      <menu label='_Code'>
         <menu label='Format Selectio_n'      action='autoindent selection'/>
         <menu label='Selection'>
            <menu label='Comment _Lines'              action='comment lines'/>
            <menu label='Uncomment L_ines'            action='uncomment lines'/>
            <menu label='Print'                       action='print selection'/>
            <menu label='R_efill'                     action='refill'/>
            <menu label='Sort'                        action='sort selected lines ascending'/>
            <menu label='Sort Reverse'                action='sort selected lines descending'/>
            <menu label='Move Right'                  action='move block right'/>
            <menu label='Move Left'                   action='move block left'/>
            <menu label='Untabify'                    action='untabify'/>
            <menu label='Pipe in External Program...' action='pipe' optional='true'/>
            <menu label='Comment box'                 action='subprogram box'/>
         </menu>
          <!-- Below this: completion -->
         <menu label='Smar_t Completion'       action='complete identifier (advanced)'/>
         <menu label='_More Completion'>
            <menu label='Expand _Alias'        action='expand alias'/>
            <menu label='Complete _Identifier' action='complete identifier'/>
            <menu label='Complete Block'       action='block completion'/>
         </menu>
         <separator />  <!--  Below this: editor related -->
         <menu label='_Fold All Blocks'          action='fold all blocks'/>
         <menu label='Unfold All _Blocks'        action='unfold all blocks'/>
         <menu label='Edit with External Editor' action='edit with external editor'/>
         <menu label='_Generate Body'            action='generate body'/>
         <menu label='P_retty Print'             action='pretty print'/>

         <menu label='Python'> <!-- actions defined in the python_support.py plug-in -->
            <menu label='Import and reload file' action='reload python file'       optional='true'/>
         </menu>

         <menu label='XML'>  <!-- actions defined in the xml_support.py plug-in -->
            <menu label='Check Well Formedness' action='xml check well formedness' optional='true'/>
            <menu label='Escape Selection' action='xml escape selection' optional='true'/>
            <menu label='View as Tree'     action='xml view as tree'     optional='true'/>
            <separator/>
            <menu label='Move to Next Open Tag' action='XML move to next open tag'
                  optional='true'/>
            <menu label='Move to Next Close Tag' action='XML move to next close tag'
                  optional='true'/>
            <menu label='Move to Matching Close Tag' action='XML move to matching close tag'
                  optional='true'/>
         </menu>

         <separator /> <!--  Below this: general dialogs -->
         <menu label='_Aliases...'               action='aliases edit'/>
      </menu>

      <menu label='VCS'>
         <!--  for VCS1 (most menus are dynamic) -->
         <menu label='_Explorer'                  action='vcs open explorer'
               optional='true' hide='true'/>
         <menu label='_Activities'                action='vcs open activities window'
               optional='true' hide='true'/>
         <menu label='Update All _Projects'       action='vcs update all projects'
               optional='true' hide='true'/>
         <menu label='_Query Status for All Projects' action='vcs query status for all projects'
               optional='true' hide='true'/>

         <!--  for VCS2 -->
         <menu label="Commits"                    action="open commits"
               optional='true' hide='true'/>
         <menu label="Branches"                   action="open branches"
               optional='true' hide='true'/>
         <menu label="View global history"        action="open history"
               optional='true'/>
         <menu label="View file history"          action="open history for current file"/>
         <separator id='update section'/>
         <separator id='server section'/>
         <separator id='log section'/>
         <menu label='Show local changes for file' action='diff against head for file'/>
         <menu label='Show local changes for file (in editor)'
            action='diff against head for file in editor'/>
         <menu label='Show all local changes' action='diff all against head'/>
         <separator id='editors'/>
         <menu label='Show last modification for lines'  action='vcs annotate'/>
         <menu label='Hide last modification for lines'  action='vcs remove annotate'/>
      </menu>

      <menu label='_Build'>
         <menu label='Project'/>
         <menu label='Clean'/>
         <menu label='_Run'/>
         <menu label='_Makefile'/>
         <separator />
         <menu label='View types layout'  action='view types layout in file'
               optional='True'/>
         <separator />
         <menu label='Settings'>
            <menu label='_Modes'       action='build open modes settings' optional='True'/>
            <menu label='T_oolchains'  action='open toolchains editor'/>
         </menu>
         <menu label='Recompute _Xref Info' action='recompute xref info' optional='True'/>
         <menu label='Load Xref in Memory'  action='load xref in memory' optional='True'/>
      </menu>

      <menu label='SPARK'>
      </menu>

      <menu label='_CodePeer' optional='true'>
         <menu label='_Analyze All'          action='codepeer analyze all' optional='true'/>
         <menu label='Analy_ze...'           action='codepeer analyze...' optional='true'/>
         <separator/>
         <menu label='Analyze _File'         action='codepeer analyze file' optional='true'/>
         <menu label='Analyze File B_y File...' action='codepeer analyze file by file' optional='true'/>
         <separator/>
         <menu label='_Display Code Review'  action='codepeer display code review'
               optional='true'/>
         <menu label='Display _HTML Report' action='codepeer display html' optional='true'/>
         <menu label='Generate CS_V Report...' action='codepeer generate csv' optional='true'/>
         <menu label='Ad_vanced'>
            <menu label='_Regenerate Report...' action='codepeer regenerate report' optional='true'/>
            <menu label='_Generate SCIL...'  action='codepeer generate scil' optional='true'/>
            <menu label='CodePeer _Log'  action='codepeer log'           optional='true'/>
            <separator/>
            <menu label='R_emove Lock'   action='codepeer remove lock'   optional='true'/>
            <menu label='Remove _XML Code Review' action='codepeer remove xml review'
                  optional='true'/>
            <menu label='_Remove SCIL'   action='codepeer remove scil'   optional='true'/>
            <menu label='Remove _SCIL &amp; DB' action='codepeer remove scil and db'
                  optional='true'/>
         </menu>
      </menu>

      <menu label='_Analyze'>

         <menu label="GNAThub">
            <menu label='Display GNAThub Analysis' action='gnathub display analysis' optional='true'/>
         </menu>

         <menu label="Cov_erage">
            <menu label="_Show Report"               action="open coverage report"/>
            <separator/>
            <menu label="Load Data for _All Projects" action="coverage load data for all projects"/>
            <menu label="Load Data for Current _Project"
                  action="coverage load data for current project"/>
            <menu label="Load Data for Current _File"
                  action="coverage load data for current file"/>
            <menu label="C_lear Coverage from Memory"
                  action="coverage clear from memory"/>
            <menu label="_Gcov">
               <menu label="Compute Coverage Files"  action="gcov compute coverage files" />
               <menu label="Remove Coverage Files"   action="gcov remove coverage files" />
            </menu>
            <menu label="GNATcov" optional="true">
            </menu>
         </menu>

         <menu label="_Metrics">
            <menu label="Compute Metrics on Current _File"
                  action="gnat metric on current file"/>
            <menu label="Compute Metrics on Current P_roject"
                  action="gnat metric on current project"/>
            <menu label="Compute Metrics on Current Project &amp; _Subprojects"
                  action="gnat metric on current project and subprojects"/>
         </menu>

         <menu label="Stac_k Analysis">
            <menu label="_Analyze Stack Usage"               action="analyze stack usage"
                  optional='True'/>
            <separator/>
            <menu label="_Open Undefined Subprograms Editor"
                  action="gnatstack open undefined subprogram editor"
                  optional='True'/>
            <separator/>
            <menu label="_Load Last Stack Usage"             action="load last stack usage"
                  optional='True'/>
            <menu label="_Clear Stack Usage Information"
                  action="clear stack usage information" optional='True'/>
         </menu>

         <menu label="Coding _Standard" optional='True'>
            <menu label="_Edit Rules File"         action="edit gnatcheck rules" optional='True'/>
            <menu label="Check Root Project &amp; _Subprojects"
                  action="gnatcheck root project recursive" optional='True'/>
            <menu label="Check Root _Project"      action="gnatcheck root project" optional='True'/>
            <menu label="Check Current _File"      action="gnatcheck file" optional='True'/>
         </menu>
         <menu label="GNATtest">
            <menu label="Generate Unit Test Setup" action="run gnattest on root"/>
            <menu label="Show not Implemented Tests" action="show not implemented tests"/>
            <menu label="Open Harness Project"       action="open harness"/>
            <menu label="Exit from Harness Project"  action="exit harness"/>
         </menu>

         <separator/>

         <menu label="Documentation">
            <menu label="Generate _Project"   action="documentation generate for project"/>
            <menu label="Generate Project &amp; _Subprojects"
                  action="documentation generate for project and subprojects"/>
            <menu label="Generate _Current File"
                  action="documentation generate for current file"/>
         </menu>

      </menu>

      <menu label='_Debug'>
         <menu label="Initialize"/>
         <menu label="Debug">
            <menu label="_Connect to Board..." action="debug connect to board"/>
            <menu label="_Load File..."        action="debug load file"/>
            <menu label="Add _Symbols..."      action="debug add symbols"/>
            <menu label="_Attach..."           action="debug attach"/>
            <menu label="_Detach"              action="debug detach"/>
            <menu label="Debug C_ore File..."  action="debug core file"/>
            <menu label="_Kill"                action="debug kill"/>
         </menu>
         <menu label="D_ata">
            <menu label="_Variables"          action="open debugger variables window"/>
            <menu label="_Call Stack"         action="open debugger call stack"/>
            <menu label="_Protection Domains" action="open protection domains debugger window"/>
            <menu label="_Threads"            action="open threads debugger window"/>
            <menu label="Tas_ks"              action="open tasks debugger window"/>
            <menu label="A_ssembly"           action="open assembly view"/>
            <menu label="_Breakpoints"        action="open breakpoints editor"/>
            <menu label="_Registers"          action="open registers view"/>
            <menu label="_Execution"          action="open debugger execution"/>
            <separator/>
            <menu label="_Examine Memory"     action="examine memory"/>
            <separator/>
            <menu label="Display _Local Variables" action="debug tree display local variables"/>
            <menu label="Display _Arguments"       action="debug tree display arguments"/>
            <menu label="Display Any _Expression..." action="debug tree display expression"/>
         </menu>
         <separator/>
         <menu label="_Run..."                      action="debug run dialog"/>
         <menu label="S_tep"                        action="debug step"/>
         <menu label="Step _Instruction"            action="debug stepi"/>
         <menu label="_Next"                        action="debug next"/>
         <menu label="N_ext Instruction"            action="debug nexti"/>
         <menu label="_Finish"                      action="debug finish"/>
         <menu label="_Continue"                    action="debug continue"/>
         <menu label="Continue to Current Line"     action="debug continue until"/>
         <menu label="_Interrupt"                   action="debug interrupt"/>
         <separator/>
         <menu label="Te_rminate Current"           action="terminate debugger"/>
         <menu label="Ter_minate"                   action="terminate all debuggers"/>
      </menu>

<!--  TODO: Find a place for these
      <menu label='_Tools'>

         <menu label="M_acro">
            <menu label="_Start Keyboard Macro"       action="macro start keyboard"/>
            <menu label="Start Mouse Macro"       action="macro start mouse" optional="True"/>
            <menu label="St_op Recording"             action="macro stop"/>
            <menu label="_Play"                       action="macro play"/>
            <menu label="Load..."                    action="macro load"/>
            <menu label="Save As..."                 action="macro save"/>
         </menu>
         <separator/>
         <menu label="_Interrupt"                 action="interrupt"/>
      </menu>
-->

      <menu label='_View'>
         <menu label="_Files"                     action="open files"/>
         <menu label="Project"                   action="open project"/>
         <menu label="_Outline"                   action="open outline"/>
         <menu label="_Bookmarks"                 action="open bookmarks"/>
      <separator />
         <menu label="_Locations"                 action="open locations"/>
         <menu label="_Messages"                  action="open messages"/>
      <separator />
         <menu label="Ca_ll Trees"                action="open call trees"/>
         <menu label="_Clipboard"                 action="open clipboard"/>
         <menu label="File Sw_itches"             action="open switches editor"
               optional='true'  hide='true' />
         <menu label="_Files"                     action="open files"/>
         <menu label="Learn"                      action="open Learn"/>
         <menu label="Metrics"                    action="open metrics view"/>
         <menu label="Memory Usage"               action="open memory usage" />
         <menu label="_Remote"                    action="open remote"/>
         <menu label="Scenario"                  action="open scenario"/>
         <menu label="Tasks"                     action="open Tasks"/>

         <menu label='VCS'>
             <menu label="Commits"                action="open commits"
                   optional='true' hide='true'/>
             <menu label="History"                action="open history"
                   optional='true' hide='true'/>
             <menu label="Branches"               action="open branches"
                   optional='true' hide='true'/>
             <menu label="_Activities"            action="VCS open activities window"
                   optional='true' hide='true'/>
             <menu label="_Explorer"              action="VCS open explorer"
                   optional='true' hide='true'/>
         </menu>
         <menu label="_Windows"                   action="open windows"/>

      <separator />
         <menu label="_Call Graph Browser"                action="open call graph browser"/>
         <menu label="_Dependency Browser"                action="open dependency browser"/>
         <menu label="_Elaboration Circularities Browser" action="open elaboration circularities"/>
         <menu label="E_ntity Browser"                    action="open entity browser"/>
         <menu label="Project Browser"                   action="open project browser"/>

      <separator />
         <menu label="_Python Console"            action="open python"/>
         <menu label="OS Shell"                   action="open os shell"/>
         <menu label="_Auxiliary Builds"          action="open auxiliary builds"/>
         <menu label="_Background Builds"         action="open background builds"/>
         <menu label="_Log"                       action="open log view"/>
      </menu>

      <menu label='_Window'> <!-- TODO: add the ability for GPS to add here-->
      </menu>

      <menu label='Help'>
         <menu label='Welcome'      action='open welcome'/>
         <menu label='_Contents'    action='display help contents'/>
         <menu label='GPS'/>
         <menu label='GNAT Runtime'>
            <menu label='Standard'  action='display standard.ads'/>
         </menu>
         <menu label='GNAT'/>
         <menu label='GPR'/>
         <menu label='GNU Tools'/>
         <menu label='Gprbuild'/>
         <menu label='XMLAda'/>
         <menu label='Ada'/>
         <menu label='Python'>
            <menu label='Python Library' action='display python library help' optional='true'/>
         </menu>
         <menu label='AWS'/>
         <menu label='SPARK'/>
         <menu label='A_bout'       action='about gps'/>
      </menu>
   </menubar>

   <toolbar id='main'>
      <button action="new file"/>
      <button action="open file"/>
      <button action="save"/>
      <separator id="editor"/>
      <button action="undo"/>
      <button action="redo"/>
      <separator id="navigation"/>
      <button action="backward locations history" label='back'/>
      <button action="forward locations history" label='forward'/>
      <separator id='build'/>
      <separator id='debug'/>
      <button action="debug continue" hide='true'/>
      <button action="debug interrupt" hide='true'/>
      <button action="terminate debugger" hide='true'/>
      <separator/>
      <button action="debug next" hide='true'/>
      <button action="debug finish" hide='true'/>
      <button action="debug step" hide='true'/>
      <button action="debug up" hide='true'/>
      <button action="debug down" hide='true'/>
      <separator id='user'/>
   </toolbar>

   <toolbar id='Project'>
      <button action='reload project'/>
      <button action='open project properties' hide='true'/>
      <button action='Project view: collapse all projects'/>
   </toolbar>

   <toolbar id='History'>
      <button action='history refresh'/>
   </toolbar>

   <toolbar id='Clipboard'>
      <button action='clipboard View Append To Previous'/>
      <button action='clipboard View Remove Entry'/>
   </toolbar>

   <toolbar id='Call Trees'>
      <button action='calltree clear'/>
      <button action='calltree remove selection'/>
      <separator/>
      <button action='calltree expand selected'/>
      <button action='calltree collapse selected'/>
      <separator/>
      <button action='calltree previous'/>
      <button action='calltree next'/>
   </toolbar>

   <toolbar id='Windows'>
      <button action='windows view close selected'/>
   </toolbar>

   <toolbar id='Bookmarks'>
      <button action='bookmark create'/>
      <button action='bookmark create group'/>
      <button action='bookmark create unattached'/>
      <button action='bookmark remove selected'/>
      <separator/>
      <button action='bookmark rename'/>
      <button action='bookmark edit note'/>
   </toolbar>

   <toolbar id='Switches editor'>
      <button action='edit switches for file'/>
   </toolbar>

   <toolbar id='Outline'>
   </toolbar>

   <toolbar id='Files'>
      <button action='refresh files view'/>
   </toolbar>

   <toolbar id='Locations'>
      <button action='locations clear'/>
      <button action='locations remove selection'/>
      <button action='locations export to text file'/>
      <separator/>
      <button action='locations expand selected'/>
      <button action='locations collapse selected'/>
   </toolbar>

   <toolbar id='Messages'>
      <button action='messages clear'/>
      <separator/>
      <button action='messages save to file'/>
      <button action='messages load from file'/>
   </toolbar>

   <toolbar id='Run'>
      <button action='export console to file'/>
   </toolbar>

   <toolbar id='Key Shortcuts'>
      <button action='key shortcuts expand all'/>
      <separator/>
   </toolbar>

   <toolbar id='Debugger Console'>
      <button action='debug clear console'/>
   </toolbar>

   <toolbar id='Breakpoints'>
      <button action='debug clear breakpoints'/>
      <button action='debug delete breakpoint'/>
      <button action='debug enable breakpoints'/>
      <button action='debug disable breakpoints'/>
      <separator/>
      <button action='debug view breakpoint'/>
      <button action='debug edit breakpoint'/>
      <separator/>
      <button action='debug create breakpoint'/>
   </toolbar>

   <toolbar id='Call Stack'>
      <button action='debug callstack fetch'/>
   </toolbar>

   <toolbar id="Debugger Variables">
      <button action="debug tree clear"/>
      <button action="debug tree display expression"/>
      <button action="debug tree undisplay"/>
      <separator/>
      <button action="debug tree display local variables"/>
      <button action="debug tree display arguments"/>
   </toolbar>

   <toolbar id='Assembly'>
      <button action='assembly_view disassemble previous'/>
      <button action='assembly_view disassemble pc'/>
      <button action='assembly_view disassemble next'/>
   </toolbar>

   <toolbar id='Registers'>
      <button action='register_view select all'/>
      <button action='register_view deselect all'/>
   </toolbar>

   <toolbar id='Browser'>
      <separator id='zoom'/>
      <button action='browser zoom out'/>
      <button action='browser zoom in'/>
      <separator/>
      <button action='browser toggle links'/>
      <button action='browser refresh'/>
      <button action='browser select all'/>
      <separator/>
      <button action='browser clear'/>
      <button action='browser remove unselected'/>
      <button action='browser remove selected'/>
      <separator id='export'/>
   </toolbar>
   <toolbar id='Call Graph Browser' inherit='Browser'/>
   <toolbar id='Dependency Browser' inherit='Browser'/>
   <toolbar id='Elaboration Circularities' inherit='Browser'/>
   <toolbar id='Entity Browser' inherit='Browser'/>
   <toolbar id='Project Browser' inherit='Browser'/>
   <toolbar id='Debugger Data' inherit='Browser'/>

   <toolbar id='Commits'>
      <separator id='commits'/>
      <button action='vcs commit staged files'/>
      <separator id='stages'/>
      <button action='vcs toggle stage selected files'/>
      <button action='vcs discard local changes'/>
      <button action='diff against head for file'/>
      <button action='vcs reload status'/>
   </toolbar>

   <toolbar id='Branches'>
      <button action='vcs add branch'/>
      <button action='vcs delete branch'/>
      <button action='vcs checkout branch'/>
      <button action='vcs rename branch'/>
   </toolbar>

   <toolbar id="MDL Browser" inherit='Browser'>
     <separator/>
      <button action='Log subsystem values'/>
      <button action='Stop logging subsystem values'/>
      <button action='MDL goto parent subsystem'/>
      <button action='MDL goto previous subsystem'/>
   </toolbar>

   <toolbar id='Log View'>
      <button action='log save'/>
      <button action='log configure'/>
   </toolbar>

</GPS>