<commit_before><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="repository-explorer-window" title="Dev Repository Window" orient="vertical"
  height="600" width="800"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:pen="http://www.pentaho.org/2008/xul" 
  onload="mainController.init()">

	<dialog id="repository-explorer-dialog" 
		title="${RepositoryExplorerDialog.Title}"
	    height="600" width="800"
		appicon="ui/images/spoon.ico"
		buttons="accept"
		buttonalign="end" 
		buttonlabelaccept="${Dialog.Close}" 
		ondialogaccept="mainController.closeDialog()">
	
		<menupopup id="folderContextMenu">
			<menuitem id="folder-context-create" label="${RepositoryExplorerDialog.ContextMenu.NewFolder}" command="browseController.createFolder()"/>
			<menuitem id="folder-context-open" label="${RepositoryExplorerDialog.ContextMenu.Open}" command="browseController.openContent()"/>
			<menuitem id="folder-context-rename" label="${RepositoryExplorerDialog.ContextMenu.Rename}" command="browseController.renameFolder()"/>
			<menuitem id="folder-context-delete" label="${RepositoryExplorerDialog.ContextMenu.Delete}" command="browseController.deleteFolder()"/>
		</menupopup>
	
		<menupopup id="revisionContextMenu">
			<menuitem label="${RepositoryExplorerDialog.ContextMenu.Open}" command="browseController.openRevision()"/>
			<menuitem label="${RepositoryExplorerDialog.ContextMenu.Restore}" command="browseController.restoreRevision()"/>
			<!-- <menuitem label="Delete" /> -->
		</menupopup>
	
		<menupopup id="fileContextMenu">
			<menuitem id="file-context-open" label="${RepositoryExplorerDialog.ContextMenu.Open}" command="browseController.openContent()"/>
			<menuitem id="file-context-rename" label="${RepositoryExplorerDialog.ContextMenu.Rename}" command="browseController.renameContent()"/>
			<menuitem id="file-context-delete" label="${RepositoryExplorerDialog.ContextMenu.Delete}" command="browseController.deleteContent()"/>
			<!--
			<menuitem id="file-context-lock" type="checkbox" label="${RepositoryExplorerDialog.ContextMenu.Lock}" command="browseController.lockContent()"/>
			<menuitem id="file-context-locknotes" label="${RepositoryExplorerDialog.ContextMenu.LockNotes}" command="browseController.viewLockNote()"/>
			-->
		</menupopup>
		
		<!--
		<menupopup id="lockContextMenu">
			<menuitem id="lock-context-lock" type="checkbox" label="${RepositoryExplorerDialog.ContextMenu.Lock}" command="browseController.lockContent()"/>
			<menuitem id="lock-context-locknotes" label="${RepositoryExplorerDialog.ContextMenu.LockNotes}" command="browseController.viewLockNote()"/>
		</menupopup>
		-->
	
		<tabbox id="repositoryExplorerTabs" flex="1">
	
			<tabs id="repository-tab-set">
				<tab id="browse-tab" label="${RepositoryExplorerDialog.Tabs.Browse}" />
				<tab id="connections-tab" label="${RepositoryExplorerDialog.Tabs.Connections}" />
				<tab id="slaves-tab" label="${RepositoryExplorerDialog.Tabs.Slaves}" />
				<tab id="partitions-tab" label="${RepositoryExplorerDialog.Tabs.Partitions}" />
				<tab id="clusters-tab" label="${RepositoryExplorerDialog.Tabs.Clusters}" />
			</tabs>
	
			<tabpanels id="repository-panels-set" flex="1">
	
				<!--
					###############################################################################
				-->
				<!--
					BROWSE TAB
				-->
				<!--
					###############################################################################
				-->
	
				<tabpanel id="browse-tab">
							<splitter flex="1" orient="HORIZONTAL">  
								<vbox flex="1"> 
									<hbox>
										<label id="folder-label" value="${RepositoryExplorerDialog.BrowseTab.Label}" />
										<label id="spacer-label" flex="1" />
										<button id="folder-expand-all" image="images/ExpandAll.png" onclick="browseController.expandAllFolders()"
											context="folderContextMenu" />
										<button id="folder-collapse-all" image="images/CollapseAll.png"  onclick="browseController.collapseAllFolders()" />
									</hbox>
		
									<tree flex="1" id="folder-tree" istree="true" context="folderContextMenu" 
									ondrag="browseController.onDragFromGlobalTree()" ondrop="browseController.onDrop()" 
									pen:drageffect="move" pen:preserveexpandedstate="true" command="browseController.onDoubleClick()">
										<treecols>
											<treecol flex="1" label="" primary="true" pen:binding="name"
												pen:childrenbinding="children" pen:imagebinding="image" expandedbinding="expanded" />
										</treecols>
										<treechildren>
											<treeitem container="true" open="true">
												<treerow>
													<treecell label="" />
												</treerow>
												<treechildren></treechildren>
											</treeitem>
										</treechildren>
									</tree>
								</vbox>
								<vbox flex="4">
                  <deck id="browse-tab-right-panel-deck" flex="1">
  									<splitter flex="1" orient="VERTICAL">
                                      <vbox flex="4"> 
										<hbox id="file-table-tools"/>  
  										<tree id="file-table" flex="1" hidecolumnpicker="true"
  											enableColumnDrag="true" context="fileContextMenu" 
  											ondrag="browseController.onDragFromLocalTable()" ondrop="browseController.onDrop()" 
  											pen:drageffect="move" sortable="true" treeLines="false"  command="browseController.onDoubleClick()">
  											<treecols>
  												<treecol id="name-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Name}"
  													pen:binding="name" pen:childrenbinding="children" pen:imagebinding="image" 
  													pen:comparatorbinding="comparator"/>
  												<treecol id="type-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Type}"
  													pen:binding="type" />
  												<treecol id="date-mod-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.DateModified}"
  													pen:binding="formatModifiedDate" />
  											</treecols>
  											<treechildren />
  										</tree>
										</vbox>
  										<vbox flex="3" id="revision-box" visible="false"/>
  								  </splitter>
                  </deck>
						 		</vbox>  
                            </splitter>  
				</tabpanel>
				<!--
					###############################################################################
				-->
				<!--
					END - BROWSE TAB
				-->
				<!--
					###############################################################################
				-->
	
				<!--
					###############################################################################
				-->
				<!--
					START - CONNECTIONS TAB
				-->
				<!--
					###############################################################################
				-->
				
				<tabpanel id="connections">
					<hbox flex="1">
					<vbox flex="1">
						<!-- Connection list tool pane -->
						<hbox height="20px">
							<label value="${RepositoryExplorerDialog.ConnectionsTab.Label}"/>
							<label id="spacer-label" flex="1" />
							<button id="connections-edit" image="images/Edit.png" pen:disabledimage="images/dEdit.png" onclick="connectionsController.editConnection()"/>
							<button id="connections-new" image="images/Add.png" pen:disabledimage="images/dAdd.png" onclick="connectionsController.createConnection()"/>
							<button id="connections-remove" image="images/Remove.png" pen:disabledimage="images/dRemove.png" onclick="connectionsController.removeConnection()" />
						</hbox>
						<!-- Connection list -->
						<tree id="connections-table" flex="1" hidecolumnpicker="true" treeLines="false" sortable="true">
							<treecols>
								<treecol id="name-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Name}" pen:binding="name" sortActive="true" sortDirection="ASCENDING"/>
								<treecol id="type-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Type}" pen:binding="type"/>
								<treecol id="date-mod-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.DateModified}" pen:binding="dateModified"/>
								<treecol id="size-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Size}"/>
							</treecols>
							<treechildren/>
						</tree>
						<!-- Version history tool pane -->
	<!--
						<hbox height="20px">
							<label id="connection-revision-label" value="Version History:"/>
						</hbox>
	-->
						<!-- Version history -->
	<!--
						<tree id="connection-revision-table" flex="1" hidecolumnpicker="true"
							enableColumnDrag="true" context="revisionContextMenu">
							<treecols>
								<treecol id="revision-label-col" flex="1" label="${RepositoryExplorerDialog.Tab.VersionHistory.Column.Label}" 
									pen:binding="name" pen:childrenbinding="children" context="revisionContextMenu" /><commit_msg>PDI-3311 - commented out the size column. No size info is available in DbMeta<commit_after><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="repository-explorer-window" title="Dev Repository Window" orient="vertical"
  height="600" width="800"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:pen="http://www.pentaho.org/2008/xul" 
  onload="mainController.init()">

	<dialog id="repository-explorer-dialog" 
		title="${RepositoryExplorerDialog.Title}"
	    height="600" width="800"
		appicon="ui/images/spoon.ico"
		buttons="accept"
		buttonalign="end" 
		buttonlabelaccept="${Dialog.Close}" 
		ondialogaccept="mainController.closeDialog()">
	
		<menupopup id="folderContextMenu">
			<menuitem id="folder-context-create" label="${RepositoryExplorerDialog.ContextMenu.NewFolder}" command="browseController.createFolder()"/>
			<menuitem id="folder-context-open" label="${RepositoryExplorerDialog.ContextMenu.Open}" command="browseController.openContent()"/>
			<menuitem id="folder-context-rename" label="${RepositoryExplorerDialog.ContextMenu.Rename}" command="browseController.renameFolder()"/>
			<menuitem id="folder-context-delete" label="${RepositoryExplorerDialog.ContextMenu.Delete}" command="browseController.deleteFolder()"/>
		</menupopup>
	
		<menupopup id="revisionContextMenu">
			<menuitem label="${RepositoryExplorerDialog.ContextMenu.Open}" command="browseController.openRevision()"/>
			<menuitem label="${RepositoryExplorerDialog.ContextMenu.Restore}" command="browseController.restoreRevision()"/>
			<!-- <menuitem label="Delete" /> -->
		</menupopup>
	
		<menupopup id="fileContextMenu">
			<menuitem id="file-context-open" label="${RepositoryExplorerDialog.ContextMenu.Open}" command="browseController.openContent()"/>
			<menuitem id="file-context-rename" label="${RepositoryExplorerDialog.ContextMenu.Rename}" command="browseController.renameContent()"/>
			<menuitem id="file-context-delete" label="${RepositoryExplorerDialog.ContextMenu.Delete}" command="browseController.deleteContent()"/>
			<!--
			<menuitem id="file-context-lock" type="checkbox" label="${RepositoryExplorerDialog.ContextMenu.Lock}" command="browseController.lockContent()"/>
			<menuitem id="file-context-locknotes" label="${RepositoryExplorerDialog.ContextMenu.LockNotes}" command="browseController.viewLockNote()"/>
			-->
		</menupopup>
		
		<!--
		<menupopup id="lockContextMenu">
			<menuitem id="lock-context-lock" type="checkbox" label="${RepositoryExplorerDialog.ContextMenu.Lock}" command="browseController.lockContent()"/>
			<menuitem id="lock-context-locknotes" label="${RepositoryExplorerDialog.ContextMenu.LockNotes}" command="browseController.viewLockNote()"/>
		</menupopup>
		-->
	
		<tabbox id="repositoryExplorerTabs" flex="1">
	
			<tabs id="repository-tab-set">
				<tab id="browse-tab" label="${RepositoryExplorerDialog.Tabs.Browse}" />
				<tab id="connections-tab" label="${RepositoryExplorerDialog.Tabs.Connections}" />
				<tab id="slaves-tab" label="${RepositoryExplorerDialog.Tabs.Slaves}" />
				<tab id="partitions-tab" label="${RepositoryExplorerDialog.Tabs.Partitions}" />
				<tab id="clusters-tab" label="${RepositoryExplorerDialog.Tabs.Clusters}" />
			</tabs>
	
			<tabpanels id="repository-panels-set" flex="1">
	
				<!--
					###############################################################################
				-->
				<!--
					BROWSE TAB
				-->
				<!--
					###############################################################################
				-->
	
				<tabpanel id="browse-tab">
							<splitter flex="1" orient="HORIZONTAL">  
								<vbox flex="1"> 
									<hbox>
										<label id="folder-label" value="${RepositoryExplorerDialog.BrowseTab.Label}" />
										<label id="spacer-label" flex="1" />
										<button id="folder-expand-all" image="images/ExpandAll.png" onclick="browseController.expandAllFolders()"
											context="folderContextMenu" />
										<button id="folder-collapse-all" image="images/CollapseAll.png"  onclick="browseController.collapseAllFolders()" />
									</hbox>
		
									<tree flex="1" id="folder-tree" istree="true" context="folderContextMenu" 
									ondrag="browseController.onDragFromGlobalTree()" ondrop="browseController.onDrop()" 
									pen:drageffect="move" pen:preserveexpandedstate="true" command="browseController.onDoubleClick()">
										<treecols>
											<treecol flex="1" label="" primary="true" pen:binding="name"
												pen:childrenbinding="children" pen:imagebinding="image" expandedbinding="expanded" />
										</treecols>
										<treechildren>
											<treeitem container="true" open="true">
												<treerow>
													<treecell label="" />
												</treerow>
												<treechildren></treechildren>
											</treeitem>
										</treechildren>
									</tree>
								</vbox>
								<vbox flex="4">
                  <deck id="browse-tab-right-panel-deck" flex="1">
  									<splitter flex="1" orient="VERTICAL">
                                      <vbox flex="4"> 
										<hbox id="file-table-tools"/>  
  										<tree id="file-table" flex="1" hidecolumnpicker="true"
  											enableColumnDrag="true" context="fileContextMenu" 
  											ondrag="browseController.onDragFromLocalTable()" ondrop="browseController.onDrop()" 
  											pen:drageffect="move" sortable="true" treeLines="false"  command="browseController.onDoubleClick()">
  											<treecols>
  												<treecol id="name-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Name}"
  													pen:binding="name" pen:childrenbinding="children" pen:imagebinding="image" 
  													pen:comparatorbinding="comparator"/>
  												<treecol id="type-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Type}"
  													pen:binding="type" />
  												<treecol id="date-mod-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.DateModified}"
  													pen:binding="formatModifiedDate" />
  											</treecols>
  											<treechildren />
  										</tree>
										</vbox>
  										<vbox flex="3" id="revision-box" visible="false"/>
  								  </splitter>
                  </deck>
						 		</vbox>  
                            </splitter>  
				</tabpanel>
				<!--
					###############################################################################
				-->
				<!--
					END - BROWSE TAB
				-->
				<!--
					###############################################################################
				-->
	
				<!--
					###############################################################################
				-->
				<!--
					START - CONNECTIONS TAB
				-->
				<!--
					###############################################################################
				-->
				
				<tabpanel id="connections">
					<hbox flex="1">
					<vbox flex="1">
						<!-- Connection list tool pane -->
						<hbox height="20px">
							<label value="${RepositoryExplorerDialog.ConnectionsTab.Label}"/>
							<label id="spacer-label" flex="1" />
							<button id="connections-edit" image="images/Edit.png" pen:disabledimage="images/dEdit.png" onclick="connectionsController.editConnection()"/>
							<button id="connections-new" image="images/Add.png" pen:disabledimage="images/dAdd.png" onclick="connectionsController.createConnection()"/>
							<button id="connections-remove" image="images/Remove.png" pen:disabledimage="images/dRemove.png" onclick="connectionsController.removeConnection()" />
						</hbox>
						<!-- Connection list -->
						<tree id="connections-table" flex="1" hidecolumnpicker="true" treeLines="false" sortable="true">
							<treecols>
								<treecol id="name-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Name}" pen:binding="name" sortActive="true" sortDirection="ASCENDING"/>
								<treecol id="type-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Type}" pen:binding="type"/>
								<treecol id="date-mod-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.DateModified}" pen:binding="dateModified"/>
								<!--<treecol id="size-col" flex="1" label="${RepositoryExplorerDialog.Tab.TableColumn.Size}"/>-->
							</treecols>
							<treechildren/>
						</tree>
						<!-- Version history tool pane -->
	<!--
						<hbox height="20px">
							<label id="connection-revision-label" value="Version History:"/>
						</hbox>
	-->
						<!-- Version history -->
	<!--
						<tree id="connection-revision-table" flex="1" hidecolumnpicker="true"
							enableColumnDrag="true" context="revisionContextMenu">
							<treecols>
								<treecol id="revision-label-col" flex="1" label="${RepositoryExplorerDialog.Tab.VersionHistory.Column.Label}" 
									pen:binding="name" pen:childrenbinding="children" context="revisionContextMenu" />
{'fraction_non_alphanumeric': 0.2117527289180476, 'fraction_numerical': 0.005655788699734178, 'mean_word_length': 3.6592885375494073, 'pattern_counts': {'":': 0, '<': 248, '<?xml version=': 2, '>': 246, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '378930', 'n_tokens_mistral': 6759, 'n_tokens_neox': 5008, 'n_words': 672}