Rational XDE Model Import wizard: Import Options page

Use the Import Options page of the Rational XDE Model Import wizard to specify various settings that control the appearance of diagrams in imported XDE models. This topic provides an explanation of each option you can specify on the page.
For each of the Diagram options listed in this topic, you can select one of the following settings:
  • All: Imports as many customizable settings as possible to make the imported diagrams look like the original XDE diagrams.
  • Only modified defaults: Only imports XDE diagram settings that differ from the XDE default factory settings (the settings that have modified values). In situations where the XDE default settings were used, the imported diagrams use the default settings for the Rational® UML modeling product.
  • None: Does not import any XDE diagram settings and always uses the Rational UML modeling product defaults.

Shape, font, and line colors
Specifies how colors are imported. Set to All to import all colors and retain the XDE look and feel. Set to Only modified defaults to keep the color changes you made. Set to None to use the new default colors.
Shape stereotype rendering:
Specifies the appearance of shapes on diagrams. The default XDE style is Icon (if defined). When you apply this setting, if a stereotype is applied to a shape and the stereotype has an image, then it shows the shape as an image. If the stereotype does not have an image, the stereotype appears as text in the name compartment of the shape.

The default style in the Rational UML modeling products is Decoration and Text, which shows a stereotype both as a small icon and as text in the name compartment. If the stereotype does not have an icon or no stereotype is applied, then an icon is always displayed, such as a white “C” in a green circle for an unstereotyped class.

Compartment stereotype rendering:
Specifies the appearance of stereotypes of members in list compartments of shapes, such as attributes, operations, and signals listed within class and interface shapes.

The default XDE style is Label, which shows applied stereotypes as «stereotype» in lists.

The default style in the Rational UML modeling products is Decoration, which is not available in XDE. If a stereotype is applied to a member, and the stereotype has an icon defined, then the stereotype is rendered as a small icon next to the name; otherwise, the stereotype name is displayed.

Visibility rendering
Specifies how the visibility of shape members such as attributes, operations, and signals are rendered.

The default XDE style is Text, which provides one-character symbols such as - (minus sign) for private, + (plus sign) for public, and so on. Another option is Icon, which shows small symbols next to the member name.

The default style in the Rational UML modeling products is Decoration. Just like the corresponding XDE option of Icon, this displays small icons; however, the icons have changed in UML 2.0.

Honor diagram element autosize setting for selected diagram types:
Specifies how name labels on diagram elements appear in the diagram editor after you import a model.
When you select this option and import an XDE model, diagram elements that appear in the diagram editor automatically resize so the name label is completely visible. When you clear this option, longer name labels in the diagram editor appear in a shortened form; this is the default behavior.
Important: When you select this option, the layout of diagrams may change considerably because many of the diagram elements must resize to accommodate for the entire name label. After import, you may need to manually adjust the diagram elements that were affected by the automatic resize so your diagram looks closer to the original XDE diagram.
Association class mapping
In XDE, an association class is represented by three elements: an association relationship, a class, and an associatedClass relationship (from the association to the class). The Association Class Mapping option controls whether the XDE class will be retained as a UML 2.0 class in addition to being merged into a UML 2.0 AssociationClass, which represents the three XDE model elements that constituted the association class in XDE.

The default option,Retain XDE class only if needed, imports the association, class, and AssociatedClass relationship in XDE into a UML 2.0 Association Class as long as the association and class are in the same XDE model.

The Always retain XDE class option imports an XDE class as an individual UML 2.0 class even if its contents are copied into the newly created UML 2.0 association class, which combine the association, class, and AssociatedClass relationship in XDE.

Restore Defaults
Returns all of the XDE model import options to the original state.
Related tasks
Specifying XDE import options

Feedback