The Rule Editor provides you with context-sensitive editing. You can right-click on various areas of the rule to display different menus.
Table 24.22 shows the various menus available in the Rule Editor, depending on their entry, when you edit in TRL.
Table 24.22 Shortcut Menus in the Rule Editor for TRL
|
|
|
---|
Editable area
| This menu can be used in both the condition and the action parts of a rule.
| Delete
Cut
Copy
Paste
|
<select a condition>
| This shortcut menu is only available in the condition part of a rule.
| Delete condition
Cut condition
Copy condition
Paste
Insert condition
|
[where]
| This shortcut menu is only available in the condition part of a rule.
| Delete binding
Cut binding
Copy binding
Paste
Insert binding
|
[such that]
| This shortcut menu is only available in the condition part of a rule.
If you select an expression, parts of the menu may be active, depending on the elements of the test selected. For example, if you select the left-hand side of a test, the menu displays (... but not ...) .
| Delete test
Cut test
Copy test
Paste
Insert test
(...
...)
(...)
not...
|
[verifies]
| This shortcut menu is only available in the condition part of a rule.
| Delete expression
Cut expression
Copy expression
Paste
Insert expression
|
<select an action>
| This shortcut menu is only available in the action part of a rule.
| Delete action
Cut action
Copy action
Paste
Insert action
|
[so that]
| This shortcut menu is only available in the action part of a rule.
| Delete statement
Cut statement
Copy statement
Paste
Insert statement
|
Shortcut menus allow you to insert parentheses between tests. Depending on where you click in a test, it shows one or two of the following items:
Click one of these items to insert the corresponding parentheses at the specified location. To remove parentheses:
-
Right-click a parenthesis and then click Delete on the shortcut menu.
The shortcut menu also allows you to insert a not
operator wherever appropriate. When selecting this item, a not
token is inserted. To delete it:
-
Right-click an element and then click Delete on the shortcut menu.
See Also
Tokens for the Condition Part of a Rule | Subtokens for Condition Tokens | Tokens for the Action Part of a Rule | Subtokens for Action Tokens
|