<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:g='urn:import:com.google.gwt.user.client.ui'
             xmlns:vcs='urn:import:org.rstudio.studio.client.workbench.views.vcs.common'
             xmlns:vcs_diff='urn:import:org.rstudio.studio.client.workbench.views.vcs.common.diff'
             xmlns:rs_widget='urn:import:org.rstudio.core.client.widget'>

   <ui:with field="res" type="org.rstudio.studio.client.workbench.views.vcs.svn.dialog.SVNReviewPanel.Resources"/>

   <g:SplitLayoutPanel ui:field="splitPanel_" styleName="{res.styles.splitPanel}">
      <g:north size="230">
         <g:DockLayoutPanel>
            <g:north size="28">
               <g:SimplePanel styleName="{res.styles.toolbarWrapper}">
                  <rs_widget:Toolbar ui:field="topToolbar_"/>
               </g:SimplePanel>
            </g:north>
            <g:center>
               <vcs:ChangelistTable styleName="{res.styles.whitebg}" ui:field="changelist_" width="100%" height="100%"/>
            </g:center>
         </g:DockLayoutPanel>
      </g:north>
      <g:center>
         <g:DockLayoutPanel>
            <g:north size="28">
               <g:FlowPanel styleName="{res.styles.toolbarWrapper}">
                  <g:FlowPanel styleName="{res.styles.diffViewOptions}">
                     <g:Label text="Context" styleName="{res.styles.contextLabel}"/>
                     <g:ListBox ui:field="contextLines_" visibleItemCount="1" selectedIndex="0">
                        <g:item value="5">5 line</g:item>
                        <g:item value="10">10 line</g:item>
                        <g:item value="25">25 line</g:item>
                        <g:item value="50">50 line</g:item>
                        <g:item value="-1">All lines</g:item>
                     </g:ListBox>
                     <rs_widget:Toolbar ui:field="diffToolbar_"/>
                  </g:FlowPanel>
               </g:FlowPanel>
            </g:north>
            <g:center>
               <g:ScrollPanel ui:field="diffScroll_" styleName="{res.styles.whitebg}" width="100%" height="100%">
                  <vcs_diff:LineTableView ui:field="lines_" width="100%"/>
               </g:ScrollPanel>
            </g:center>
         </g:DockLayoutPanel>
      </g:center>
   </g:SplitLayoutPanel>

</ui:UiBinder>