gvcsfx 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,51 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Copyright (C) 2020 Chris Liaw <chrisliaw@antrapol.com>
5
+ Author: Chris Liaw <chrisliaw@antrapol.com>
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+ -->
20
+
21
+ <?import javafx.geometry.Insets?>
22
+ <?import javafx.scene.control.Button?>
23
+ <?import javafx.scene.control.Label?>
24
+ <?import javafx.scene.control.TextArea?>
25
+ <?import javafx.scene.layout.HBox?>
26
+ <?import javafx.scene.layout.VBox?>
27
+ <?import javafx.scene.text.Font?>
28
+
29
+
30
+ <VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="353.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
31
+ <children>
32
+ <Label text="Diff Result">
33
+ <font>
34
+ <Font name="System Bold" size="13.0" />
35
+ </font>
36
+ </Label>
37
+ <TextArea editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="280.0" minWidth="-Infinity" wrapText="true">
38
+ <VBox.margin>
39
+ <Insets bottom="5.0" top="5.0" />
40
+ </VBox.margin>
41
+ </TextArea>
42
+ <HBox alignment="CENTER_RIGHT" maxHeight="38.0" maxWidth="1.7976931348623157E308" minHeight="38.0" prefHeight="38.0" VBox.vgrow="ALWAYS">
43
+ <children>
44
+ <Button maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" prefWidth="80.0" text="Close" />
45
+ </children>
46
+ </HBox>
47
+ </children>
48
+ <padding>
49
+ <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
50
+ </padding>
51
+ </VBox>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Copyright (C) 2020 Chris Liaw <chrisliaw@antrapol.com>
5
+ Author: Chris Liaw <chrisliaw@antrapol.com>
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+ -->
20
+
21
+ <?import javafx.scene.image.ImageView?>
22
+ <?import javafx.scene.layout.VBox?>
23
+
24
+
25
+ <VBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="88.0" prefWidth="88.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
26
+ <children>
27
+ <ImageView fx:id="imgFloat" fitHeight="88.0" fitWidth="88.0" onContextMenuRequested="#show_context_menu" onDragDropped="#float_dnd_drop" pickOnBounds="true" preserveRatio="true" />
28
+ </children>
29
+ </VBox>
@@ -0,0 +1,637 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Copyright (C) 2020 Chris Liaw <chrisliaw@antrapol.com>
5
+ Author: Chris Liaw <chrisliaw@antrapol.com>
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+ -->
20
+
21
+ <?import javafx.geometry.Insets?>
22
+ <?import javafx.scene.control.Button?>
23
+ <?import javafx.scene.control.CheckBox?>
24
+ <?import javafx.scene.control.ComboBox?>
25
+ <?import javafx.scene.control.Label?>
26
+ <?import javafx.scene.control.ListView?>
27
+ <?import javafx.scene.control.SplitPane?>
28
+ <?import javafx.scene.control.Tab?>
29
+ <?import javafx.scene.control.TabPane?>
30
+ <?import javafx.scene.control.TableColumn?>
31
+ <?import javafx.scene.control.TableView?>
32
+ <?import javafx.scene.control.TextArea?>
33
+ <?import javafx.scene.control.TextField?>
34
+ <?import javafx.scene.control.TitledPane?>
35
+ <?import javafx.scene.control.TreeTableColumn?>
36
+ <?import javafx.scene.control.TreeTableView?>
37
+ <?import javafx.scene.image.ImageView?>
38
+ <?import javafx.scene.layout.AnchorPane?>
39
+ <?import javafx.scene.layout.ColumnConstraints?>
40
+ <?import javafx.scene.layout.GridPane?>
41
+ <?import javafx.scene.layout.HBox?>
42
+ <?import javafx.scene.layout.RowConstraints?>
43
+ <?import javafx.scene.layout.StackPane?>
44
+ <?import javafx.scene.layout.VBox?>
45
+ <?import javafx.scene.text.Font?>
46
+
47
+ <VBox fx:id="mainNode" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="788.0" prefWidth="1068.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
48
+ <children>
49
+ <SplitPane dividerPositions="0.48" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0" VBox.vgrow="ALWAYS">
50
+ <items>
51
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
52
+ <children>
53
+ <GridPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
54
+ <columnConstraints>
55
+ <ColumnConstraints hgrow="SOMETIMES" maxWidth="194.0" minWidth="10.0" prefWidth="186.0" />
56
+ <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="686.0" />
57
+ <ColumnConstraints hgrow="NEVER" maxWidth="176.0" minWidth="10.0" prefWidth="176.0" />
58
+ </columnConstraints>
59
+ <rowConstraints>
60
+ <RowConstraints minHeight="-Infinity" prefHeight="38.0" vgrow="NEVER" />
61
+ <RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
62
+ </rowConstraints>
63
+ <children>
64
+ <TextField fx:id="txtWorkspacePath" promptText="Workspace path" GridPane.columnSpan="2">
65
+ <GridPane.margin>
66
+ <Insets right="5.0" />
67
+ </GridPane.margin>
68
+ </TextField>
69
+ <HBox alignment="CENTER_LEFT" GridPane.columnIndex="2" GridPane.halignment="CENTER">
70
+ <children>
71
+ <Button fx:id="butOpenWorkspace" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#open_workspace" prefWidth="80.0" text="Open" />
72
+ <Button fx:id="butAddWorkspace" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#workspace_add" prefWidth="80.0" text="Add">
73
+ <HBox.margin>
74
+ <Insets left="5.0" />
75
+ </HBox.margin>
76
+ </Button>
77
+ </children>
78
+ </HBox>
79
+ <TitledPane animated="false" collapsible="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Managed Workspace" GridPane.columnSpan="3" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1" GridPane.vgrow="ALWAYS">
80
+ <content>
81
+ <VBox prefHeight="200.0" prefWidth="100.0" spacing="5.0">
82
+ <children>
83
+ <HBox alignment="CENTER_RIGHT" maxWidth="1.7976931348623157E308" prefHeight="100.0" VBox.vgrow="ALWAYS">
84
+ <children>
85
+ <ComboBox fx:id="cmbWorkspaceProjectFilter" prefWidth="198.0" promptText="Filter by Project" />
86
+ </children>
87
+ </HBox>
88
+ <TreeTableView fx:id="trtblWorkspace" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" onDragDropped="#trtblWorkspace_dnd_dropped" onDragOver="#trtblWorkspace_dnd_over" onKeyReleased="#trtbleWorkspace_keyreleased" onMouseClicked="#trtblWorkspace_onMouseClicked">
89
+ <columns>
90
+ <TreeTableColumn prefWidth="75.0" text="C1" />
91
+ <TreeTableColumn prefWidth="75.0" text="C2" />
92
+ </columns>
93
+ </TreeTableView>
94
+ </children>
95
+ </VBox>
96
+ </content>
97
+ </TitledPane>
98
+ </children>
99
+ </GridPane>
100
+ </children>
101
+ </AnchorPane>
102
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
103
+ <children>
104
+ <StackPane fx:id="pnlStack" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
105
+ <children>
106
+ <GridPane fx:id="pnlLanding" onDragDropped="#landing_dnd_dropped" onDragOver="#landing_dnd_over" visible="false">
107
+ <columnConstraints>
108
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
109
+ </columnConstraints>
110
+ <rowConstraints>
111
+ <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
112
+ </rowConstraints>
113
+ <children>
114
+ <Label fx:id="txtLanding" onDragDropped="#landing_dnd_dropped" onDragOver="#landing_dnd_over" text="Select a workspace or drag-and-drop workspace path here to add" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
115
+ <font>
116
+ <Font size="18.0" />
117
+ </font>
118
+ </Label>
119
+ </children>
120
+ </GridPane>
121
+ <TabPane fx:id="tabPnlDetails" tabClosingPolicy="UNAVAILABLE" tabMinWidth="80.0">
122
+ <tabs>
123
+ <Tab fx:id="tabWsState" onSelectionChanged="#workspace_tab_changed" text="State">
124
+ <content>
125
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
126
+ <children>
127
+ <GridPane layoutX="240.0" layoutY="115.0" maxWidth="1.7976931348623157E308" AnchorPane.bottomAnchor="8.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="8.0">
128
+ <columnConstraints>
129
+ <ColumnConstraints hgrow="NEVER" maxWidth="215.0" />
130
+ <ColumnConstraints hgrow="SOMETIMES" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="684.0" />
131
+ <ColumnConstraints hgrow="SOMETIMES" maxWidth="501.0" minWidth="10.0" prefWidth="209.0" />
132
+ </columnConstraints>
133
+ <rowConstraints>
134
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="28.0" vgrow="NEVER" />
135
+ <RowConstraints maxHeight="1.7976931348623157E308" vgrow="ALWAYS" />
136
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="38.0" vgrow="NEVER" />
137
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="38.0" vgrow="NEVER" />
138
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="38.0" vgrow="NEVER" />
139
+ </rowConstraints>
140
+ <children>
141
+ <Label maxHeight="-Infinity" minHeight="-Infinity" text="Current Branch : " />
142
+ <Label fx:id="lblCurrBranch" maxWidth="1.7976931348623157E308" prefHeight="16.0" text="&lt;Select workspace&gt;" GridPane.columnIndex="1" GridPane.hgrow="NEVER">
143
+ <font>
144
+ <Font name="System Italic" size="13.0" />
145
+ </font>
146
+ </Label>
147
+ <TableView fx:id="tblChanges" maxWidth="1.7976931348623157E308" prefHeight="200.0" GridPane.columnSpan="3" GridPane.rowIndex="1">
148
+ <columns>
149
+ <TableColumn prefWidth="75.0" text="C1" />
150
+ <TableColumn prefWidth="75.0" text="C2" />
151
+ </columns>
152
+ <GridPane.margin>
153
+ <Insets bottom="5.0" top="5.0" />
154
+ </GridPane.margin>
155
+ </TableView>
156
+ <ComboBox fx:id="cmbCommitMsg" editable="true" maxWidth="1.7976931348623157E308" onKeyTyped="#is_cmbCommit_enter" promptText="Commit message" GridPane.columnSpan="3" GridPane.hgrow="ALWAYS" GridPane.rowIndex="3" />
157
+ <Button fx:id="butCommit" defaultButton="true" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#vcs_commit" prefWidth="80.0" text="Commit" GridPane.columnIndex="2" GridPane.halignment="RIGHT" GridPane.rowIndex="4" />
158
+ <HBox alignment="CENTER_RIGHT" prefHeight="100.0" prefWidth="200.0" GridPane.columnIndex="2">
159
+ <children>
160
+ <Button fx:id="butRefreshChanges" alignment="CENTER" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#refresh_vcs_status" prefWidth="80.0" text="Refresh">
161
+ <HBox.margin>
162
+ <Insets />
163
+ </HBox.margin>
164
+ </Button>
165
+ </children>
166
+ </HBox>
167
+ <HBox alignment="CENTER_RIGHT" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" prefHeight="38.0" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="2">
168
+ <children>
169
+ <Button fx:id="butStateStash" mnemonicParsing="false" onAction="#stash_changes" prefHeight="28.0" text="I'm not ready to commit just yet but I need to switch branch">
170
+ <font>
171
+ <Font name="System Italic" size="13.0" />
172
+ </font>
173
+ </Button>
174
+ </children>
175
+ </HBox>
176
+ </children>
177
+ </GridPane>
178
+ </children>
179
+ </AnchorPane>
180
+ </content>
181
+ </Tab>
182
+ <Tab fx:id="tabWsIgnoreRules" onSelectionChanged="#workspace_tab_changed" text="Ignore Rules">
183
+ <content>
184
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
185
+ <children>
186
+ <TitledPane animated="false" collapsible="false" layoutX="335.0" layoutY="83.0" text="Ignore Rules" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="8.0">
187
+ <content>
188
+ <GridPane>
189
+ <columnConstraints>
190
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
191
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
192
+ </columnConstraints>
193
+ <rowConstraints>
194
+ <RowConstraints maxHeight="1.7976931348623157E308" minHeight="-Infinity" vgrow="ALWAYS" />
195
+ <RowConstraints maxHeight="150.0" minHeight="0.0" prefHeight="0.0" vgrow="SOMETIMES" />
196
+ <RowConstraints minHeight="10.0" prefHeight="38.0" vgrow="SOMETIMES" />
197
+ </rowConstraints>
198
+ <children>
199
+ <TextArea fx:id="txtIgnoreRules" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS" GridPane.vgrow="ALWAYS" />
200
+ <HBox alignment="CENTER_RIGHT" prefHeight="100.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
201
+ <children>
202
+ <Button fx:id="butIgnoreListSave" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#on_save_ignore_rules" prefWidth="80.0" text="Save" />
203
+ </children>
204
+ </HBox>
205
+ </children>
206
+ </GridPane>
207
+ </content>
208
+ </TitledPane>
209
+ </children>
210
+ </AnchorPane>
211
+ </content>
212
+ </Tab>
213
+ <Tab fx:id="tabWsBranches" onSelectionChanged="#workspace_tab_changed" text="Branches">
214
+ <content>
215
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
216
+ <children>
217
+ <GridPane layoutX="421.0" layoutY="175.0" AnchorPane.bottomAnchor="8.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="8.0">
218
+ <columnConstraints>
219
+ <ColumnConstraints hgrow="ALWAYS" minWidth="10.0" prefWidth="100.0" />
220
+ <ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
221
+ </columnConstraints>
222
+ <rowConstraints>
223
+ <RowConstraints maxHeight="1.7976931348623157E308" minHeight="28.0" prefHeight="28.0" vgrow="NEVER" />
224
+ <RowConstraints vgrow="SOMETIMES" />
225
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" vgrow="NEVER" />
226
+ <RowConstraints maxHeight="-Infinity" valignment="CENTER" vgrow="NEVER" />
227
+ </rowConstraints>
228
+ <children>
229
+ <Label text="Workspace Branches:" />
230
+ <ListView fx:id="lstBranches" onMouseClicked="#branch_clicked" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1">
231
+ <GridPane.margin>
232
+ <Insets bottom="5.0" />
233
+ </GridPane.margin>
234
+ </ListView>
235
+ <TextField fx:id="txtNewBranchName" minHeight="28.0" onKeyPressed="#new_branch_keypressed" prefHeight="28.0" promptText="New branch name" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="2">
236
+ <GridPane.margin>
237
+ <Insets bottom="5.0" top="5.0" />
238
+ </GridPane.margin>
239
+ </TextField>
240
+ <Button fx:id="butCreateBranch" minWidth="80.0" mnemonicParsing="false" onAction="#create_branch" prefWidth="80.0" text="Create" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="3" GridPane.valignment="CENTER">
241
+ <GridPane.margin>
242
+ <Insets top="3.0" />
243
+ </GridPane.margin>
244
+ </Button>
245
+ </children>
246
+ </GridPane>
247
+ </children>
248
+ </AnchorPane>
249
+ </content>
250
+ </Tab>
251
+ <Tab fx:id="tabWsTags" onSelectionChanged="#workspace_tab_changed" text="Tags">
252
+ <content>
253
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
254
+ <children>
255
+ <GridPane layoutX="382.0" layoutY="198.0" AnchorPane.bottomAnchor="8.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="8.0">
256
+ <columnConstraints>
257
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
258
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
259
+ </columnConstraints>
260
+ <rowConstraints>
261
+ <RowConstraints maxHeight="178.0" minHeight="-Infinity" prefHeight="28.0" vgrow="NEVER" />
262
+ <RowConstraints maxHeight="1.7976931348623157E308" vgrow="ALWAYS" />
263
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="38.0" vgrow="SOMETIMES" />
264
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="38.0" vgrow="SOMETIMES" />
265
+ <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="38.0" vgrow="NEVER" />
266
+ </rowConstraints>
267
+ <children>
268
+ <Label text="Tags Defined :" />
269
+ <ListView fx:id="lstTags" onKeyPressed="#lstTags_keypressed" prefHeight="200.0" prefWidth="200.0" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1" />
270
+ <TextField fx:id="txtNewTagName" minWidth="28.0" onKeyPressed="#new_tag_keypressed" prefWidth="28.0" promptText="New Tag" GridPane.columnSpan="2" GridPane.rowIndex="2">
271
+ <GridPane.margin>
272
+ <Insets bottom="8.0" top="8.0" />
273
+ </GridPane.margin>
274
+ </TextField>
275
+ <TextField fx:id="txtNewTagNote" onKeyPressed="#tagnote_keypressed" promptText="Notes of the Tag (optional)" GridPane.columnSpan="2" GridPane.rowIndex="3" />
276
+ <HBox alignment="CENTER_RIGHT" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" prefHeight="38.0" GridPane.columnSpan="2" GridPane.rowIndex="4">
277
+ <GridPane.margin>
278
+ <Insets />
279
+ </GridPane.margin>
280
+ <children>
281
+ <Button fx:id="butCreateTag" minWidth="80.0" mnemonicParsing="false" onAction="#create_tag" prefWidth="80.0" text="Create" />
282
+ </children>
283
+ </HBox>
284
+ </children>
285
+ </GridPane>
286
+ </children>
287
+ </AnchorPane>
288
+ </content>
289
+ </Tab>
290
+ <Tab fx:id="tabWsLogs" onSelectionChanged="#workspace_tab_changed" text="Logs">
291
+ <content>
292
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
293
+ <children>
294
+ <VBox layoutX="489.0" layoutY="117.0" prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
295
+ <children>
296
+ <HBox alignment="CENTER">
297
+ <children>
298
+ <Label contentDisplay="TOP" maxWidth="1.7976931348623157E308" minWidth="-Infinity" prefHeight="48.0" prefWidth="850.0" text="Log Entries :" HBox.hgrow="ALWAYS">
299
+ <padding>
300
+ <Insets bottom="5.0" left="5.0" top="5.0" />
301
+ </padding>
302
+ </Label>
303
+ <TextField fx:id="txtLogLimit" alignment="CENTER" onKeyPressed="#loglimit_keypressed" promptText="Log limit" />
304
+ </children>
305
+ </HBox>
306
+ <TableView fx:id="tblLogs" VBox.vgrow="ALWAYS">
307
+ <columns>
308
+ <TableColumn prefWidth="75.0" text="C1" />
309
+ <TableColumn prefWidth="75.0" text="C2" />
310
+ </columns>
311
+ <padding>
312
+ <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
313
+ </padding>
314
+ </TableView>
315
+ </children>
316
+ </VBox>
317
+ </children>
318
+ </AnchorPane>
319
+ </content>
320
+ </Tab>
321
+ <Tab fx:id="tabWsRepos" onSelectionChanged="#workspace_tab_changed" text="Repository">
322
+ <content>
323
+ <TitledPane collapsible="false" text="Repository">
324
+ <content>
325
+ <VBox maxWidth="1.7976931348623157E308">
326
+ <children>
327
+ <HBox alignment="CENTER_LEFT" maxWidth="1.7976931348623157E308" prefHeight="34.0">
328
+ <children>
329
+ <TextField fx:id="txtReposName" maxWidth="180.0" minWidth="180.0" prefWidth="180.0" promptText="Repos name">
330
+ <HBox.margin>
331
+ <Insets right="5.0" />
332
+ </HBox.margin>
333
+ </TextField>
334
+ <TextField fx:id="txtReposUrl" maxWidth="1.7976931348623157E308" minWidth="-Infinity" onKeyReleased="#txtReposUrl_key_released" promptText="Repos URL" HBox.hgrow="ALWAYS">
335
+ <HBox.margin>
336
+ <Insets right="5.0" />
337
+ </HBox.margin>
338
+ </TextField>
339
+ <Button fx:id="butRepositoryOpen" maxWidth="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#butRepositoryOpen_onAction" prefWidth="80.0" text="Open">
340
+ <HBox.margin>
341
+ <Insets right="5.0" />
342
+ </HBox.margin>
343
+ </Button>
344
+ <Button fx:id="butReposAdd" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#add_repository" prefWidth="80.0" text="Add" />
345
+ </children>
346
+ </HBox>
347
+ <TableView fx:id="tblRepos" onKeyReleased="#repos_key_released" prefHeight="98.0">
348
+ <columns>
349
+ <TableColumn prefWidth="75.0" text="C1" />
350
+ <TableColumn prefWidth="75.0" text="C2" />
351
+ </columns>
352
+ <VBox.margin>
353
+ <Insets bottom="5.0" top="5.0" />
354
+ </VBox.margin>
355
+ </TableView>
356
+ <GridPane>
357
+ <columnConstraints>
358
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
359
+ <ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
360
+ </columnConstraints>
361
+ <rowConstraints>
362
+ <RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
363
+ <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
364
+ </rowConstraints>
365
+ <children>
366
+ <Label fx:id="lblReposMessage" text="&lt;message here&gt;" wrapText="true" GridPane.columnSpan="2">
367
+ <font>
368
+ <Font name="System Italic" size="13.0" />
369
+ </font>
370
+ </Label>
371
+ <HBox alignment="CENTER_LEFT" GridPane.rowIndex="1">
372
+ <children>
373
+ <Button fx:id="butReposPush" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#repos_push" prefWidth="80.0" text="Push">
374
+ <HBox.margin>
375
+ <Insets right="5.0" />
376
+ </HBox.margin>
377
+ </Button>
378
+ <CheckBox fx:id="chkPushWithTag" mnemonicParsing="false" text="with Tag" />
379
+ </children>
380
+ </HBox>
381
+ <Button fx:id="butReposPull" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#repos_pull" prefWidth="80.0" text="Pull" GridPane.columnIndex="1" GridPane.rowIndex="1" />
382
+ </children>
383
+ </GridPane>
384
+ </children>
385
+ </VBox>
386
+ </content>
387
+ <padding>
388
+ <Insets top="8.0" />
389
+ </padding>
390
+ </TitledPane>
391
+ </content>
392
+ </Tab>
393
+ <Tab fx:id="tabWsFiles" onSelectionChanged="#workspace_tab_changed" text="Files">
394
+ <content>
395
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
396
+ <children>
397
+ <TitledPane animated="false" collapsible="false" layoutX="186.0" layoutY="44.0" text="File View" AnchorPane.bottomAnchor="8.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="8.0">
398
+ <content>
399
+ <GridPane>
400
+ <columnConstraints>
401
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
402
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
403
+ </columnConstraints>
404
+ <rowConstraints>
405
+ <RowConstraints maxHeight="202.0" minHeight="10.0" prefHeight="34.0" vgrow="NEVER" />
406
+ <RowConstraints maxHeight="1.7976931348623157E308" minHeight="10.0" vgrow="ALWAYS" />
407
+ </rowConstraints>
408
+ <children>
409
+ <TreeTableView prefHeight="200.0" prefWidth="200.0" GridPane.columnSpan="2" GridPane.rowIndex="1">
410
+ <columns>
411
+ <TreeTableColumn prefWidth="75.0" text="C1" />
412
+ <TreeTableColumn prefWidth="75.0" text="C2" />
413
+ </columns>
414
+ </TreeTableView>
415
+ <HBox alignment="CENTER_RIGHT" prefHeight="100.0" prefWidth="200.0" GridPane.columnIndex="1">
416
+ <children>
417
+ <Button fx:id="butFileRefresh" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#refresh_files" prefWidth="80.0" text="Refresh" />
418
+ </children>
419
+ </HBox>
420
+ </children>
421
+ </GridPane>
422
+ </content>
423
+ </TitledPane>
424
+ </children>
425
+ </AnchorPane>
426
+ </content>
427
+ </Tab>
428
+ <Tab fx:id="tabWsConflict" onSelectionChanged="#workspace_tab_changed" text="Conflict">
429
+ <content>
430
+ <HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
431
+ <children>
432
+ <Label contentDisplay="CENTER" text="Coming Soon">
433
+ <font>
434
+ <Font name="System Bold" size="24.0" />
435
+ </font>
436
+ </Label>
437
+ </children>
438
+ </HBox>
439
+ </content>
440
+ </Tab>
441
+ <Tab fx:id="tabWsAction" onSelectionChanged="#workspace_tab_changed" text="Action">
442
+ <content>
443
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
444
+ </content>
445
+ </Tab>
446
+ <Tab fx:id="tabWsConfig" onSelectionChanged="#workspace_tab_changed" text="Config">
447
+ <content>
448
+ <AnchorPane minHeight="0.0" minWidth="0.0">
449
+ <children>
450
+ <GridPane layoutX="385.0" layoutY="222.0" AnchorPane.bottomAnchor="8.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="8.0">
451
+ <columnConstraints>
452
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
453
+ <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
454
+ </columnConstraints>
455
+ <rowConstraints>
456
+ <RowConstraints maxHeight="1.7976931348623157E308" vgrow="ALWAYS" />
457
+ <RowConstraints minHeight="10.0" prefHeight="38.0" vgrow="SOMETIMES" />
458
+ </rowConstraints>
459
+ <children>
460
+ <TitledPane collapsible="false" maxHeight="1.7976931348623157E308" minHeight="-Infinity" text="Configurations" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS" GridPane.vgrow="ALWAYS">
461
+ <content>
462
+ <TabPane tabMinWidth="80.0">
463
+ <tabs>
464
+ <Tab closable="false" text="Global">
465
+ <content>
466
+ <SplitPane dividerPositions="0.29797979797979796">
467
+ <items>
468
+ <AnchorPane maxWidth="280.0" minHeight="0.0" minWidth="100.0" prefWidth="180.0">
469
+ <children>
470
+ <VBox layoutX="98.0" layoutY="77.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
471
+ <children>
472
+ <Label text="Global Keys">
473
+ <padding>
474
+ <Insets bottom="5.0" left="5.0" top="5.0" />
475
+ </padding>
476
+ </Label>
477
+ <ListView fx:id="lstGlobalConfigKey" VBox.vgrow="ALWAYS" />
478
+ </children>
479
+ </VBox>
480
+ </children>
481
+ </AnchorPane>
482
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
483
+ <children>
484
+ <VBox layoutX="251.0" layoutY="55.0" prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
485
+ <children>
486
+ <Label text="Values">
487
+ <padding>
488
+ <Insets bottom="5.0" left="5.0" top="5.0" />
489
+ </padding>
490
+ </Label>
491
+ <TableView fx:id="tblGlobalConfigValues" VBox.vgrow="ALWAYS">
492
+ <columns>
493
+ <TableColumn prefWidth="75.0" text="C1" />
494
+ <TableColumn prefWidth="75.0" text="C2" />
495
+ </columns>
496
+ </TableView>
497
+ </children>
498
+ </VBox>
499
+ </children>
500
+ </AnchorPane>
501
+ </items>
502
+ </SplitPane>
503
+ </content>
504
+ </Tab>
505
+ <Tab closable="false" text="Local">
506
+ <content>
507
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
508
+ <children>
509
+ <SplitPane dividerPositions="0.29797979797979796" layoutX="290.0" layoutY="210.0" prefHeight="160.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
510
+ <items>
511
+ <AnchorPane maxWidth="280.0" minHeight="0.0" minWidth="100.0" prefWidth="180.0">
512
+ <children>
513
+ <VBox layoutX="148.0" layoutY="67.0" prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
514
+ <children>
515
+ <Label text="Local Keys">
516
+ <padding>
517
+ <Insets bottom="5.0" left="5.0" top="5.0" />
518
+ </padding>
519
+ </Label>
520
+ <ListView fx:id="lstLocalConfigKeys" VBox.vgrow="ALWAYS" />
521
+ </children>
522
+ </VBox>
523
+ </children>
524
+ </AnchorPane>
525
+ <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
526
+ <children>
527
+ <VBox layoutX="381.0" layoutY="62.0" prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
528
+ <children>
529
+ <Label text="Values">
530
+ <padding>
531
+ <Insets bottom="5.0" left="5.0" top="5.0" />
532
+ </padding>
533
+ </Label>
534
+ <TableView fx:id="lstLocalConfigValues" VBox.vgrow="ALWAYS">
535
+ <columns>
536
+ <TableColumn prefWidth="75.0" text="C1" />
537
+ <TableColumn prefWidth="75.0" text="C2" />
538
+ </columns>
539
+ </TableView>
540
+ </children>
541
+ </VBox>
542
+ </children>
543
+ </AnchorPane>
544
+ </items>
545
+ </SplitPane>
546
+ </children>
547
+ </AnchorPane>
548
+ </content>
549
+ </Tab>
550
+ </tabs>
551
+ </TabPane>
552
+ </content>
553
+ <GridPane.margin>
554
+ <Insets bottom="5.0" />
555
+ </GridPane.margin>
556
+ </TitledPane>
557
+ <Button fx:id="butConfigSave" contentDisplay="TOP" minWidth="80.0" mnemonicParsing="false" prefWidth="80.0" text="Save" GridPane.columnIndex="1" GridPane.halignment="RIGHT" GridPane.rowIndex="1" GridPane.valignment="CENTER">
558
+ <GridPane.margin>
559
+ <Insets top="5.0" />
560
+ </GridPane.margin>
561
+ </Button>
562
+ </children>
563
+ <padding>
564
+ <Insets bottom="5.0" />
565
+ </padding>
566
+ </GridPane>
567
+ </children>
568
+ </AnchorPane>
569
+ </content>
570
+ </Tab>
571
+ </tabs>
572
+ <padding>
573
+ <Insets top="8.0" />
574
+ </padding>
575
+ </TabPane>
576
+ </children>
577
+ </StackPane>
578
+ </children>
579
+ </AnchorPane>
580
+ </items>
581
+ </SplitPane>
582
+ <HBox alignment="CENTER_LEFT" maxWidth="1.7976931348623157E308" style="-fx-border-color: #e8e8e8;">
583
+ <children>
584
+ <ImageView fx:id="imgGmsg" fitHeight="12.0" fitWidth="12.0" pickOnBounds="true">
585
+ <HBox.margin>
586
+ <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
587
+ </HBox.margin>
588
+ </ImageView>
589
+ <Label fx:id="lblGlobalMsg" maxWidth="1.7976931348623157E308" prefHeight="18.0">
590
+ <opaqueInsets>
591
+ <Insets />
592
+ </opaqueInsets>
593
+ <padding>
594
+ <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
595
+ </padding>
596
+ <font>
597
+ <Font size="11.0" />
598
+ </font>
599
+ </Label>
600
+ </children>
601
+ <VBox.margin>
602
+ <Insets top="3.0" />
603
+ </VBox.margin>
604
+ </HBox>
605
+ <GridPane VBox.vgrow="NEVER">
606
+ <columnConstraints>
607
+ <ColumnConstraints hgrow="SOMETIMES" maxWidth="550.0" minWidth="10.0" prefWidth="532.0" />
608
+ <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" />
609
+ </columnConstraints>
610
+ <rowConstraints>
611
+ <RowConstraints maxHeight="38.0" minHeight="38.0" prefHeight="38.0" vgrow="SOMETIMES" />
612
+ </rowConstraints>
613
+ <children>
614
+ <HBox alignment="CENTER_LEFT" prefHeight="38.0" prefWidth="200.0">
615
+ <children>
616
+ <Label fx:id="lblVersion" text="V0.1">
617
+ <font>
618
+ <Font name="System Italic" size="10.0" />
619
+ </font>
620
+ <HBox.margin>
621
+ <Insets left="3.0" />
622
+ </HBox.margin>
623
+ </Label>
624
+ </children>
625
+ </HBox>
626
+ <HBox alignment="CENTER_RIGHT" minHeight="-Infinity" prefHeight="38.0" prefWidth="584.0" GridPane.columnIndex="1">
627
+ <children>
628
+ <Button fx:id="butClose" maxWidth="80.0" minWidth="80.0" mnemonicParsing="false" onAction="#winclose" prefWidth="80.0" text="Close" />
629
+ </children>
630
+ </HBox>
631
+ </children>
632
+ </GridPane>
633
+ </children>
634
+ <padding>
635
+ <Insets bottom="3.0" left="3.0" right="3.0" />
636
+ </padding>
637
+ </VBox>