mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-14 07:04:50 -04:00
v0.2-development intermediate results. Almost ready.
This commit is contained in:
parent
ad23eb0c82
commit
c4d0959cf3
14 changed files with 405 additions and 293 deletions
|
@ -14,7 +14,7 @@ import javafx.scene.control.TableView;
|
|||
import javafx.scene.control.cell.CheckBoxTableCell;
|
||||
import javafx.scene.control.cell.PropertyValueFactory;
|
||||
import javafx.util.Callback;
|
||||
import nsusbloader.NSLDataTypes.FileStatus;
|
||||
import nsusbloader.NSLDataTypes.EFileStatus;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URL;
|
||||
|
@ -91,7 +91,8 @@ public class NSTableViewController implements Initializable {
|
|||
for (NSLRowModel model: rowsObsLst){
|
||||
if (model != modelChecked)
|
||||
model.setMarkForUpload(false);
|
||||
}table.refresh();
|
||||
}
|
||||
table.refresh();
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -136,9 +137,9 @@ public class NSTableViewController implements Initializable {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* Update files in case something is wrong. Requested from UsbCommunications _OR_ PFS
|
||||
* Update files in case something is wrong. Requested from UsbCommunications
|
||||
* */
|
||||
public void setFileStatus(String fileName, FileStatus status){
|
||||
public void setFileStatus(String fileName, EFileStatus status){
|
||||
for (NSLRowModel model: rowsObsLst){
|
||||
if (model.getNspFileName().equals(fileName)){
|
||||
model.setStatus(status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue