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

Compare with Current View Page History

« Previous Version 3 Next »

What

buttonSettings element in TimeSeriesDisplayConfig.xml

Config group

SystemConfigFiles

Required

no

Description

Configuration element for button (and menu-item) visibility

schema location

http://fews.wldelft.nl/schemas/version1.0/timeSeriesDisplay.xsd

Contents

Overview

All buttons and some menu-items of drop-down menu buttons in the TimeSeries Dialog can individually be set to be shown or hidden with use of the buttonsSettings element in the TimeSeriesDisplayConfig.xml.

The buttonSettings element contains a sub-element for each of the buttons / menu items that can be hidden. To show or hide a button, the sub-element must be given a "visible" attribute, which can be set to true or false. An example configuration is shown below. Some of the sub-elements are mandatory. For these elements if you do not wish to change the default visibility of the button, simply leave the element empty.

Example config for the buttonSettings in TimeSeriesDisplayConfig.xml
<buttonSettings>
		...
		<moveBackHalfViewPeriod visible="false"/>
		<moveForwardHalfViewPeriod visible="false"/>
		<moveForwardOneViewPeriod></moveForwardOneViewPeriod>
		<showAllData></showAllData>
		<switchReferenceLevel></switchReferenceLevel>
		<setViewPeriod></setViewPeriod>
		<copyTimeSeries visible="false"/>
		<pasteTimeSeries visible="false"/>
		...
</buttonSettings>

Configuration Aid: All Available ButtonSettings Elements

The code block below contains all of the currently available button settings elements, in the correct order. It can be copied and pasted into a TimeSeriesDisplayConfig.xml, after which you can find the element you wish to show / hide and add the visible attribute to those elements. Including the emtpy elements (without the visible attribute) will have no effect. 

This wiki is a work in progress...


List of Buttons

This wiki is a work in progress...

 

  • No labels