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

feature: iss1098 - Dashboard

Type of directory -> Type?
Detail for job -> Details for job (or Job dashboard),
Job directories -> added working directory
Demo data on server ->  Demo data on the Salomon IT4I cluster?
parent 6dd458ac
Branches
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ public class BenchmarkSPIMControl extends BorderPane implements CloseableControl
}), job -> JavaFXRoutines.notNullValue(job,
j -> j.getState() == JobState.Running || j.getState() == JobState.Queued));
menu.addItem("Execution details", job -> openJobDetailsWindow(job.getValue()),
menu.addItem("Job dashboard", job -> openJobDetailsWindow(job.getValue()),
job -> JavaFXRoutines.notNullValue(job, j -> true));
menu.addItem("Open working directory", j -> open(j.getValue()), x -> JavaFXRoutines.notNullValue(x, j -> true));
......
......@@ -17,7 +17,7 @@ public class JobDetailWindow extends FXFrame<JobDetailControl>{
return new JobDetailControl(job);
});
setTitle("Detail for job: " + job.getId());
setTitle("Job dashboard for #" + job.getId());
}
}
\ No newline at end of file
......@@ -58,11 +58,14 @@ public class JobPropertiesControl extends BorderPane implements Closeable {
private void fillTable() {
properties.getItems()
.add(new UpdatableObservableValue<JobPropertiesControl.P_Value>(
new P_Value("Input", job.getInputDirectory(), "Demo data on server"),
new P_Value("Input", job.getInputDirectory(), "Demo data on the Salomon IT4I cluster"),
x -> UpdateStatus.NotUpdated, x -> x));
properties.getItems().add(new UpdatableObservableValue<JobPropertiesControl.P_Value>(
new P_Value("Output", job.getOutputDirectory(), "N/A"), x -> UpdateStatus.NotUpdated, x -> x));
properties.getItems().add(new UpdatableObservableValue<JobPropertiesControl.P_Value>(
new P_Value("Working", job.getDirectory(), "N/A"), x -> UpdateStatus.NotUpdated, x -> x));
}
private void setCellValueFactory(int i, Function<P_Value, String> mapper) {
......
......@@ -11,9 +11,9 @@
<HBox>
<children>
<TableView fx:id="properties" prefHeight="400.0" prefWidth="550.0" HBox.hgrow="ALWAYS">
<TableView fx:id="properties" prefHeight="400.0" prefWidth="500.0" HBox.hgrow="ALWAYS">
<columns>
<TableColumn prefWidth="150.0" text="Type of directory" />
<TableColumn prefWidth="100.0" text="Type" />
<TableColumn prefWidth="400.0" text="Location" />
</columns>
</TableView>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment