+49 (30) 467086-20 service@microtool.de
Products » objectiF RM » Extension functions » Create and execute an extension function » Displaying commands in the context menu

Displaying commands in the context menu

If you work with extension functions or develop your own forms, you should specify where the associated commands are displayed in the context menu. You can either assign commands to existing context menu groups or – particularly for extensions – define a separate group for them.

Determine group for classification

The context menu is divided into different groups. Each individual entry can be regarded as a group.

For most context menu commands, you can display the group name and the position. Call up the context menu and move the mouse over a command. Do not click! Press the F1 key. A message appears in the output that provides information about the name of the command, the group name and the weighting.

The command is called Derive test cases, the group is Frequently used commands for creating and the position is 3.

Overview of context menu groups

You can assign the commands for creating and editing artifacts and the commands for enhancement functions to the following context menu groups:

Displaying in menu groupFormExtension function
Activitytop menu, own group-
Requirementunder "Create"-
Viewtop menu, own group-
Import Artefactstop menu, own group-
Description documentunder "Description document"-
Create documentsunder "Create", Group „Document“-
Exportunder "Export"-
Sometimes used commands for creating other elementsunder "Create other", group „Query Type“-
Sometimes used commands for creatingunder "Create", own group-
Frequently used commands for creating other elementsunder "Create other", group „Form, Pattern, Variation point“-
Frequently used commands for creatingunder "Create", group „Actor, Persona…“-
Commands for files and directoriestop menu, own group-
Commands for access rightstop menu, group „Edit permission“x
Commands for image creationtop menu, own groupx
Commands for deletiontop menu, group „Delete“x
Commands for manipulationtop menu, group „Edit…“x
Commands for navigationtop menu, group „Show Diagrams“x
Commands for revisionsunder "Edit Revision"x
Commands for sharingunder "Share"x
Commands for creating block diagram elementsunder "Create", group "Block"-
Commands for creating diagramsunder "Create diagrams", group „Diagrams"-
Commands for creating diagram referencesunder "Create diagrams", group „Diagram references“-
Commands for creating extension functionsunder "Create other", group „Extension Function“-
Commands for creating viewsunder "Create other", group „Burn Up etc.“-
Commands for viewing relationshipsunder "Got to"-
Commands for executing Extension Functionsown group-
Commands for go-to-navigationunder "Go to"x
Create Model Activitiesunder "Create", group „Model Aktivity“-
Apply patterntop menu, group „Pattern Catalog“-
Very frequently used commands for creating other elementsunder "Craete other", group „Query“-
Very frequently used commands for creatingunder "Create", group „Requirement“-
Rarely used commands for creating other elementsunder "CReate other", group „Profile“-
Rarely used commands for creating under "Create", group „Specification“-
Edit Script Packageunder " Edit Script Directory"-
Variantsunder "Variants"-
Edit Directoriesunder "Create", group „New Directory“-
Create Goalsunder "Create", own group-
User defined-x
Commands for merging filestop menu, group "Software engineering"-

Sorting commands for forms in the context menu

When you create new forms, you must specify where the commands for creating and editing should appear in the context menu. Forms are displayed in the context menu and can be selected and used by users only if they are correctly assigned to a context menu group. Without this assignment, they remain invisible.

  1. Open the form with Edit.
  2. Name the form and select the stereotype for which the form was created.
  3. Under Usage, specify when the form should be opened: only for creating, only for editing, or in both cases.
  4. Switch to the Create Command or Edit Command tab and select the Display at Top Menu Level option.
  5. Select a group from the drop-down menu and specify a weight. The higher the value, the lower the commands are ranked. If a command has a weight of 0 and you want another command to be displayed before it, you can also work with negative values.
  1. Save and then check whether the forms are correctly positioned or whether the commands should instead be provided in a different group with a different display name.

Classify commands for extension functions in the context menu

If you have created an extension function and have not made any further settings when creating the command, then the command to execute is offered to you by default via the context menu command Run Extension Function → [Your command].

Alternatively, you can specify a group for extension functions or create a user-defined group.

  1. Open the Commands for Extension Functions view via the context-specific menu by selecting the command Project → Settings → Configure Commands.
  2. Click the Plus and select Extension Function Command.
  3. Under Positioning, select the Display on top-most level in menu option.
  4. Select a group from the dropdown menu and enter a weight. If you want to have your own group for extension functions, choose User defined and enter a name in the field below. The higher the value, the lower the commands will be. If a command has the weight 0 and you want another command to be displayed before it, you can also work with negative values.
  1. Save with OK.