Domain Class/ID/Group editor

Toolbar

The toolbar of the Domain Class/ID/Group editor provides shortcuts for some regularly used menu commands for instance to edit a selected domain item, to add and delete domain items, to cut, copy and paste domain items to and from other domains, to sort the domain, etc.

When you leave the mouse pointer for a short period of time on top of a button, a tooltip will appear with the name of the button / the menu command that it will perform. Also the status bar at the bottom of the window may provide you with a short explanation on the effect of using the button.

You can move the toolbar and dock it along an edge of the window; you can also make the toolbar floating. Some of the actions that are available via the toolbar are also available via the context-sensitive menu.

The following actions can be performed:

 

Edit Item:

The Edit Item dialog box appears, in which you can edit the Name, and optionally the Code and the Description of a selected domain item. When editing a group domain, you can edit the upper boundary value of the selected item as well. When you selected multiple items, you can just modify the Description of these items. You can also double-click an item in the domain; select one or more items and press the Enter key on the keyboard, etc.

Add Item:

The Add Item dialog box appears, in which you can fill out a Name, and optionally a Code and/or a Description for the new class name or ID. When editing a group domain, you have to fill out the upper boundary value for the new group as well. You can also press the Ins key on the keyboard.

Delete Item:

Delete one or more selected items from this domain. You can also select one or more items and press the Del key on the keyboard.

Deleting items from a domain should be done with care. When the domain and the deleted class, ID or group was used:

  • in a map, the undefined value will appear;
  • as a table domain, the record will not be shown any more;
  • as field in a column of a table, the undefined value will appear.

Copy:

Copy the names, codes, and descriptions of one or more selected domain items to the clipboard. In case of a group domain, also upper boundary values are copied. You can also use the Ctrl+C keys on the keyboard.

Paste:

Paste the contents of the clipboard into this domain. You can also use the Ctrl+V keys on the keyboard.

For class and ID domains, the expected format is: Name<TAB>Code<TAB>Descr<CR><LF>

For group domains, the expected format is: Name<TAB>Code<TAB>Descr<TAB>UpBoundVal<CR><LF>

This is exactly the format that is obtained when copying domain items to the clipboard.

Sort by Name:

Sort the items in this class or ID domain alphabetically by Name. See also the tip below.

Sort by Code:

Sort the items in this class or ID domain alphabetically by Code. See also the tip below.

Manual Ordering:

 

Allows you to order the domain items manually.

Subsequently, select a domain item in the domain Class/ID editor and drag it to a new position in the list. Continue to do so until satisfied. See also the tip below.

Open Representation:

 

When editing a class domain or a group domain, open the Representation Class editor with the class representation that is currently linked to this domain. In the Representation Class editor, you can edit the representation (colors etc.) of each class or group in this domain.

As ID domains do not have a representation, this button is grayed out when editing an ID domain.

Properties:

Open the Properties of the current domain.

Print:

Print the domain or print a selection of the domain.

The toolbar can be hidden or shown with the Toolbar command on the View menu. If the action of a certain button cannot be performed at a certain moment, the button appears gray.

Tip:

The sorting order of the classes or IDs in a domain determines the order of these items in a legend in a map window, the order of classes in a representation class, the order of records in an attribute table, and the order in lists from which you can choose a class name or ID, for instance when editing units in a map editor and when editing fields of class columns in a table.

The order of a group domain is determined by the upper boundary values of the groups in the group domain.

See also: