Versions Compared

Key

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

...

Note 2:
a TSD with the argument shortcuts will open to the shortcut chart that is configured in DisplayGroups.xml. By default the first chart that contains the clicked location will open. To open a specific shortcut chart, an ‘explorerLocationId’ can be configured in this shortcut chart and the chart will open if the same location is double clicked at the map or in the list.

An example:
if LocB or LocC is double clicked , TSD will open to "Plot LocB" resp. "Plot LocC". If LocA is double clicked , TSD will open to "Plot LocC" , since this shortcut has <explorerLocationId>LocA</explorerLocationId>

Code Block
titleDisplayGroups.xml config with doubleClickLocationEnabled option in explorerTasks (Explorer.xml)
<displayGroup name="Example">
            <display name="Plot LocA">
                        <locationId>LocA</locationId>
                        <plotId>Discharge</plotId>
            </display>                   
            <display name="Plot LocB">
                        <locationId>LocB</locationId>
                        <plotId>Discharge</plotId>
            </display>                   
            <display name="Plot LocC">
                        <explorerLocationId>LocA</explorerLocationId> 
                        <locationId>LocC</locationId>
                        <plotId>Discharge</plotId>
            </display>       
</displayGroup>
 
loadAtStartup

In this field can be configured which windows will be opened by default when the system starts up. This feature can only be used in docking mode.

Examples

In the below example for an explorerTask 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 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=@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>
    

...