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.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.

<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 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 (SSD):  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

<explorerTaskName>

Since the 2021.02 release , other than using <mainPanel> or <displayConfigFileName>, it is also possible to configure <explorerTaskName><explorerTaskName>, which would refer to the name attribute of explorerTask (for example <explorerTask name="Spatial Display">) configured in Explorer.xml.

<gridDisplaySelection>

Since the 2023.01 release it is also possible to configure a gridDisplaySelection:

...

Code Block
languagexml
<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>

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


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 behaviour behavior can be disabled by using the element <selectFirstPlotOnSelectionChange>. If this option is set to true the first plot will always be selected.

...