Versions Compared

Key

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

...


Interaction with other displays

The forecast panel interacts with the other panels in Delft-FEWS in a lot of ways. 

It is possible to define which panel or tool window(s) should be made visible after selecting a node.

This can be done using the elements <mainPanel> and <toolWindow>.   These elements support only  selected displays c.q.  toolWindows  which  are enumerated in the Topology schemas.

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 display  that 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 :

SystemMonitor : an option <tabId> to select a specific tab. If no tabId is configured, the Log Browser tab will be selected

SchematicStatusDisplay: an option <panelId> to open a specific SSD panel. If no panelId is configured, or if a non-existing panelId is entered, the first SSD panel will be opened

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

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<topologyGroup xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/topologyGroup.xsd">
	<group id="ForecastGroup_Bear">
		<nodes id="Bear" name="Bear">
			<workflowId>Bear_Forecast</workflowId>
			<node id="MergeMAPBear" name="MergeMAP and Outflow">
				<mainPanel>modifiers panel</mainPanel>
				<toolWindow>plot overview</toolWindow>
			</node>
		</nodes>
	</group>
</topologyGroup>

<node id="Coastal_Scenario" name="Create Coastal Scenario">
           <workflowId>Coastal_Scenario</workflowId>
           <mainPanel>modifiers panel</mainPanel>
           <toolWindow>plot overview</toolWindow>
</node>

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

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


 

After selecting a node in the topology a plot connected to this node will be automatically displayed in the plot window.

...