Versions Compared

Key

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



Excerpt
hiddentrue

Configure Manual Forecast Dialog to load batch runs (predefined):



Function:

Configure Manual Forecast Dialog to load batch runs (predefined)


Module Name:

ManualForecastDisplay

Where to Use?

DisplayConfigFiles\ManualForecastDisplay.xml

Why to Use?

To add a Macro button to the Manual Forecast Display

Description:

The Manual Forecast Dialog includes a facility to run a predefined list of forecast. This list can be defined in an XML file. This facility is off by default but can be switched on using the instructions given here.

Preconditions:

Stand Alone system, should not be used in client-server mode. Method for starting up the display. Usually an entry in the explorer tasks section of the Explorer configuration.

Outcome(s):

A button that can be used to load a list of forecasts will be added to the manual forecast display

Screendump(s):

Image Modified

Remark(s):

Schema for the actual lists of forecasts:

http://fews.wldelft.nl/schemas/version1.0/taskPropertiesPredefined.xsd

he XML file for the Manual Forecast Dialog can also contain other configuration options which are described elsewhere.

Available since:

DelftFEWS200702

Contents

Table of Contents

...

  • Add the display to the DisplayDescriptors file if this has not already been done (see entry below)
  • Make an XML config file for the display in the DisplayConfigFIles directory named ManualForecastDisplay 1.00 default.xml. Set the buttonVisible element to true(see example below).
  • Add an entry for this file to the DisplayInstanceDescriptors file
  • After restarting the system the Macro button should be visible (see screendump)
  • You can now load an XML file with a list of forecast to perform (example).

Configuration

Config Example


Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>


<manualForecastDisplay 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/manualForecastDisplay.xsd">

<runningPredefined>
<description>Run

    <runningPredefined>
        <description>Run pre-defined forecasts</description>


        <directory>%REGION_HOME%</directory>


        <buttonVisible>true</buttonVisible>


    </runningPredefined>


</manualForecastDisplay>


The configurable items of interest are:

...

Technical reference

Entry in displayDescriptors:

<className>nl.wldelft.fews.gui.plugin.manualforecast.ManualForecastDialog</className>

Link to schema:

http://fews.wldelft.nl/schemas/version1.0/manualForecastDisplay.xsd