<mvc:View
		controllerName="sap.ui.documentation.sdk.controller.ApiMaster"
		xmlns:mvc="sap.ui.core.mvc"
		xmlns="sap.m"
		xmlns:custom="sap.ui.documentation"
		class="sapContrast sapContrastPlus">

	<Page
			id="page"
			enableScrolling="true"
			showFooter="false"
			navButtonPress="onNavBack"
			showNavButton="false"
			class="sapUiDocumentationMasterPage">

		<customHeader>
			<Toolbar width="100%">
				<SearchField id="searchField" placeholder="{i18n>API_MASTER_PLACEHOLDER}" liveChange="onTreeFilter" class="sapUiDocumentationFilterField"/>
				<Button id="expandAllButton" icon="sap-icon://expand-all" press="onTreeExpandAll" tooltip="{i18n>API_MASTER_EXPAND_BTN_TOOLTIP}"/>
				<Button id="collapseAllButton" icon="sap-icon://collapse-all" press="onTreeCollapseAll" tooltip="{i18n>API_MASTER_COLLAPSE_BTN_TOOLTIP}"/>
			</Toolbar>
		</customHeader>
		<subHeader>
			<Toolbar>
				<CheckBox id="includeDeprecated" text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" select="onIncludeDeprecatedItemsChange"/>
			</Toolbar>
		</subHeader>

		<content>

			<Tree
				id="tree"
				mode="SingleSelectMaster"
				noDataText="{i18n>API_MASTER_NO_DATA_TEXT}"
				selectionChange="onNodeSelect"
				items="{treeData>/}">
				<custom:DemokitTreeItem
						title="{treeData>displayName}"
						target="{treeData>name}"
                        entityType="{treeData>kind}"
						section="api"
						class="sapDemokitTreeItem"
						deprecated="{treeData>deprecated}"/>
			</Tree>

		</content>

	</Page>

</mvc:View>
