Versions Compared

Key

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

...

Optional argument string to be passed to the task.
In case of a embedded vJDBC service, you can parse the actual portnumber to an application with the argument %VJDBC_PORT% or %PORT%.
Since 2012.01, the TimeSeriesDisplay can be started with preselection of a statistical function (see example below)

workDir

Optional working directory to start the task in.

...

Optional name of the permission that is needed to use this task

...

Examples

In the below example references are made to:

  • %VJDBC_PORT%, the actual JDBC port number
  • %PORT%, same as VJDBC_PORT
  • %HOSTNAME%, the actual JDBC host, returned as IP adress
  • %REGION_HOME%, internal variable of FEWS: returns the current FEWS application directory
  • %FEWSDIR%, internal variable of FEWS: returns reference to the the current FEWS application directory
  • $ART_VERSCHIL_EXE$, a variable from the global properties
    Code Block
    xml
    xml
    <explorerTask name="Art_Verschil tool">
      <iconFile>%FEWSDIR%/icons/matlab.ico</iconFile>
      <mnemonic>B</mnemonic>
      <arguments>/VJDBC_HOST=localhost /VJDBC_PORT=<at:var at:name="VJDBC_PORT" /></arguments>
      <workDir>%REGION_HOME%/Modules/Art_Verschil</workDir>
      <taskExe>$ART_VERSCHIL_EXE$</taskExe>
      <toolbarTask>true</toolbarTask>
      <menubarTask>true</menubarTask>
      <accelerator>ctrl B</accelerator>
    </explorerTask>
    

The next example calls the TimeSeriesDisplay with a preselected Statistical function:

Code Block
xml
xml

<explorerTask name="Ensemble exceedence analysis">
  <iconFile>exceedence.png</iconFile>
  <arguments>statisticalFunction ensemblePercentileExceedence</arguments>
  <taskClass>nl.wldelft.fews.gui.plugin.timeseries.TimeSeriesDialog</taskClass>
  <toolbarTask>true</toolbarTask>
  <menubarTask>true</menubarTask>
</explorerTask>

statusBar

The status Bar settings define the format of the time string displayed in the status bar

...