Rulebase Viewer

The Rulebase Viewer allows you to examine and control the validation rulebases loaded in the ACTF Validation componentry.

image of the Ruleviewer with several rulebases visible

The view has two major areas - on the left side of the view (by default) are the Rulebases and Rules. The right side of the view will show the details of whatever is selected in the tree. However, the orientation of the two panes can be changed so that they are stacked on top of one another, rather than side-by-side by using the toolbar buttons at the top right of the view.

In between these two areas is a bar that will allow you to adjust the relative size of the two areas. Hover your cursor in the white space between the two panes, and the split bar will appear. Grab it with your mouse and move it left or right (for the vertical orientation) or up and down (for the horizontal orientation) to change the proportions of the two panes. (See picture below).

image of the Ruleviewer with the split bar selected

Rulebases and Rules

image of the Rulebases pane of the view with an expanded rulebase

Top level nodes in the tree represent the rulebases loaded in the system. Expanding a node will show the various rules in the rulebase. Each node in the tree has a checkbox that allows you to enable or disable an entire rulebase, or an individual rule. If the chckbox is checked, the rulebase or rule is enabled, if unchecked it is disabled.

Buttons

Button Description
Add... Invokes a wizard to add a new validation rulebase to ACTF.
Reload Reloads all rulebases known to ACTF. This is useful for when you have made changes to the rulebase file and would like to see them take effect without having to restart Eclipse.

Details

The contents of this pane will change based on what is selected in the tree.

Rulebase details

This pane shows the details of the rulebase

image of the Rulebase details pane

Field Description
Version The version number of this rulebase
Model The GUI architecture model to which this rulebase applies
Location The fully qualified path and filename for this rulebase

Rule details

This pane shows the details of the individual rule

image of the Rule details pane

Field Description
ID The unique identifier of this rulebase
Severity The severity of the rule
Message The message that will show in the validation report record when this rule is violated
Long description A longer description of the nature of the rule

Toolbar

Button Action Description
Horizontal Layout image of the horizontal icon - 2 vertical rows of dots, side by side The layout of the view is side by side, with the rulebase tree on the left and the details pane on the right.
Vertical Layout image of the vertical icon - 2 horizontal rows of dots, one or top of the other The layout of the view is one pane on top of the other, with the rulebase tree on the top and the details pane on the bottom.
Expand All image of the Expand All icon - a plus sign Expands all the nodes in the tree
Collapse All image of the Collapse All icon - a minus sign Collapses all the nodes in the tree