fewsWebServicesPortRange
What | Explorer.xml |
---|---|
Config group | SystemConfigFiles |
Required | yes |
Description | Defines the main display and configures system settings |
schema location | https://fewsdocs.deltares.nl/schemas/version1.0/explorer.xsd |
...
Since 2019.02, the type of the button can be added to the toolbar (Icon or Text). Only the ButtonType (in <toolbarTask>) Icon will use the configured <iconFile>. If left blank, it will show the new, default grey-scale icon provided from the code.
Since 2022.02 all PNG/GIF icons are replaced by SVG icons. PNG/GIF icons are still supported for compatibility reasons but they will become blurry when scaled.
The complete set of new, default, grey-scale icons can be downloaded here. See also the table below in the <predefinedDisplay> section.
...
Optional shortcut key, note that the shortcut keys only work for tasks in the menu bar (when <menuBarTask> is set to true). Examples of shortcuts: "shift X", "control DELETE", "alt shift X" etc.
A list of accelerator keys and their availability for use can be found here.
Permission
Optional name of the permission that is needed to use this task
...
In the below example for an explorerTask references are made to:
- %VJDBC%WEB_SERVICE_PORT%, the actual JDBC port number
- %PORT%, same as VJDBC_PORT
- port where the embedded web service is running. This port is also written to the third line in running file in the region home
- %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>
...
scheduledTaskEndWarning
...
Code Block | ||
---|---|---|
| ||
<localDatum>someLocalDatum</localDatum> |
dateTimeFormat
Format definition for time strings in displays (e.g. yyyy-MM-dd HH:mm:ss is resolved to 2004-07-03 10:43:26)
...