Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For instance:

Code Block
languagexml
titleTopology.xml
<forecasterHelperDirectories>
   <directory>d:\Data\ForecasterHelperData\</directory>
   <directory>d:\Data\FHD3\</directory>
</forecasterHelperDirectories>

If this is not present in the topology.xml the directory in the global.properties defined by the INFORMATION_PANEL_FOLDER property will be used. Within these directories each node has its own directory. The directory should have the same name as the node id.
Within that directory the documentation for that node can be placed. If you make use sub-folders, make sure to also include the main folder as a directory when you list the <forecasterHelperDirectories>. Documents in the folder configured as <allNodesDirectory> will be visible at all nodes.

 

Code Block
languagexml
titleTopology.xml
<forecasterHelperDirectories>
	<directory>$DOCUMENTS_ROOT_FOLDER$</directory>
	<directory>$DOCUMENTS_ROOT_FOLDER$/subfolder_1/</directory>
	<directory>$DOCUMENTS_ROOT_FOLDER$/subfolder_2</directory>	
	<allNodesDirectory>$DOCUMENTS_ALWAYSVISIBLE_FOLDER$</allNodesDirectory>-->
</forecasterHelperDirectories> 

...

To add the Forecaster help panel and document viewer to the Delft-FEWS explorer, please add the following tasks to Explorer.xml:

Code Block
languagexml
titleExplorer.xml
<explorerTask name="Forecaster help">                                   
	<taskClass>nl.wldelft.fews.gui.plugin.information.ForecasterAidSelectionPanel</taskClass>                                   
</explorerTask>

<explorerTask name="Documents viewer">
	<taskClass>nl.wldelft.fews.gui.plugin.information.ForecasterAidDocumentPanel</taskClass>
</explorerTask> 

...