Archived
0

copy next landmark name to clipboard

This commit is contained in:
iMoHax
2015-11-05 17:14:53 +03:00
parent 589d9bee3d
commit 61b46b4e49

View File

@@ -85,6 +85,12 @@ public class SystemsEditorController {
clnS4.setCellFactory(TextFieldCell.forTableColumn(new DoubleStringConverter()));
clnS5.setCellFactory(TextFieldCell.forTableColumn(new DoubleStringConverter()));
clnS6.setCellFactory(TextFieldCell.forTableColumn(new DoubleStringConverter()));
clnName.setOnEditCommit(e -> copySys1());
clnS1.setOnEditCommit(e -> copySys2());
clnS2.setOnEditCommit(e -> copySys3());
clnS3.setOnEditCommit(e -> copySys4());
clnS4.setOnEditCommit(e -> copySys5());
clnS5.setOnEditCommit(e -> copySys6());
tblSystems.setItems(FXCollections.observableArrayList());
tblSystems.getSelectionModel().setCellSelectionEnabled(true);
tblSystems.setSortPolicy(t -> true);
@@ -174,6 +180,7 @@ public class SystemsEditorController {
SystemModel s = profile.getPrevSystem();
if (!ModelFabric.isFake(s)){
searchLandMark(s, profile.getEmptyMaxShipJumpRange()*1.5);
copySys1();
}
}
for (int i = 0; i < 10; i++) {