Colors, add tooltip, layout improvements

This commit is contained in:
Marcin Michałek committed 2015-06-19 10:56:42 +02:00
1 parent 6f58bf9f3c
commit cf790af560
1 file changed
+52 -20
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.svn.utils.mirror.gui.main.MainWindow">
<grid id="27dc6" binding="rootPanel" layout-manager="GridLayoutManager" row-count="12" column-count="4" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<grid id="27dc6" binding="rootPanel" layout-manager="GridLayoutManager" row-count="12" column-count="5" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<xy x="20" y="20" width="754" height="503"/>
<xy x="20" y="20" width="754" height="506"/>
</constraints>
<properties/>
<border type="none"/>
@@ -20,7 +20,8 @@
<component id="4f73b" class="javax.swing.JTextPane" binding="logTextPane">
<constraints/>
<properties>
<text value="logs"/>
<text value=""/>
<toolTipText value="logs from aapilcation"/>
</properties>
</component>
</children>
@@ -28,10 +29,14 @@
<grid id="c9d20" binding="rootServerLoginPanel" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="15" left="15" bottom="15" right="15"/>
<constraints>
<grid row="1" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="1" column="0" row-span="1" col-span="4" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties/>
<border type="none" title="Login Data"/>
<border type="bevel-raised" title="Login Data">
<title-color color="-4503485"/>
</border>
<children>
<component id="f3976" class="javax.swing.JTextField" binding="loginTextFields">
<constraints>
@@ -41,6 +46,7 @@
</constraints>
<properties>
<text value="SVN user login"/>
<toolTipText value="login"/>
</properties>
</component>
<component id="ae73" class="javax.swing.JPasswordField" binding="passwordField">
@@ -51,20 +57,23 @@
</constraints>
<properties>
<text value="password"/>
<toolTipText value="password"/>
</properties>
</component>
</children>
</grid>
<scrollpane id="19c4a">
<constraints>
<grid row="6" column="0" row-span="6" col-span="3" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="6" column="0" row-span="6" col-span="4" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
<children>
<component id="7aca2" class="javax.swing.JTextPane" binding="detailsPane">
<constraints/>
<properties/>
<properties>
<toolTipText value="details about selected revision"/>
</properties>
<clientProperties>
<html.disable class="java.lang.Boolean" value="true"/>
</clientProperties>
@@ -74,10 +83,14 @@
<grid id="2412b" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="15" left="15" bottom="15" right="15"/>
<constraints>
<grid row="2" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="2" column="0" row-span="1" col-span="4" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties/>
<border type="none" title="Repository paths"/>
<border type="bevel-raised" title="Repository paths">
<title-color color="-4503485"/>
</border>
<children>
<component id="ddc3e" class="javax.swing.JTextField" binding="sourceRepositoryPathTextField">
<constraints>
@@ -87,6 +100,7 @@
</constraints>
<properties>
<text value="Source repository path"/>
<toolTipText value="repository from create mirroring"/>
</properties>
</component>
<component id="703e0" class="javax.swing.JTextField" binding="destinationRepositoryPathTextField" default-binding="true">
@@ -97,38 +111,48 @@
</constraints>
<properties>
<text value="Destination repository path"/>
<toolTipText value="repository which mirrors"/>
</properties>
</component>
</children>
</grid>
<component id="ada03" class="javax.swing.JButton" binding="mirrorButton">
<constraints>
<grid row="3" column="0" row-span="1" col-span="3" vsize-policy="0" hsize-policy="1" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<grid row="3" column="0" row-span="1" col-span="3" vsize-policy="0" hsize-policy="1" anchor="0" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties>
<text value="Mirror"/>
<toolTipText value="start"/>
</properties>
</component>
<grid id="6a575" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="5" left="15" bottom="5" right="15"/>
<constraints>
<grid row="0" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="0" column="0" row-span="1" col-span="4" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties/>
<border type="none" title="Repository type"/>
<border type="bevel-raised" title="Repository type">
<title-color color="-4503485"/>
</border>
<children>
<component id="3fbfa" class="javax.swing.JComboBox" binding="repositoryTypeComboBox">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<properties>
<toolTipText value="Repository type: local ore remote"/>
</properties>
</component>
</children>
</grid>
<component id="2d020" class="javax.swing.JLabel">
<constraints>
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
<preferred-size width="259" height="16"/>
<preferred-size width="266" height="16"/>
</grid>
</constraints>
<properties>
@@ -137,7 +161,7 @@
</component>
<scrollpane id="61c1a">
<constraints>
<grid row="4" column="1" row-span="2" col-span="2" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false">
<grid row="4" column="1" row-span="2" col-span="3" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="222" height="144"/>
</grid>
</constraints>
@@ -148,26 +172,34 @@
<constraints/>
<properties>
<model/>
<toolTipText value="list of revisions"/>
</properties>
</component>
</children>
</scrollpane>
<grid id="7dd0b" binding="synchronizationStatusPanel" layout-manager="CardLayout" hgap="0" vgap="0">
<constraints>
<grid row="0" column="3" row-span="2" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="101" height="0"/>
<grid row="0" column="4" row-span="2" col-span="1" vsize-policy="3" hsize-policy="1" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="150" height="0"/>
</grid>
</constraints>
<properties/>
<border type="none"/>
<properties>
<toolTipText value="green:synchronized, yellow:waiting for user oraz server, red:not synchronized"/>
</properties>
<border type="bevel-raised" title="Synchronization status">
<title-color color="-4503485"/>
</border>
<children/>
</grid>
<component id="bef98" class="javax.swing.JButton" binding="refreshButton" default-binding="true">
<constraints>
<grid row="3" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<grid row="3" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="1" anchor="0" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties>
<text value="Refresh"/>
<toolTipText value="refresh status"/>
</properties>
</component>
</children>