<mvc:View controllerName="sap.hanacli.massConvert.controller.App" height="100%" width="100%"
	xmlns:l="sap.ui.layout"
	xmlns:f="sap.ui.layout.form"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns:core="sap.ui.core"
	xmlns="sap.m">
	<ScrollContainer id="_IDGenScrollContainer1" height="100%" width="100%" vertical="true" focusable="true">
		<f:SimpleForm id="SimpleFormToolbar" editable="true" layout="ResponsiveGridLayout" adjustLabelSpan="true" singleContainerFullSize="false" ariaLabelledBy="Title1">
			<f:toolbar>
				<Toolbar id="TB1">
					<Title id="Title1" text="{i18n>appTitle} - {i18n>appDescription}"/>
					<ToolbarSpacer id="_IDGenToolbarSpacer1" />
					<Button id="btnBeginConvert" icon="sap-icon://split" tooltip="{i18n>convert}" press="onBeginConvert" />
				</Toolbar>
			</f:toolbar>
			<f:content>

				<Toolbar id="_IDGenToolbar1" ariaLabelledBy="Title2">
					<Title id="Title2" text="{i18n>target}"/>
					<ToolbarSpacer id="_IDGenToolbarSpacer2" />
					<Button id="_IDGenButton1" icon="sap-icon://settings" tooltip="{i18n>targetDetails}" press=".openUrl('/ui/#systeminfo-ui', true)" />
				</Toolbar>

				<Label id="_IDGenLabel1" text="{i18nReuse>scheam}" required="true" />
				<Input id="Schema" value="{/schema}" valueLiveUpdate="true" showSuggestion="true" suggest="loadSchemaFilter">
				</Input>
				<Input id="_IDGenInput1" value="{hanaModel>/user/0/CURRENT_SCHEMA}" visible="{= ${/schema} === '**CURRENT_SCHEMA**'}" editable="false"/>

				<Label id="_IDGenLabel2" text="{i18nReuse>table}" required="true"/>
				<Input id="Table" value="{/table}" showSuggestion="true" suggest="loadTableFilter">
				</Input>
				<Label id="_IDGenLabel3" text="{i18nReuse>view}" required="false"/>
				<Input id="View" value="{/view}" showSuggestion="true" suggest="loadViewFilter">
				</Input>

				<Label id="_IDGenLabel4" text="{i18n>outputType}" required="true"/>
				<ComboBox id="outputFormat" selectedKey="{/output}" items="{outputModel>/outputTypes}">
					<core:Item id="_IDGenItem1" key="{outputModel>key}" text="{outputModel>text}" />
				</ComboBox>

				<core:Fragment fragmentName="sap.hanacli.common.view.Connection" type="XML"/>

				<Toolbar id="_IDGenToolbar2" ariaLabelledBy="Title4">
					<Title id="Title4" text="{i18n>convOptions}"/>
				</Toolbar>
				<Label id="_IDGenLabel5" text="{i18n>hanaTypes}" tooltip="{i18nReuse>useHanaTypes}"/>
				<CheckBox id="chkHanaTypes" selected="{/useHanaTypes}" tooltip="{i18nReuse>useHanaTypes}"/>
				<Label id="_IDGenLabel6" text="{i18n>catalog}" tooltip="{i18nReuse>useCatalogPure}"/>
				<CheckBox id="chckCatalogPure" selected="{/useCatalogPure}" tooltip="{i18nReuse>useCatalogPure}"/>
				<Label id="_IDGenLabel7" text="{i18nReuse>limit}" required="true"/>
				<Input id="inputLimit" value="{/limit}" />
				<Label id="_IDGenLabel8" text="{i18n>folder}" required="true"/>
				<Input id="inputFolder" value="{/folder}" />
				<Label id="_IDGenLabel9" text="{i18nReuse>filename}" required="false"/>
				<Input id= "inputFilename" value="{/filename}" />
				<Label id="_IDGenLabel10" text="{i18nReuse>mass.log}" required="false"/>
				<CheckBox id= "chkLog" selected="{/log}" />
				<Label id="_IDGenLabel11" text="{i18nReuse>namespace}" required="false"/>
				<Input id="inputNamespace" value="{/namespace}" />
				<Label id="_IDGenLabel12" text="{i18nReuse>synonyms}" required="false"/>
				<Input id="inputSynonyms" value="{/synonyms}" />
				<Label id="_IDGenLabel13" text="{i18nReuse>keepPath}"/>
				<CheckBox id="chkKeepPath" selected="{/keepPath}" />
				<Label id="_IDGenLabel14" text="{i18nReuse>noColons}"/>
				<CheckBox id="chkNoColons" selected="{/noColons}" />
				<Label id="_IDGenLabel15" text="{i18nReuse>gui.useExists}"/>
				<CheckBox id="useExists" selected="{/useExists}" tooltip="{i18nReuse>useExists}"/>
				<Label id="_IDGenLabel16" text="{i18nReuse>gui.useQuoted}"/>
				<CheckBox id="useQuoted" selected="{/useQuoted}" tooltip="{i18nReuse>useQuoted}"/>
				<core:Fragment fragmentName="sap.hanacli.common.view.Debug" type="XML"/>

			</f:content>
		</f:SimpleForm>

		<f:SimpleForm id="SimpleFormToolbar2" editable="false" layout="ResponsiveGridLayout" adjustLabelSpan="true" singleContainerFullSize="false" ariaLabelledBy="Title6">
			<f:toolbar>
				<Toolbar id="_IDGenToolbar3" ariaLabelledBy="Title6">
					<Title id="Title6" text="{i18nReuse>log}"/>
				</Toolbar>
			</f:toolbar>
			<f:content>
				<Label id="_IDGenLabel17" text="{i18n>progress}" />
				<ProgressIndicator id="_IDGenProgressIndicator1" percentValue="{logModel>/progress}" showValue="true" state="Information" />
				<Label id="_IDGenLabel18" text="{i18n>log}" />
				<TextArea id="logInfo" value="{logModel>/log}" cols="60" rows="8" editable="false"/>
			</f:content>
		</f:SimpleForm>
	</ScrollContainer>
</mvc:View>