Every project has project related options. These options are stored together with the project data. Options are organized using com.nomagic.magicdraw.properties.Property and com.nomagic.magicdraw.properties.PropertyManager classes.
Project options belong to three categories:
- Visible in the Project Options UI window
- Invisible in the Project Options UI window
- Personal invisible in the Project Options UI window
Personal options are specific to every user in a server project. It means, every user may have different values of the same option if it is marked as "personal". The personal option is treated as a regular option in a local project.
Retrieving Project Options
Retrieving Project Option value
The following example shows how to access project option’s value:
Adding custom project options
Configurators are used for defining a new project options.
The following example shows, how to add the project option’s configurator at the plugin’s init() method in order to have the additional project option ”Test Property” for every project.
- No labels