File tree 6 files changed +14
-3
lines changed
java/ninja/javafx/smartcsv/fx
resources/ninja/javafx/smartcsv/fx
6 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ even in a "normal" CSV editor. So I decided to write this simple JavaFX applicat
15
15
16
16
[ Wiki & Documentation] ( https://github.com/frosch95/SmartCSV.fx/wiki )
17
17
18
- binary distribution of the [ latest release (1.0.1 )] ( https://github.com/frosch95/SmartCSV.fx/releases/download/1.0.1 /SmartCSV.fx-1.0.1.zip )
18
+ binary distribution of the [ latest release (1.1.0 )] ( https://github.com/frosch95/SmartCSV.fx/releases/download/1.1.0 /SmartCSV.fx-1.0.1.zip )
19
19
20
20
## Talks
21
21
[ Introduction] ( http://javafx.ninja/talks/introduction/ )
Original file line number Diff line number Diff line change 48
48
}
49
49
50
50
group ' ninja.javafx'
51
- version ' 1.0.1 '
51
+ version ' 1.1.0 '
52
52
mainClassName = ' ninja.javafx.smartcsv.Main'
Original file line number Diff line number Diff line change @@ -208,6 +208,9 @@ public class SmartCSVController extends FXMLController {
208
208
@ FXML
209
209
private Label currentLineNumber ;
210
210
211
+ @ FXML
212
+ private Label totalNumberOfLines ;
213
+
211
214
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
212
215
// members
213
216
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -674,6 +677,8 @@ private void resetContent() {
674
677
tableView .getItems ().setAll (currentCsvFile .getContent ().getRows ());
675
678
tableView .setEditable (true );
676
679
680
+ totalNumberOfLines .textProperty ().setValue ("" + currentCsvFile .getContent ().getRows ().size ());
681
+
677
682
setBottomAnchor (tableView , 0.0 );
678
683
setTopAnchor (tableView , 0.0 );
679
684
setLeftAnchor (tableView , 0.0 );
Original file line number Diff line number Diff line change 275
275
<ColumnConstraints hgrow =" ALWAYS" minWidth =" 10.0" />
276
276
<ColumnConstraints hgrow =" NEVER" minWidth =" 10.0" />
277
277
<ColumnConstraints fillWidth =" false" halignment =" RIGHT" hgrow =" NEVER" minWidth =" 10.0" prefWidth =" 100.0" />
278
- <ColumnConstraints hgrow =" ALWAYS" minWidth =" 10.0" prefWidth =" 100.0" />
278
+ <ColumnConstraints hgrow =" ALWAYS" minWidth =" 10.0" prefWidth =" 100.0" />
279
+ <ColumnConstraints fillWidth =" false" halignment =" RIGHT" hgrow =" NEVER" minWidth =" 10.0" prefWidth =" 100.0" />
280
+ <ColumnConstraints hgrow =" ALWAYS" minWidth =" 10.0" prefWidth =" 100.0" />
279
281
</columnConstraints >
280
282
<rowConstraints >
281
283
<RowConstraints minHeight =" 10.0" prefHeight =" 30.0" vgrow =" SOMETIMES" />
289
291
<Label fx : id =" configurationName" GridPane.columnIndex=" 5" GridPane.hgrow=" ALWAYS" />
290
292
<Label text =" %lineNumber" GridPane.columnIndex=" 7" />
291
293
<Label fx : id =" currentLineNumber" text =" " GridPane.columnIndex=" 8" />
294
+ <Label text =" %totalNumberOfLines" GridPane.columnIndex=" 9" />
295
+ <Label fx : id =" totalNumberOfLines" text =" 0" GridPane.columnIndex=" 10" />
292
296
</children >
293
297
<BorderPane .margin>
294
298
<Insets bottom =" 4.0" left =" 8.0" right =" 8.0" top =" 4.0" />
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ dialog.validation.rules.header = Validation rules of column "{0}"
87
87
context.menu.edit.column.rules = Edit rules
88
88
89
89
lineNumber = Selected line:
90
+ totalNumberOfLines = Lines:
90
91
91
92
log.header.message = {0} has {1} errors
92
93
log.message = row {0} column {1} : {2}
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ dialog.validation.rules.header = Pr\u00fcfregeln f\u00fcr die Spalte "{0}"
97
97
context.menu.edit.column.rules = Pr\u00fc fregeln bearbeiten
98
98
99
99
lineNumber = Ausgew\u00e4 hlte Zeile:
100
+ totalNumberOfLines = Zeilen:
100
101
101
102
log.header.message = {0} hat {1} Fehler
102
103
log.message = Zeile {0} Spalte {1} : {2}
You can’t perform that action at this time.
0 commit comments