How to make a new data model class and add attributes with Topcased

From EdnaWiki
Jump to: navigation, search

Here we assume that you have created a new UML model or opened an existing UML model with Topcased in Eclipse.

How to add a new data model class

Click on "Class" in the "Object" list in the Topcased UML editor:

TopcasedNewClass1.png

Then click somewhere in the UML diagram:

TopcasedNewClass2.png

Rename the class:

TopcasedNewClass3.png

If needed, resize the class:

TopcasedNewClass4.png

How to add attributes to a class

Click on "property" in the "Object" list:

TopcasedNewAttribute1.png

Move your mouse pointer to the middle field in the class model:

TopcasedNewAttribute2.png

Click for creating the attribute. Edit its name:

TopcasedNewAttribute3.png

In the "Properties" view, click on the button next to "Type:"

TopcasedNewAttribute4.png

Search and select the type:

TopcasedNewAttribute5.png

If needed change the coordinality:

TopcasedNewAttribute6.png

Your new attribute is added! If needed resize the class:

TopcasedNewAttribute7.png