[next] [tail] [up]

4.1 Klassendiagramm

The class diagrams strictly respect the rules of UML (siehe Kap. B). All possible tools are automatically activated when opening a class diagram in the Werkzeugleiste (siehe Kap. 3.4.1).

A typical use of class diagrams is the representation of packages siehe Abb. 4.1 or classes siehe Abb. 4.2:


pict
Figure 4.1Klassendiagramm - Representation of packages



pict
Figure 4.2Klassendiagramm - Representation of classes with Popup-Menu zum Diagramm


4.1.1 Popup-Menu for the Diagramm

The following functions, affecting the entire Diagramm , are at your disposal:

FUNKTION BESCHREIBUNG
Display role Represents the roles (siehe Kap. 4.2.11) of a relationship or not. Rollen werden mit einem fuehrenden Pluszeichen (z.B. +Street siehe Abb. 3.1) dargestellt.
Display cardinality Represents the cardinalities of relationships or not (e.g. 0..* siehe Abb. 3.1).
Display association names Represents the names of all relationships in the Diagramm dar or not.
Display attributes in classes Represents the attributes of all classes in the diagram or not.
Display type of attribute Represents the data type for all attributes displayed in all classes in the diagram or not.
Display cardinality of attributes Represents the cardinality of all attributes displayed in all classes in the diagram or not .
Display link knot of associations The link knot is an “artificial device”, that enables graphic links between particular cases of relationships (siehe Kap. 4.2.9) in the Diagramm .
Print... Opens a print dialog for the printing of the diagram.
Save...in diagram file Opens a file-Dialog for the saving of the diagram.
Automatic reorganization Automatic reorganization of the contents of a diagram.

4.1.2 Popup-Menu of Modell-Element

General Functions
For each Modell-Element the following general functions are available siehe Abb. 4.3:


pict
Figure 4.3Klassendiagramm - General remarks Popup-Menu about Modell-Element


FUNKTION BESCHREIBUNG
Modify... Opens the specification Dialog (siehe Kap. 4.2) for an Modell-Element.
Selecting in the navigation pane Indicates the selected graphic object in the Navigationsbereich.

Sub-menu Formatting:

FUNKTION BESCHREIBUNG
Font type... (Diese Funktion ist z.Z. nicht implementiert.).
Line color... Opens a color dialog for the selection of a line color (e.g. for the coloring of associations).
Fill-in color... Opens a color dialog for the selection of a fill-in color (e.g. for the coloring of class symbols).

Sub-menu Editing:

FUNKTION BESCHREIBUNG
Cut (Diese Funktion ist z.Z. nicht implementiert.).
Copy (Diese Funktion ist z.Z. nicht implementiert.).
Paste (Diese Funktion ist z.Z. nicht implementiert.).
Delete The selected Modell-Element is only graphically deleted in the current diagram, i.e. it remains in the Navigationsbereich (and thus in the model).
Delete in the model The selected Modell-Element is deleted graphically in the current diagram as well as definitively in the model. In addition all model dependencies are deleted (e.g. Roles in classes with connected associations).

Class-specific functions
siehe Abb. 4.4
pict
Figure 4.4Klassendiagramm - Special functions of a Klasse


FUNKTION BESCHREIBUNG
New attribute Adds a new attribute (siehe Kap. 4.2.10) to the class.
Hide attributes Activates/ Deactivates representation of attributes for this class.
Display inherited attributes In addition to the attributes defined in this class, the attributes of the basic class(es) are also displayed.

Relation-specific functions
siehe Abb. 4.5
pict
Figure 4.5Klassendiagramm - Special functions of an Beziehung


FUNKTION BESCHREIBUNG
Association Defines the direction of navigation towards a role (siehe Kap. 4.2.11) on the corresponding Beziehung. In accordance with UML this is represented optically by an open arrow in the Klassendiagramm .
Aggregation Characterizes the role (siehe Kap. 4.2.11) of an Beziehung as aggregation. In accordance with UML this is represented optically with a void rhombus in the Klassendiagramm .
Composition Characterizes the role (siehe Kap. 4.2.11) of an Beziehung as composition. In accordance with UML this is represented optically with a filled in rhombus in the Klassendiagramm .
Display role Activates / Deactivates the role name (siehe Kap. 4.2.11) of a relationship (siehe Kap. 4.1.1).
Display cardinality Represents the cardinality of the roles (siehe Kap. 4.2.11) of an Beziehung or not .
Display name of association Represents the name of an Beziehung or not.

[next] [front] [up]