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 modules

2

Installing a module in a project

Steps:

  • 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.

Activating/Deactivating modules

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.

3

Activating/Deactivating modules in your project

Steps:

  • 1. Click on “Extensions\Activate/Deactivate modules…”.
  • 2. Select the module(s) you want to activate or deactivate.
  • 3. Click on “OK” to confirm.

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).

4

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.

ActivateModule-en.png (51.6 KB) admin admin, 12 June 2012 16:16

InstallModule-en.png (58.2 KB) admin admin, 12 June 2012 16:16

modeler_fig_66.gif (43.8 KB) admin admin, 12 June 2012 16:16