menudata_pyedit.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <menudata>
  2. <menubar>
  3. <menu>
  4. <label>&amp;File</label>
  5. <items>
  6. <menuitem>
  7. <label>Open</label>
  8. <help>Load model from file</help>
  9. <handler>OnOpen</handler>
  10. <shortcut>Ctrl+O</shortcut>
  11. </menuitem>
  12. <menuitem>
  13. <label>Save</label>
  14. <help>Save model</help>
  15. <handler>OnSave</handler>
  16. <shortcut>Ctrl+S</shortcut>
  17. </menuitem>
  18. <menuitem>
  19. <label>Quit editor</label>
  20. <help>Close editor window</help>
  21. <handler>OnClose</handler>
  22. <shortcut>Ctrl+W</shortcut>
  23. </menuitem>
  24. </items>
  25. </menu>
  26. <menu>
  27. <label>&amp;Run</label>
  28. <items>
  29. <menuitem>
  30. <label>Run</label>
  31. <help>Run Python script</help>
  32. <handler>OnRun</handler>
  33. <shortcut>Ctrl+R</shortcut>
  34. </menuitem>
  35. <menuitem>
  36. <label>Set parameters</label>
  37. <help>Set command line parameters for the script</help>
  38. <handler>OnSetParameters</handler>
  39. </menuitem>
  40. </items>
  41. </menu>
  42. <menu>
  43. <label>&amp;Templates</label>
  44. <items>
  45. <menuitem>
  46. <label>Load script &amp;template</label>
  47. <help>Load simple script template</help>
  48. <handler>OnSimpleScriptTemplate</handler>
  49. </menuitem>
  50. <menuitem>
  51. <label>Load GRASS &amp;tool template</label>
  52. <help>Load full GRASS tool template</help>
  53. <handler>OnGrassModuleTemplate</handler>
  54. </menuitem>
  55. </items>
  56. </menu>
  57. <menu>
  58. <label>&amp;Examples</label>
  59. <items>
  60. <menuitem>
  61. <label>Load script &amp;example</label>
  62. <help>Load simple script example</help>
  63. <handler>OnSimpleScriptExample</handler>
  64. </menuitem>
  65. <menuitem>
  66. <label>Load GRASS &amp;tool example</label>
  67. <help>Load full GRASS tool example</help>
  68. <handler>OnGrassModuleExample</handler>
  69. </menuitem>
  70. <menuitem>
  71. <label>Load GRASS tool error &amp;handling example</label>
  72. <help>Load full GRASS tool with error handling example</help>
  73. <handler>OnGrassModuleErrorHandlingExample</handler>
  74. </menuitem>
  75. </items>
  76. </menu>
  77. <menu>
  78. <label>&amp;Help</label>
  79. <items>
  80. <menuitem>
  81. <label>GRASS Python Help</label>
  82. <help>Display documentation for writing Python code in GRASS GIS</help>
  83. <handler>OnHelp</handler>
  84. </menuitem>
  85. <menuitem>
  86. <label>Python help</label>
  87. <help>Display documentation for writing Python code in general</help>
  88. <handler>OnPythonHelp</handler>
  89. </menuitem>
  90. <menuitem>
  91. <label>GRASS Tools help</label>
  92. <help>Display the HTML man page index for all GRASS tools</help>
  93. <handler>OnModulesHelp</handler>
  94. </menuitem>
  95. <menuitem>
  96. <label>GRASS Python code guidelines</label>
  97. <help>Display guidelines for submitting Python code to GRASS GIS</help>
  98. <handler>OnSubmittingHelp</handler>
  99. </menuitem>
  100. <menuitem>
  101. <label>Getting your code to GRASS Addons</label>
  102. <help>Display instructions for submitting you code to GRASS GIS Addons repository</help>
  103. <handler>OnAddonsHelp</handler>
  104. </menuitem>
  105. <menuitem>
  106. <label>Get support</label>
  107. <help>Display information about getting support for writing Python code in GRASS GIS</help>
  108. <handler>OnSupport</handler>
  109. </menuitem>
  110. </items>
  111. </menu>
  112. </menubar>
  113. </menudata>