To put the commands in the contextual menu, open the "Create a contextual menu" dialog box.
Right-clic on the module project to open the contextual menu and select:
image Modelio Studio –> image Create element –> image Contextual menu
Or double-clic on image module_name / image gui / image contextual menu

image

The commands available are displayed in the left hand list and on the right hand, it is the structure of the module contextual menu.

Creation groups

The module contextual menu can contains one or more groups. The group can be created under the root menu or under a group.

image

image

To create a group:

  1. select its parent

  2. Click the image button.

  3. Enter the label

  4. Optionally, select an 16x16 icon.

  5. Valid by clicking the "OK" button

Adding commands

To add a command in the contextual menu:

  1. From the "Available commands" Select the command

  2. From the "Contextual menu" select the group which the command will be placed.

  3. Click the image button to add the selected command into the selected group or root menu.