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

Compare with Current View Page History

« Previous Version 8 Next »

Overview

The Module Run Table Display can show data imported using the importCsvModuleRunTablesActivity of the 05 General Adapter Module. The imported CSV files are stored in FEWS and can be displayed using a table viewer with sorting, filtering and column hiding functionality.

Configuration

 To use the Module Run Table Display viewer, configure it as <explorerTask> in Explorer.xml using <predefinedDisplay>sample viewer</predefinedDisplay> for example:

		<explorerTask name="Module Run Table Display">
			<mnemonic>T</mnemonic>
			<displayConfigFileName>ModuleRunTableDisplay</displayConfigFileName>	
			<toolbarTask>true</toolbarTask>
			<menubarTask>true</menubarTask>
			<accelerator>ctrl T</accelerator>
			<toolWindow>false</toolWindow>
			<loadAtStartup>true</loadAtStartup>
		</explorerTask>

In the DisplayConfigFiles directory a ModuleRunTableDisplay.xml file has be created:

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

 

Displaying Content

To display the data a topology node has to be selected that maps to the run that imports the csv. After selecting the node the Module Run Table Display will appear. On top of the display is a list with csv files that have been selected. Default the first file will be displayed. Clicking on any file will display the imported csv content.

Sorting

The table can be sorted by clicking on the headers.

TODO: screenshot of sorting.

Filtering

Tables can be filtered by double clicking on a cell entry. Only records with the same entry for the selected column will be displayed. The selected entry will be highlighted (blue). Double clicking another entry will expand the filter. To undo the filtering the highlighted column has to be double clicked again.

TOO: screenshot of filtering

Column hiding

In case not all columns should be visible, right clicking on a value will show the "Set column visibility" menu. This allows a user to select or deselect columns that should be visible (at least one column has to remain visible). These settings will be stored in the user settings and will remain available after FEWS was restarted.

TOO: screenshot of hiding columns.

 

 

 

 

 

  • No labels