...
To add the Forecaster help panel and document viewer to the Delft-FEWS explorer, please add the following tasks to Explorer.xml. The <predefinedDisplay> "documents" (or taskClass ForecasterAidDocumentPanel) is the main window, which displays the content of the documents in the explorer. The ForecasterAidSelectionPanel is a so called toolwindow, displaying a list of all available documents (in the folder linked to the node). The content of the this Selection panel depends on which node is selected in the Topology.
When a new , and is updated automatically when a different node is selected the Selection panel is automatically updated.
Code Block | ||||
---|---|---|---|---|
| ||||
<explorerTask name="Document Viewer"> <predefinedDisplay>documents</predefinedDisplay> </explorerTask> <explorerTask name="Forecaster help"> <taskClass>nl.wldelft.fews.gui.plugin.information.ForecasterAidSelectionPanel</taskClass> </explorerTask> |
...