Working with the UML Profile for SAP NetWeaver(tm) Developer Studio

The UML Profile for SAP NetWeaver(tm) Developer Studio provides one new stereotype for the following diagram elements:

Diagram Element
Stereotype
Class Example Stereotype
Interface Example Stereotype

Adding this stereotype to the corresponding element will create a custom property for that element. In the Property view you will see this as Custom Property 1, under the Custom Category.

With this profile switched on, classes and interfaces gain an additional boolean property - 'Web Dynpro Import'. Members and association links have an additional boolean property called 'No Web Dynpro Import'.

Adding a Stereotype

Add a stereotype to an element by using the Properties view. By default, the Properties view is open. However, if needed, open the Properties view by selecting Window > Show View > Properties from the menubar, or simply right click on the diagram element in the Diagram view or UML Navigator view, and select Properties from the context menu.

To apply a stereotype:

  1. Click on the diagram element in the Diagram view or in the UML Navigator view. The corresponding properties page displays for the diagram element.


  2. Select the stereotype field, and click the ellipsis to open the stereotype dialog box.


  3. Using the drop-down arrow, scroll to and select the desired stereotype from the list.

TIP: Once a stereotype has been added to an element, it can be edited directly on the diagram. Simply double-click the stereotype field to enable the in-place editor. Deleting the stereotype field from the element on the diagram removes the stereotype property.