Configuring MetaAssociations
Creating a MetaAssociation
A DiagramTypeLink enables representation of a MetaAssociation (link) in a diagram. You cannot draw a link between two objects in a diagram if the corresponding MetaAssociation does not already exist in the metamodel.
To create a DiagramtypeLink that could be displayed in the diagram type that interests you:
1. In the DiagramTypeParam Property pages, select the Links tab.
2. Click New to create a DiagramTypeLink.
3. In the DiagramTypeLink Properties window (Characteristics tab), click the arrow at the right of the MetaAssociationEnd box and select Query MetaAssociationEnd.
4. In the dialog box that appears, use the query wizard to find the MetaAssociationEnd that interests you.
5. In the DiagramtypeLink Property pages, select the Unidirectional check box if you want the MetaAssociation to have only one valid direction.
Configuring link display
Display of links in a diagram can be customized using a series of attributes accessible in the MetaAssociation Property pages (DiagramTypeLink).
To access configuration of links in a diagram:
1. In the MetaStudio navigation window, open the DiagramTypeParam Property pages on which the link concerned depends.
2. The DiagramTypeParam Properties window opens.
3. From the Links tab, right-click the desired link and select Properties.
4. In the link Property pages, select the Characteristics tab.
5. From the Characteristics tab you can configure the following display characteristics:
• DiagramTypeLink LineStyle: link line style
• DiagramTypeLink LineBeginStyle: default arrow style on first link end.
• DiagramTypeLink LineEndStyle: default arrow style on second link end.
• DiagramTypeLink LineDouble: specifies default link style as double line.
• DiagramTypeLink RoundedCorner: specifies default line style as rounded angles.
• DiagramTypeLink PenColor: default line color.
• DiagramTypeLink PenStyle: default line style (solid, dotted, etc.).
• DiagramTypeLink PenSize: default line width.
• DiagramTypeLink BrushColor: for double lines and/or arrows with fill, specifies default fill color.
• DiagramTypeLink InsideConnection: specifies if the repository link must be represented and managed in any special way.
• DiagramTypeLink ReverseInReorganization: for automatic reorganization function, enables definition of hierarchical direction of link.