Menu Plug-In Operations
Menu plug-in operations define the menu items you want add to IDE menus. The operation names and their parameters are pre-defined, but the name of the component (or components) in which they are defined is not.
Implement all of the following operations in each menu plug-in component:
- getVersion—return the version number of the API that you have programmed for.
- getGlobalMenuOptions—return a Struct containing menu options for the Main Menu ( ≡ )).
- getEditorMenuOptions—return a Struct containing menu options for the Actions menu in object editors. These options can be dynamic, based on the type and/or name of the current object.
Note: If you don't define all three operations, warnings are displayed in the Message Output tab.