<mvc:View controllerName="sap.hanacli.inspect.controller.querySimple-ui" 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:table="sap.ui.table"
    xmlns:ce="sap.ui.codeeditor"
    xmlns="sap.m">
    <ScrollContainer id="scrollContainerQuerySimple" height="100%" width="100%" vertical="true" focusable="true">
        <f:SimpleForm id="SimpleFormToolbarQuerySimple" editable="true" layout="ResponsiveGridLayout" adjustLabelSpan="true" singleContainerFullSize="false" ariaLabelledBy="Title1">
            <f:toolbar>
                <core:Fragment fragmentName="sap.hanacli.tables.view.reuse.toolbar" type="XML"/>
            </f:toolbar>
            <f:content>

                <Toolbar id="targetToolbarQuerySimple" ariaLabelledBy="Title2QuerySimple">
                    <Title id="Title2QuerySimple" text="{i18nReuse>gui.target}"/>
                    <ToolbarSpacer id="spacerQuerySimple" />
                    <Button id="settingsButtonQuerySimple" icon="sap-icon://settings" tooltip="{i18nReuse>gui.targetDetails}" press=".openUrl('/ui/#systeminfo-ui', true)" />
                </Toolbar>
                <Label id="labelFolderQuerySimple" text="{i18n>folder}" required="true"/>
                <Input id="FolderQuerySimple" value="{/folder}">
                </Input>
                <Label id="labelFilenameQuerySimple" text="{i18nReuse>filename}" required="false"/>
                <Input id="FilenameQuerySimple" value="{/filename}">
                </Input>
                <Label id="labelOutputTypeQuerySimple" text="{i18n>outputType}" required="true"/>
                <ComboBox id="outputFormatQuerySimple" selectedKey="{/output}" items="{outputModel>/outputTypes}">
                    <core:Item id="outputFormatQuerySimpleItem" key="{outputModel>key}" text="{outputModel>text}" />
                </ComboBox>

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


                <Toolbar id="toolbarQuerySimple" ariaLabelledBy="TitleEditor">
                    <Title id="TitleEditor" text="{i18nReuse>query}"/>
                </Toolbar>
                <ce:CodeEditor id="aCodeEditorSQL" type="sql" value="{/query}" editable="true" height="auto" maxLines="5" />

            </f:content>
        </f:SimpleForm>
	<core:Fragment fragmentName="sap.hanacli.tables.view.reuse.table" type="XML"/>
    </ScrollContainer>
</mvc:View>