You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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:

Facility to run a predefined list of forecast.

Preconditions:

Method for starting up the display. Usually an entry in the explorertasks section of the Explorer configuation.

Outcome(s):

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

Scheendump(s):

Remark(s):

Schema fop the actual lists of forecasts:

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

Available since:

DelftFEWS200702

Contents

Overview

Apart from the batch tab in the manual forecast it is also possible to run batches of forecasts that have been predefined in an xml file. To be able to use these the display must be configured to add a button to load these files. Configuration consists of the following steps:

  • 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).
  • Ad 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

<?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 pre-defined forecasts</description>
<directory>%REGION_HOME%</directory>
<buttonVisible>true</buttonVisible>
</runningPredefined>
</manualForecastDisplay>

Error and warning messages

Not Known.

Known issues

No Known issues.

Related modules and documentation

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

  • No labels