Versions Compared

Key

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

...

The Location Attribute Display (available since 2015.01) can show a list of configuration files (csv and dbf) that are used to configure a location, parameter or qualifier.The configuration files can be displayed using a table viewer with sorting, filtering and column hiding functionality. This display is also accessible using the F12 debug menu

Configuration

To use the Location Attributes Display viewer, configure it as <explorerTask> in Explorer.xml. For example:

Code Block
xml
xml
		<explorerTask name="Location Attributes Display">
			<iconFile>csvfile.png</iconFile>
			<mnemonic>L</mnemonic>
			<displayConfigFileName>LocationAttributesDisplay</displayConfigFileName><predefinedDisplay>tabular config files display</predefinedDisplay>	
			<toolbarTask>true</toolbarTask>
			<menubarTask>true</menubarTask>
			<accelerator>ctrl L</accelerator>
			<toolWindow>false</toolWindow>
			<loadAtStartup>true</loadAtStartup>
		</explorerTask>	

In this configuration the iconfFile is set to csvfile.png. The following icon can be used: Image Removed

In the DisplayConfigFiles directory a LocationAttributesDisplay.xml file needs to be created:

Code Block
xmlxml
<?xml version="1.0" encoding="UTF-8"?>
<locationAttributesDisplay 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/locationAttributesDisplay.xsd"/>

 

Displaying Content

To display the data a location has to be selected in the Data Viewer. After selecting a location a list of configuration files will be displayed. The content of the first configuration file will be shown by default. Selecting another file will display its content.

...