Versions Compared

Key

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

...

The forecast panel interacts with the other panels in Delft-FEWS in a lot of ways. The following options will automatically open a display when the configured node in the Topology is selected.

<mainPanel> and <toolWindow>

It is possible to define which panel or tool window(s) should be made visible after selecting a node, using the elements <mainPanel> and <toolWindow>.  
These elements support only selected displays c.q.  toolWindows which are enumerated in the Topology schemas.

<displayConfigFileName>

Since the  2020.01 release an element <displayConfigFileName> can be used, to make visible a display associated with the configured displayConfigFile name.  This method supports any displaythat has displayConfigFile. If the display is not running yet, the display will be automatically launched.  For some displays it is also possible to configure a reference to the component that should be selected when the display becomes visible.
Presently the following component references are supported :

...

This will open the spatial display and select the groupId > plotId in the tree, e.g. 'Kriging' > 'Kriging Precipitation (Last Week)'

<displayGroupId> and <selectFirstPlotOnSelectionChange>

The element <displayGroupId> can be used to connect a topology node to a display group. The plot overview panel shows an overview of all the displays in the display group.
After selecting a topology node Delft-FEWS will first try to find a display which has the same location and parameter as currently displayed in the connected display group. If such a display cannot be found the first display of the topology group will be shown.
This behavior can be disabled by using the element <selectFirstPlotOnSelectionChange>. If this option is set to true the first plot will always be selected.

Config example

An example from Topology.xml c.q.  TopologyGroup.xml is shown below:

Code Block
languagexml
titleConfig example <mainPanel>, <toolWindow> and <displayConfigFileName>
<node id="Coastal_Scenario" name="Create Coastal Scenario">
           <workflowId>Coastal_Scenario</workflowId>
           <mainPanel>modifiers panel</mainPanel>
           <toolWindow>plot overview</toolWindow>
<!-- After selecting a node in the topology a plot connected to this node will be automatically displayed in the plot window. -->  
</node> 

<node id="Fluvial_Scenario" name="Create Fluvial Scenario">
            <workflowId>Fluvial_Scenario</workflowId>
            <displayConfigFileName>MySSDConfigFile</displayConfigFileName>
            <panelId>panel3</panelId>
</node>

<node id="ImportObserved" name="Import observations”>
            <workflowId>ImportObservations</workflowId>
            <displayConfigFileName>MySystemMonitorDisplayConfigFile</displayConfigFileName>
            <tabId>importStatus</tabId>
</node>

The element <displayGroupId> can be used to connect a topology node to a display group. After selecting a topology node Delft-FEWS will first try to find a display which has the same location and parameter as currently displayed in the connected display group. If such a display cannot be found the first display of the topology group will be shown.

This behavior can be disabled by using the element <selectFirstPlotOnSelectionChange>. If this option is set to true the first plot will always be selected.

...

       <tabId>importStatus</tabId>
</node>

<scadaDisplayPanelId>

To navigate SSD (scada) displays using topology nodes, specific elements can be added for opening a specific SSD display and/or panel when a node is selected.
Note that since the  2020.01 release also the  elements can be added for opening a specific SSD display and/or panel when a node is selected, for example  <displayConfigFileName>  and <panelId> can be used  to make the SSD visible.
For more information, see the section about configuration of Schematic Status Displays (a.k.a. Scada displays).

Config example <scadaDisplayPanelId>:

Code Block
languagexml
	<nodes id="SSD_NL" name="SSD NL">
		<node id="OverzichtsschermOverview_WMCN" name="OverzichtsschermOverview Nederland">
			<mainPanel>schematic status display</mainPanel>
			<scadaDisplayId>ScadaOverzichtsscherm<scadaDisplayId>ScadaOverview_WMCN</scadaDisplayId>
			<scadaPanelId>Overzichtsscherm<scadaPanelId>Overview_WMCN</scadaPanelId>
		</node>
		<node id="VerwachtingenschermForecast_WMCN" name="VerwachtingenForecast Nederland">
			<mainPanel>schematic status display</mainPanel>
			<scadaDisplayId>ScadaOverzichtsscherm<scadaDisplayId>ScadaOverview_WMCN</scadaDisplayId>
			<scadaPanelId>Verwachtingenscherm<scadaPanelId>Forecast_WMCN</scadaPanelId>
		</node>
	</nodes>

Note that since the  2020.01 release also the  elements  <displayConfigFileName>  and <panelId> can be used  to make the SSD visible.

...


To be added by Onno...timeSeriesButtonPanelId

...