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

Compare with Current View Page History

« Previous Version 2 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:

 

Preconditions:

 

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

 

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)

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>

description of the config example.

Sample input and output

Sample input and output

Error and warning messages

Description of errors and warnings that may be generated

Error:

Error message

Action:

Action to fix

Known issues

Describe all known issues and unexpected behaviour

Related modules and documentation

Links to related parts of the system

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