JBoss.orgCommunity Documentation
The Rule editor works on files that have a .drl (or .rule in the case of spreading rules across multiple rule files) extension.
The editor follows the pattern of a normal text editor in eclipse, with all the normal features of a text editor:
While working in the Rule editor you can get a content assistance the usual way by pressing Ctrl + Space.
Content Assist shows all possible keywords for the current cursor position.
Content Assist inside of the Message suggests all available fields.
Code folding is also available in the Rule editor. To hide/show sections of the file use the icons with minus/plus on the left vertical line of the editor.
The Rule editor works in synchronization with the Outline view which shows the structure of the rules, imports in the file and also globals and functions if the file has them.
The view is updated on save. It provides a quick way of navigating around rules by names in a file which may have hundreds of rules. The items are sorted alphabetically by default.
The Rete Tree view shows you the current Rete Network for your .drl file. Just click on the Rete Tree tab at the bottom of the Rule editor.
Afterwards you can generate the current Rete Network visualization. You can push and pull the nodes to arrange your optimal network overview.
If you got hundreds of nodes, select some of them with a frame. Then you can pull groups of them.
You can zoom in and out the Rete tree in case not all nodes are shown in the current view. For this use the combo box or "+" and "-" icons on the toolbar.
The Rete Tree view works only in Drools Rule Projects, where the Drools Builder is set in the project properties.
We hope, this guide helped you to get started with the JBoss BPMN Convert module. Besides, for additional information you are welcome on JBoss forum.