Contents > 4 The SDMetrics User Interface > 4.3 Calculating and Viewing Metric Data > 4.3.1 Common controls in views
4.3.1 Common controls in views
There are a number of control elements that are common to all or most views.
This section describes those frequently used controls.
Figure 8: Common controls used in most views
- Most views show metric data for one model element type at a time,
e.g. metrics for all classes, all packages, all state diagrams, etc.
These views provide a dropdown list from which to select a model element
type. With the "tape deck" controls next to the list you can
easily browse the various model element types.
- Many views provide tables of data that can be sorted by columns.
To sort a table by a column, click the column header. This sorts
the table rows in descending order. Click the column header a second time
to change the sorting order to ascending. Click the column header a
third time to restore the original order of the rows (no
sort). Alternatively, you can use the control panel provided by these views to sort the table:
- Select the column to sort by from the first dropdown list labeled
- You can also specify a secondary column to sort by from the
second dropdown list labeled "and". Rows with equal values in the
primary sort column are then sorted by the secondary column.
- Press the or button to toggle between ascending
and descending sort.
- To restore the original order of table rows, select the first entry
"No sort" from the sort dropdown list.
- Most views have a save button to export
the data presented in the view (tables of data or graphs, see Section 4.15.1 "Exporting Data Tables" and Section 4.15.2 "Exporting Graphs").
- All views feature a help button
to open a description of the view in the user manual.
- All views feature a close button in
the upper right corner to close the view. Alternatively, right-click on the tab of a view
to open a context menu with further options. Or click on the tab with the middle
mouse button to close the view.
|Section 4.3 "Calculating and Viewing Metric Data"||Contents||Section 4.4 "The View 'Metric Data Tables'"|