Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Topcased is an “integrated System/Software engineering toolkit compliant with the requirements of critical and embedded applications”.
We are mostly interested in the subproject TOPCASED-UML2 which is the only stable and free Eclipse-based UML Editor which supports UML-Profile creating and application compatible with Eclipse 3.5.
Download the latest Eclipse Modeling distribution 1).
3. Open the installation dialog with “Help » Install New Software”.
4. Copy
http://topcased-mm.gforge.enseeiht.fr/release/update-site3.5/
to the Working with field and press ENTER
5. Install Topcased UML Editor and Topcased Dependencies from the Topcased Toolkit section.
To set the stereotype's meta-class add a meta-class element to the diagram and assign a uml classifier (e.g. Class, Association, Operation, CallBehaviourAction,…) to it. Then add an Extension connection from your stereotype:
To add a Property2) to your stereotype, click first on the Property item in the panel and then onto the target stereotype. Assign a type to the Property. Ideally use uml::XX primitive types (e.g. uml::Integer), otherwise the property might not be available in the applying uml diagram if the type is not imported there:
The properties are not visible/editable in the UML Diagrams themselves, but in the Properties view when selecting a classifier (Class, Activity,etc.). You can open the Properties view by pressing Ctrl-3 and typing “Properties”.
Be aware: It is not possible to edit a profile an applying model document at the same time with topcased editors. The editor for the later opened file will be opened read-only.
Open the editor's outline and right-click on the element to constraint. Add a Constraint child:
Select the constraint, open the Properties view 3), select the Specification tab on the left and add the language OCL4). Now you can add on ocl constraint by clicking “create OCL expression”: