The Attributes view

The Attributes View presents the properties for the selected component in the schema diagram. For details about available properties for each schema component see the properties of schema components. If hidden, you can open it from PerspectiveShow ViewAttributes .

 

Figure 4.43. The Attributes view

The Attributes view


The default value of a property is presented in the Attributes View with blue foreground. The properties that can't be edited are rendered with gray foreground. A non-editable category which contains at least one child is rendered with bold. Bold properties are properties with values set explicitly to them.

Properties for components which do not belong to the current edited schema are read-only but if you double-click them you can choose to open the corresponding schema and edit them.

You can edit a property by double-clicking on by pressing Enter. For most properties you can choose valid values from a list or you can specify another value. If a property has an invalid value or a warning, it will be highlighted in the table with the corresponding foreground color. By default properties with errors are presented with red and the properties with warnings with yellow. You can customize the error colors from the Document checking user preferences.

For imports, includes and redefines properties are not edited directly in the Attributes View. A dialog will be shown allowing you to specify properties for them.

The schema namespace mappings are not presented in Attributes View. You can view/edit these by choosing Edit Namespaces from the contextual menu on the schema root. See more in the Edit schema namespaces section.

The Attributes View has five actions available on the toolbar and also on the contextual menu:

Add

Allows you to add a new member type to an union's member types category.

Remove

Allows you to remove the value of a property.

Move Up

Allows you to move up the current member to an union's member types category.

Move Down

Allows you to move down the current member to an union's member types category.

Copy

Copy the attribute value.

Show Definition

Show the definition for the selected type.

Edit Facets

Allows you to edit the facets for a simple type.

[Note]Note

If the selected component is a reference to a component defined in another schema, most properties will be read-only and the actions will be disabled.