Structure of the PTM box
Overview of the PTM window
The PTM GUI window is organized into several panels (Figure 63):
· The "Projects" panel presents the list of the projects created for the model.
· The "Project actions" panel represents the list of targets associated with the project currently selected in the "Projects" panel.
· The "Project contents" panel presents the hierarchy of UML model elements manifested by the currently selected project.

Figure 63. The PTM window
The "Projects" panel
The "Projects" panel represents the list of projects created for the model. It visualizes the state of each project, with the active project being indicated by a green tick. Inactive projects are indicated by gray ticks.
The "Projects" panel contains the following icons:
|
The …
icon |
Is
used to… |
|
|
Create a new project. |
|
|
Edit the properties of the selected project. |
|
|
Activate the selected project. |
|
|
Remove the selected project. |
|
|
Generate C++ code for the selected project. |
|
|
Generate C++ code and doxygen documentation and perform compilation for the selected project. |
|
|
Compile the selected project. |
The "Project Actions" panel
The "Project Actions" panel presents the list of C++ code generation, documentation generation and compilation targets associated with the project currently selected in the "Projects" panel. It details the state of each target. Active targets are marked by green ticks and inactive targets by gray ones.
The panel contains two pages:
· The "Generation targets" page represents C++ code generation targets associated with the selected project.
· The "Build targets" page represents documentation and compilation targets associated with the selected project.
The "Generation targets" page contains the following icons:
|
The …
icon |
Is
used to… |
|
|
Create a new C++ code generation target associated with the project. |
|
|
Edit the options of the selected C++ code generation targets. |
|
|
Activate the selected C++ code generation target. |
|
|
Remove the selected C++ code generation target. |
|
|
Generate C++ code for the selected code generation target. |
The "Build targets" page contains the following icons:
|
The …
icon |
Is
used to… |
|
|
Create a new C++ compilation target associated with the project. |
|
|
Create a new documentation generation target associated with the project. |
|
|
Edit options of the selected documentation or compilation target. |
|
|
Activate the selected documentation or compilation target. |
|
|
Remove the selected documentation or compilation target. |
|
|
Browse documentation produced by the selected documentation target. |
|
|
Build the selected documentation or compilation target. |
The "Project Contents" panel
The "Project Contents" panel presents the hierarchy of UML model elements manifested by the current selected project. Only these elements are processed by the project targets.
The "Project Contents" panel contains the following icon:
|
The …
icon |
Is
used to… |
|
|
Un-manifest the selected model element from the project. |