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).
- Choose the download of “Eclipse Modelling Tools” that matches your platform.
3. Open the installation dialog with “Help » Install New Software”.
to the Working with field and press ENTER
5. Install Topcased UML Editor and Topcased Dependencies from the Topcased Toolkit section.
- To create a (profile) diagram select File→New→“New UML model with TOPCASED”
- Your file names must end with .profile.umldi and .profile.uml respectively.
- Read pages from 7-12 Topcased UML Feature Tutorial
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.
- After modifying an UML-Profile you must
- define the profile: right-click on the root element (<Model>) in the outline (in the latest version you are asked for re-definition on every save)
- re-apply the profile in all UML diagrams already using the profile: right-click on the root element (<Model>) in the outline, select apply an add the profile in question
Open the editor's outline and right-click on the element to constraint. Add a Constraint child:
- The promising MDT UML2 Tools can not be considered complete, yet (Jan. 2010). Setting stereotype properties are not supported, yet. And all diagrams, except class diagrams, are only rudimentary implemented.