<core:FragmentDefinition
		xmlns="sap.m"
		xmlns:core="sap.ui.core">
	<ViewSettingsDialog
			id="viewSettingsDialog"
			confirm=".onConfirmViewSettings">
		<groupItems>
			<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_1}" key="name" selected="true" />
			<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_2}" key="category" />
			<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_3}" key="formFactors" />
			<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_4}" key="namespace" />
			<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_5}" key="since" />
		</groupItems>
		<filterItems>
			<ViewSettingsFilterItem
					text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_2}"
					key="category"
					id="categoryFilter"
					items="{
					path:'filter>/category',
					sorter: {
						path: 'id',
						descending: false
					}
				}" >
				<items>
					<ViewSettingsItem text="{filter>id}" key="{filter>id}" />
				</items>
			</ViewSettingsFilterItem>
			<ViewSettingsFilterItem
					text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_3}"
					key="formFactors"
					items="{
					path:'filter>/formFactors',
					sorter: {
						path: 'id',
						descending: false
					}
				}" >
				<items>
					<ViewSettingsItem text="{filter>id}" key="{filter>id}" />
				</items>
			</ViewSettingsFilterItem>
			<ViewSettingsFilterItem
					text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_4}"
					key="namespace"
					items="{
					path:'filter>/namespace',
					sorter: {
						path: 'id',
						descending: false
					}
				}" >
				<items>
					<ViewSettingsItem text="{filter>id}" key="{filter>id}" />
				</items>
			</ViewSettingsFilterItem>
			<ViewSettingsFilterItem
					text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_5}"
					key="since"
					items="{
					path:'filter>/since',
					sorter: {
						path: 'id',
						descending: false
					}
				}" >
				<items>
					<ViewSettingsItem text="{filter>id}" key="{filter>id}" />
				</items>
			</ViewSettingsFilterItem>
		</filterItems>
	</ViewSettingsDialog>
</core:FragmentDefinition>