Add commit list component

This commit is contained in:
Marcin Michałek committed 2015-06-17 18:25:58 +02:00
1 parent 700d553b11
commit 3a49ca75a0
2 files changed
+45 -9

No files matched your search

@@ -14,11 +14,13 @@
<rowspec value="center:d:grow"/>
<rowspec value="top:4dlu:noGrow"/>
<rowspec value="center:d:grow"/>
<colspec value="fill:363px:grow"/>
<colspec value="fill:164px:grow"/>
<colspec value="left:4dlu:noGrow"/>
<colspec value="fill:263px:noGrow"/>
<colspec value="left:4dlu:noGrow"/>
<colspec value="fill:d:noGrow"/>
<constraints>
<xy x="20" y="20" width="500" height="435"/>
<xy x="20" y="20" width="529" height="396"/>
</constraints>
<properties/>
<border type="none"/>
@@ -42,7 +44,7 @@
<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="2" column="0" row-span="1" col-span="1" 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="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<forms/>
</constraints>
<properties/>
@@ -72,7 +74,7 @@
</grid>
<scrollpane id="19c4a">
<constraints>
<grid row="12" column="0" row-span="1" col-span="1" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="12" column="0" row-span="1" col-span="3" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<forms defaultalign-horz="false" defaultalign-vert="false"/>
</constraints>
<properties/>
@@ -88,7 +90,7 @@
</scrollpane>
<grid id="7dd0b" binding="synchronizationStatusPanel" layout-manager="CardLayout" hgap="0" vgap="0">
<constraints>
<grid row="2" column="2" row-span="3" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="2" column="4" row-span="3" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<forms top="5" left="5" bottom="5" right="5" defaultalign-vert="false"/>
</constraints>
<properties/>
@@ -98,7 +100,7 @@
<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="4" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="4" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<forms/>
</constraints>
<properties/>
@@ -128,7 +130,7 @@
</grid>
<component id="ada03" class="javax.swing.JButton" binding="mirrorButton">
<constraints>
<grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="1" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<grid row="6" column="0" row-span="1" col-span="3" vsize-policy="0" hsize-policy="1" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
<forms top="0" left="15" bottom="0" right="15"/>
</constraints>
<properties>
@@ -138,7 +140,7 @@
<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="1" 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="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<forms/>
</constraints>
<properties/>
@@ -154,13 +156,46 @@
</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"/>
<grid row="0" column="4" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
<forms/>
</constraints>
<properties>
<text value="Synchronization:"/>
</properties>
</component>
<scrollpane id="61c1a">
<constraints>
<grid row="10" column="2" row-span="1" col-span="1" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<forms defaultalign-horz="false" defaultalign-vert="false"/>
</constraints>
<properties/>
<border type="none"/>
<children>
<component id="4738" class="javax.swing.JList" binding="revisionsList">
<constraints/>
<properties>
<model>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
<item value="commit 1"/>
<item value="commit 2"/>
</model>
</properties>
</component>
</children>
</scrollpane>
</children>
</grid>
</form>
@@ -34,6 +34,7 @@ public class MainWindow extends JFrame implements CreateRepoInt {
private JPanel rootServerLoginPanel;
private JEditorPane detailsPane;
private JPanel synchronizationStatusPanel;
private JList revisionsList;
private StatusLogger statusLogger;
private RepoAction repoAction;
private SynchronizationStatusComponent synchronizationStatusComponent;