skip to main content
RiverWare Policy Language (RPL) : RPL User Interface : Using the RPL Viewer and RPL Editor
Using the RPL Viewer and RPL Editor
There are two ways to view the RPL editor dialogs: either in the RPL Viewer or in the single RPL Editor.
When you open a function, rule, method, goal or any other block, the item will open as a new tab in the RPL Viewer. Opening subsequent RPL Items will add tabs to this RPL Viewer. This allows you to have one dialog where all RPL editors are shown. But, you can undock any item into its own RPL Editor. Figure 2.16 shows the RPL Viewer and the RPL Editor with the same rule shown. Notice the tabs in the viewer.
Figure 2.16  Screenshot of the RPL Viewer and RPL Editor
Note:  The menu bar options are the same between the two dialog boxes. They are dynamically updated in the viewer based on the tab selected.
The RPL Viewer is the default dialog used to look at a RPL editor. It is convenient as all RPL editors open in the one dialog. Select the tabs to switch between items. Or use the RPL Editor List menu on the right of the tabs. This is particularly useful if you have many items in the viewer. Tooltips on the tabs give the full name and priority, or index, where relevant.
Accessing the RPL Viewer
The RPL Viewer opens whenever you open a RPL item. You can also access a previously opened RPL Viewer from the workspace RPL Viewer button as shown in Figure 2.17. Select the desired set from the menu.
Figure 2.17  Screenshot of the RPL Viewer button on the RiverWare workspace.
Note:  Closing the RPL Viewer removes that RPL Viewer from the button/menu on the workspace. Closing all tabs on a RPL viewer leaves it open but empty.
Arranging Tabs
Drag the tabs left and right to rearrange. Use the left and right arrows to scroll to tabs that are not shown.
Undocking RPL Editors
To look at two editors at once, drag the tab off of the viewer to create a RPL Editor dialog for that item. Or use the File, then Undock menu.
Redocking RPL Editors
To move a RPL Editor dialog back onto the viewer, grab the R, F, G, Icon and drag it anywhere onto the viewer. A new tab will be created. Or use the File, then Dock In RPL Viewer menu. Also, from the viewer, you can use the File, then Redock All to move all RPL Editors to the viewer.
Closing a RPL Editor Tab
Use the red X on the tab to close a tab that is on the viewer.
Note:  The RPL Viewer is transient; once it is closed, the configuration of items shown and their order is not saved.
Revised: 07/09/2023