Versions Compared

Key

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

...

Code Block
        <explorerTask name="Events">
            <iconFile>table.png</iconFile>
            <mnemonic>T</mnemonic>
            <taskClass>nl.wldelft.fews.gui.plugin.thresholdeventsviewer.ThresholdEventsTableViewer</taskClass>
            <toolbarTask>true</toolbarTask>
            <menubarTask>true</menubarTask>
            <allowMultipleInstances>false</allowMultipleInstances>
            <accelerator>ctrl T</accelerator>
            <loadAtStartup>false</loadAtStartup>
        </explorerTask>

Since 2019.02 it got its own display config file: ThresholdEventsDisplay.xml

Code Block
languagexml
titleThresholdEventsDisplay.xml
		<explorerTask name="Events">
			<iconFile>Warnings.png</iconFile>
			<mnemonic>E</mnemonic>
			<displayConfigFileName>ThresholdEventsDisplay</displayConfigFileName>
			<toolbarTask>true</toolbarTask>
			<menubarTask>true</menubarTask>
			<allowMultipleInstances>false</allowMultipleInstances>
			<accelerator>ctrl E</accelerator>
			<loadAtStartup>false</loadAtStartup>
		</explorerTask>

Configure Display

The thresholds display does not require a display configurations file. It obtains all information for thresholds configuration that is already available in the ThresholdsValueSets.xml file and also in the TimeSeriesDisplayConfig.xml file.

But since 2019.02 specific config for theis display has been introduced to be able to specify time series sets that can be used to find time series for target location id's belonging to the threshold events.

Code Block
languagexml
titleThresholdEventsDisplay.xml
		<explorerTask name="Events">
			<iconFile>Warnings.png</iconFile>
			<mnemonic>E</mnemonic>
			<displayConfigFileName>ThresholdEventsDisplay</displayConfigFileName>
			<toolbarTask>true</toolbarTask>
			<menubarTask>true</menubarTask>
			<allowMultipleInstances>false</allowMultipleInstances>
			<accelerator>ctrl E</accelerator>
			<loadAtStartup>false</loadAtStartup>
		</explorerTask>

Firstly most information is retrieved from the ThresholdValueSets file. Here is where all threshold levels are configured and how they relate to timeseries sets. For the purpose of the Thresholds Display some configuration options have been added to this file to control the view period and visibility of the threshold events.

...