Offer grid row attributes and qualify Archiver folder profile editing
This commit is contained in:
@@ -106,38 +106,6 @@ public final class ManagementReadersWorkflowProbe extends FormWorkflowProbe {
|
||||
if (!source().contains(saved)) throw new AssertionError("Reopened " + form);
|
||||
}
|
||||
|
||||
private void commands(String control, String path, int count) throws Exception {
|
||||
fx(
|
||||
() -> {
|
||||
var group =
|
||||
(TitledPane)
|
||||
pane.lookupAll(".titled-pane").stream()
|
||||
.filter(n -> n instanceof TitledPane t && "Bindings".equals(t.getText()))
|
||||
.findFirst()
|
||||
.orElseThrow();
|
||||
group.setExpanded(true);
|
||||
var tabs = (TabPane) group.getContent();
|
||||
tabs.getSelectionModel()
|
||||
.select(
|
||||
tabs.getTabs().stream()
|
||||
.filter(t -> t.getText().equals("Command bindings"))
|
||||
.findFirst()
|
||||
.orElseThrow());
|
||||
pane.applyCss();
|
||||
pane.layout();
|
||||
var list = (ListView<?>) pane.lookup("#command-bindings");
|
||||
if (list.getItems().size() != count) throw new AssertionError(list.getItems());
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (list.getItems().get(i).toString().startsWith(control + " ←"))
|
||||
list.getSelectionModel().select(i);
|
||||
}
|
||||
if (!control.equals(((TextField) pane.lookup("#command-control")).getText())
|
||||
|| !path.equals(((TextField) pane.lookup("#command-path")).getText()))
|
||||
throw new AssertionError(control + " → " + path);
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
private void management(
|
||||
String form,
|
||||
String data,
|
||||
|
||||
Reference in New Issue
Block a user