<commit_before><?xml version="1.0"?>
<?xml-stylesheet href="file://E:/workspaces/sprint_workspace/pentaho-xul/test/resource/documents/xul.css" type="text/css"?>
<window id="label-test" title="Flow Test"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional" height="600"
  width="800" onload="propertiesForm.init(),modeler.init()" xmlns:pen="http://www.pentaho.org/2008/xul">

  <dialog width="300" height="150" id="newDimesionDialog" title="Add Dimension"
    ondialogaccept="modeler.addNewDimension()" ondialogcancel="modeler.hideNewDimensionDialog()">
    <label value="Name:" />
    <textbox id="newDimensionName" />
  </dialog>


  <pen:include src="columnResolver.xul" />

  <vbox flex="1" id="mainVBox" spacing="0" padding="0">

    <hbox>
      <label value="${new}:" />
      <menulist id="visualizationlist" label="">
        <menupopup>
          <menuitem label="Dummy Visualization" />
        </menupopup>
      </menulist>
      <button label="${go}" id="exploreButton" onclick="modeler.visualize()" />
      <button label="${publish}" id="publishButton" onclick="modeler.publish()" />
    </hbox>

    <hbox flex="1">
      <vbox>

        <groupbox flex="1" width="250">
	        <caption label="Data" />
	        <hbox>
		      <label value="${available}:" />
		      <spacer flex="1" />
		      <button onclick="modeler.refreshFields()" image="images/refresh.png" />
	        </hbox>
	        <listbox id="fieldList" flex="1" seltype="multi"
	          pen:binding="name" ondrag="modeler.onFieldListDrag()"
	          pen:drageffect="copy">
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	        </listbox>
	        <hbox>
	          <button label="${add_measure}" onclick="modeler.moveFieldsToMeasures()" />
	          <button label="${add_dimension}" onclick="modeler.moveFieldsToDimensions()" />
	        </hbox>
        </groupbox>
        
      </vbox>
      <hbox flex="4">
        <vbox flex="3">
          <hbox>
            <spacer flex="1" />
            <button image="images/sm_measure_icon.png" />
            <button image="images/sm_dim_icon.png" onclick="modeler.showNewDimensionDialog()" />
            <button image="images/sm_hierarchy_icon.png" />
            <button image="images/sm_level_icon.png" />
            <button image="images/16x16_down.png" onclick="modeler.moveFieldDown()" />
            <button image="images/16x16_Up.png" onclick="modeler.moveFieldUp()" />
            <button image="images/remove.png" onclick="modeler.removeField()" />
          </hbox>
          <tree id="dimensionTree" flex="1" editable="true"
            ondrag="modeler.onDimensionTreeDrag()" pen:drageffect="move"
            ondrop="modeler.onDimensionTreeDrop()" hiddenrootnode="false" pen:preserveexpandedstate="true">
            <treecols>
              <treecol flex="1" label="" primary="true"
                pen:binding="name" pen:childrenbinding="children"
                pen:imagebinding="image" editable="true"<commit_msg>Implementation for AGILEBI-167 Improve model interactions<commit_after><?xml version="1.0"?>
<?xml-stylesheet href="file://E:/workspaces/sprint_workspace/pentaho-xul/test/resource/documents/xul.css" type="text/css"?>
<window id="label-test" title="Flow Test"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional" height="600"
  width="800" onload="propertiesForm.init(),modeler.init()" xmlns:pen="http://www.pentaho.org/2008/xul">

  <dialog width="300" height="150" id="newDimesionDialog" title="Add Dimension"
    ondialogaccept="modeler.addNewDimension()" ondialogcancel="modeler.hideNewDimensionDialog()">
    <label value="Name:" />
    <textbox id="newDimensionName" />
  </dialog>


  <pen:include src="columnResolver.xul" />

  <vbox flex="1" id="mainVBox" spacing="0" padding="0">

    <hbox>
      <label value="${new}:" />
      <menulist id="visualizationlist" label="">
        <menupopup>
          <menuitem label="Dummy Visualization" />
        </menupopup>
      </menulist>
      <button label="${go}" id="exploreButton" onclick="modeler.visualize()" />
      <button label="${publish}" id="publishButton" onclick="modeler.publish()" />
    </hbox>

    <hbox flex="1">
      <vbox>

        <groupbox flex="1" width="250">
	        <caption label="Data" />
	        <hbox>
		      <label value="${available}:" />
		      <spacer flex="1" />
		      <button onclick="modeler.refreshFields()" image="images/refresh.png" />
	        </hbox>
	        <listbox id="fieldList" flex="1" seltype="multi"
	          pen:binding="name" ondrag="modeler.onFieldListDrag()"
	          pen:drageffect="copy">
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	          <listitem label="field" />
	        </listbox>
	        <hbox>
	          <button label="${add_measure}" onclick="modeler.moveFieldsToMeasures()" />
	          <button label="${add_dimension}" onclick="modeler.moveFieldsToDimensions()" />
	        </hbox>
        </groupbox>
        
      </vbox>
      <hbox flex="4">
        <vbox flex="3">
            <toolbar id="schema-toolbar" mode="icons">
                <toolbarspacer flex="1"/>
                <toolbarseparator/>
    			<toolbarbutton id="measure" image="images/sm_measure_icon.png" onclick="modeler.showNewMeasureDialog()"/>
    			<toolbarbutton id="dimension" image="images/sm_dim_icon.png" onclick="modeler.showNewDimensionDialog()"/>
    			<toolbarbutton id="hierarchy" image="images/sm_hierarchy_icon.png" onclick="modeler.showNewHierarchyDialog()"/>
    			<toolbarbutton id="level" image="images/sm_level_icon.png" onclick="modeler.showNewLevelDialog()"/>
                <toolbarseparator/>
    			<toolbarbutton image="images/16x16_down.png" onclick="modeler.moveFieldDown()"/>
    			<toolbarbutton image="images/16x16_Up.png" onclick="modeler.moveFieldUp()"/>
    			<toolbarbutton image="images/remove.png" onclick="modeler.removeField()"/>
    		</toolbar>
    	  <!--hbox>	 
            <spacer flex="1" />
            <button id="measure" image="images/sm_measure_icon.png" onclick="modeler.showNewMeasureDialog()"/>
            <button id="dimension" image="images/sm_dim_icon.png" onclick="modeler.showNewDimensionDialog()" />
            <button id="hierarchy" image="images/sm_hierarchy_icon.png" onclick="modeler.showNewHierarchyDialog()"/>
            <button id="level" image="images/sm_level_icon.png" onclick="modeler.showNewLevelDialog()"/>
            <button image="images/16x16_down.png" onclick="modeler.moveFieldDown()" />
            <button image="images/16x16_Up.png" onclick="modeler.moveFieldUp()" />
            <button image="images/remove.png" onclick="modeler.removeField()" />
          </hbox-->
          <tree id="dimensionTree" flex="1" editable="true"
            ondrag="modeler.onDimensionTreeDrag()" pen:drageffect="move"
            ondrop="modeler.onDimensionTreeDrop()" hiddenrootnode="false" pen:preserveexpandedstate="true">
            <treecols>
              <treecol flex="1" label="" primary="true"
                pen:binding="name" pen:childrenbinding="children"
                pen:imagebinding="image" editable="true"
{'fraction_non_alphanumeric': 0.16992600422832982, 'fraction_numerical': 0.012684989429175475, 'mean_word_length': 3.0389541088580576, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 2, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4620500', 'n_tokens_mistral': 2453, 'n_tokens_neox': 2292, 'n_words': 338}