Working with modules¶
What are Modelio modules?¶
Modelio modules are complementary components, each of which provides specific services tailored to a particular modeling need.
Modelio provides a number of modules, all of which exploit a model for a specialized need (for example, C++ or Java code generation).
When a module is installed, it provides specific menus, icons and specialized annotations. Some modules also add their own property view, designed to make it even easier to enter module-specific elements, such as dedicated notes and tagged values.
Installing a module in a project¶
- 1. Click on “Extensions\Install a module…”.
- 2. In the “Open” window, select the module you want to install.
- 3. Click on “Open” to run the installation procedure.
Modelio provides a module activation/deactivation feature that enables you to activate or deactivate any and all of the modules installed in your project at any time.
When you install a module in your project, it is automatically activated (active modules tickboxes are checked).
When modules are deactivated, they remain available for subsequent activation in your project, meaning you can still see and use module-specific extensions. This can be useful for team members who do not actually need to work with a given module, but who still need to be able to see dedicated module annotations used by other team members, for example.
To activate or deactivate a module in your project, just run the “Activate/Deactivate modules” command from the “Extensions” menu, as shown below.
Activating/Deactivating modules in your project¶
- 1. Click on “Extensions\Activate/Deactivate modules…”.
- 2. Select the module(s) you want to activate or deactivate.
- 3. Click on “OK” to confirm.
Removing a module will delete all its annotations and disable all its commands and functionalities. This cannot be undone, meaning even reinstalling the module won’t restore the annotations.
Removing a module from a project¶
- 1. Click on “Extensions\Remove a module…”.
- 2. In the “Remove module(s)” window, select the module you want to remove.
- 3. Click on “Remove” to run the removal procedure.
- 4. In the ‘Module Removal’ window, click on “OK” to confirm that you really want to remove the module, knowing that this operation cannot be undone.
A module annotations can be used by model components and/or SVN read-only elements, to be able to remove the module you must first remove the model components that use the module annotations and/or get the SVN lock on the relevant elements or on the project root.
Setting module options¶
Each module installed in your project provides a set of parameters used to define various specific options, typically generation directories, editing tools and default selections.
Module parameters are organized into different sub-categories, which are presented in the “Settings” window (as shown in the screenshot below).
An example of different module parameter settings¶
To open the “Settings” window and set module options, just run the “Settings” command from the “Configuration” menu.