Skip to content
Snippets Groups Projects
Commit 027cd211 authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

add to UI

parent 9fe1f07a
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="912.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="cz.it4i.fiji.haas_spim_benchmark.ui.SPIMPipelineProgressViewController">
<center>
<TableView fx:id="jobs" prefHeight="400.0" prefWidth="675.0" BorderPane.alignment="CENTER">
<TableView fx:id="tasks" prefHeight="400.0" prefWidth="675.0" BorderPane.alignment="CENTER">
<columns>
<TableColumn prefWidth="101.0" text="Task name" />
</columns>
......
......@@ -39,12 +39,12 @@ public class SPIMPipelineProgressViewController implements FXFrame.Controller {
});
timer = new Timer();
registry = new ObservableTaskRegistry(task -> tasks.getItems().remove(registry.get(task)));
fillTable();
}
public void setBenchmarkJob(BenchmarkJob job) {
this.job = job;
registry = new ObservableTaskRegistry(task -> tasks.getItems().remove(registry.get(task)));
fillTable();
}
private void fillTable() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment