-
Notifications
You must be signed in to change notification settings - Fork 30
SysML Constraint Checker Plugin
Alexander Stante edited this page Mar 26, 2014
·
5 revisions
The SysML model must hold certain rules to be able to be correctly transformed to SCADE, Classical B, etc. In order to maintain these rules, the plugin contains a definition of constraints, utilizing the Eclipse Validation Framework. Violations will be highlight within the model via markers. To start the model valdation, right click on the SysML model in the Model Explorer and select Validation > Select constraints and Validate model
. The followin constraints are currently included:
- All parameters and return values of Operations have an associated type
- All names are valid Classical B identifier
- All SysML Block names are unique within the model
- No NamedElement uses a reserved Classical B keyword
Plugin: https://github.com/openETCS/toolchain/tree/master/tool/bundles/org.openetcs.sysml.constraints