Select the package named tutorial in the package explorer, right
click on the package element > Open UML > Class inheritance
explorer. Note that selecting Class
inheritance, dependence or association allows us to create a class
diagram with the same name as the package.

The class diagram appears. We need to
create a class and so use the class diagram editor. Select
the Create a class icon from the toolbar and drag the icon to the
class diagram editor. The class will be created at the place where you
drop the icon.

Enter the name of the class in the
Name field (e.g. Employee) and click on the Finish button.

Note that the Employee class has been
created in the class diagram editor. We now want to add a specific
stereotype (e.g. "MyStereotype") to the class. We left click on
Employee inside the class diagram editor and right click to open
the popup menu > Properties.

Click on the New Stereotype button.

We are trying to enter "MyStereotype" in
the Stereotype tab, but it is impossible. We can only choose a
stereotype inside the drop down list.
How do we create a standard UML
2 stereotype ? (see the next section to find out)

|