<?xml version="1.0" encoding="UTF-8"?>
<!--
 * IBM Confidential
 *
 * OCO Source Materials
 *
 * @CODETOBEDEFINED
 *
 * (C) COPYRIGHT IBM CORP. 2014
 *
 * The source code for this program is not published or otherwise
 * divested of its trade secrets, irrespective of what has been
 * deposited with the U.S. Copyright Office.
 *
-->
<control-registry basedir="webclient/controls" package="psdi.webclient.controls" 
		xsi:noNamespaceSchemaLocation='../control-registry.xsd'
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<control-descriptor name="bi_savechart_decorator"
		descriptor-class="psdi.webclient.system.runtime.DatasrcDescriptor"		
		instance-class="com.ibm.tivoli.maximo.report.control.SaveChartDecoratorControl"
	>
		<property-list>
			<property name="display" type="xsd:boolean">
				<flag name="global"/>
				<default-value>false</default-value>
			</property>
			<property name="id">
				<flag name="final"/>
			</property>
			<property name="licensekey">
				<flag name="final"/>
			</property>
			<property name="sigoption">
				<flag name="nonconditional" />
				<flag name="final" />
			</property>
			<property name="sigoptiondatasrc">
				<flag name="nonconditional" />
				<flag name="final" />
			</property>
				
			<!-- css selector for finding the chart/charts to which to attach the content menu save -->
			<property name="selector">
				<default-value></default-value>
			</property>
			<property name="savechartlabel">
				<flag name="translatable" />
			</property>
			<property name="savechartonlylabel">
				<flag name="translatable" />
			</property>
		</property-list>
		<component-list>
			<components id="${name}_components_h" layout="horizontal">
				<bi_savechart_decorator id="${name}_bi_savechart_decorator" selector="@{selector}"/>
			</components>
		</component-list>
		<containers>
			<container name="clientarea"/>
			<container name="section"/>
			<container name="page"/>
		</containers>
	</control-descriptor>	
</control-registry>