This section includes instructions for adding inner classifiers to classes (including Windows classes, such as Windows forms, Inherited forms, User Controls and so on), structures, and modules (collectively, containers) in implementation projects.
You can add inner classifiers to class diagram elements (containers) using the respective context menu for the diagram element in the Diagram or Model Views. You can also select a classifier in the Tool Palette and click the container element in the Diagram View to add the inner classifier to the container element.
Note: Structure elements are available for implementation projects only.
Tip: You can use drag-and-drop or clipboard operations to remove an inner classifier from the container element.
To create an inner classifier by using the context menu:
- Right-click the container element.
- Choose Add(Inner_classifier_type), where (Inner_classifer_type) is defined in the table above.
Using cut, copy, and paste:
- Use the clipboard operations to either cut or copy an existing classifier.
- Select the container element.
- Use the clipboard operations to paste the selected classifier into the container element.
Using drag-and-drop:
- Select an existing classifier in the Diagram View.
- Drag-and-drop it onto a pre-existing container in the Diagram View. A blue border highlights the location that UML modeling recognizes as a valid destination for dropping the inner classifier.