<core:FragmentDefinition
	xmlns="sap.m"
	xmlns:core="sap.ui.core">

	<Dialog
		id="Dialog"
		resizable="true"
		contentWidth="600px"
		class="sapUiNoContentPadding"
		ariaLabelledBy="title">
		<customHeader>
			<Toolbar>
				<ToolbarSpacer/>
				<Title
					id="title"
					text="{view>/DebugModulesTitle}"
					class="sapUiTinyMarginLeft"/>
				<ToolbarSpacer/>
			</Toolbar>
		</customHeader>
		<subHeader>
			<Toolbar>
				<Label
					design="Bold"
					width="6.5rem"
					class="sapUiTinyMargin"
					labelFor="customDebugValue"
					text="sap-ui-debug ="/>
				<Input
					id="customDebugValue"
					width="100%"
					value="{view>/CustomDebugMode}"
					change="onChangeCustomDebugMode"/>
				<ToolbarSpacer/>
				<Button
					icon="sap-icon://copy"
					tooltip="{i18n>TechInfo.DebugModulesCopy.Tooltip}"
					press="onConfigureDebugModulesCopyToClipboard"/>
				<Button
					icon="sap-icon://reset"
					tooltip="{i18n>TechInfo.DebugModulesReset.Tooltip}"
					press="onConfigureDebugModulesReset"/>
			</Toolbar>
		</subHeader>
		<content>
			<VBox>
				<Tree
					id="tree"
					items="{view>/DebugModules}"
					mode="MultiSelect"
					selectionChange="onConfigureDebugModuleSelect"
					includeItemInSelection="true">
					<StandardTreeItem
						title="{view>text}"
						selected="{view>selected}"/>
				</Tree>
			</VBox>
		</content>
		<buttons>
			<Button
				text="{i18n>TechInfo.DebugModulesConfigPopup.Confirm}"
				press="onConfigureDebugModulesConfirm"
				type="Emphasized"/>
			<Button
				text="{i18n>CLOSE}"
				press="onConfigureDebugModulesClose"
				type="Emphasized"/>
		</buttons>
	</Dialog>

</core:FragmentDefinition>