<core:FragmentDefinition
    xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
    xmlns="sap.m" xmlns:build="sap.build" xmlns:core="sap.ui.core"
    template:require="sap.suite.ui.generic.template.AnalyticalListPage.util.FilterUtil">
    <!-- global breakout actions-->
    <template:repeat list="{parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions/sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage/sap.ui.generic.app}" var="tmpEntitySet">
    	<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.GlobalActions" type="XML"/>
    </template:repeat>
    <Button id="template::ClearButton" text="{i18n>CLEAR_FILTERS}" type="{= ${parameter>/isFiori3Enabled} === true ? 'Default' : 'Transparent'}"
		press="._templateEventHandlers.onClearPress" visible="false"/>
	<template:if test="{= !${parameter>/settings/showGoButtonOnFilterBar} &amp;&amp; !${device>/system/phone}}">
		<Button id="template::VisualFilterDialogButton" text="{path:'_templPriv>/alp/filtersLink', formatter: 'sap.suite.ui.generic.template.AnalyticalListPage.util.FilterUtil.formatFiltersLink'}" type="{= ${parameter>/isFiori3Enabled} === true ? 'Default' : 'Transparent'}" tooltip="{path:'_templPriv>/alp/filtersLink', formatter: 'sap.suite.ui.generic.template.AnalyticalListPage.util.FilterUtil.formatFiltersLink'}"
		press="._templateEventHandlers.onFilterPress">
		</Button>
	</template:if>
	<template:if test="{= ${parameter>/isFiori3Enabled} === false}">
		<OverflowToolbarButton id="template::Share"
			icon="sap-icon://action" type="Transparent" tooltip="{i18n>SHARE}"
			visible="{= ${parameter>/manifest/sap.ui.generic.app/settings/flexibleColumnLayout} ? '{= ${_templPrivGlobal>/generic/FCL/highestViewLevel} === 0}' : 'true' }"
			press="cmd:Share"
			text="{i18n>SHARE}">
			<layoutData>
				<OverflowToolbarLayoutData closeOverflowOnInteraction="false"
				priority = "{= ${device>/system/phone} ? 'AlwaysOverflow' : 'High'}"/>
			</layoutData>
		</OverflowToolbarButton>
	</template:if>
</core:FragmentDefinition>
