Add reviewed FXML View generation in both hosts

This commit is contained in:
2026-11-13 21:39:06 +01:00
parent 1856f69637
commit 9ab1a4f530
18 changed files with 1463 additions and 9 deletions
@@ -118,6 +118,7 @@ public final class DesignerPane extends BorderPane implements AutoCloseable {
private DesignerWorkflow workflow;
private DesignerWorkflow interactiveWorkflow;
private DesignerWorkflow bindingWorkflow;
private ViewGenerationPane viewGeneration;
private BindingBrowser bindingBrowser;
private BindingEditor bindingEditor, computedEditor, repeatEditor;
private TableEditor tableEditor;
@@ -386,6 +387,9 @@ public final class DesignerPane extends BorderPane implements AutoCloseable {
problemsTab.setClosable(false);
var structureTab = new Tab("Structure", referenceEditor);
structureTab.setClosable(false);
viewGeneration = new ViewGenerationPane(host, launch, file);
var generationTab = new Tab("Generate View", new ScrollPane(viewGeneration));
generationTab.setClosable(false);
var bindings =
new TitledPane(
"Bindings",
@@ -396,7 +400,8 @@ public final class DesignerPane extends BorderPane implements AutoCloseable {
tableTab,
structureTab,
problemsTab,
discoveryTab));
discoveryTab,
generationTab));
bindings.setExpanded(false);
center.setBottom(new VBox(properties, bindings));
output.setEditable(false);
@@ -1430,6 +1435,7 @@ public final class DesignerPane extends BorderPane implements AutoCloseable {
workflow.close();
interactiveWorkflow.close();
bindingWorkflow.close();
viewGeneration.close();
bindingRequest++;
if (document != null) document.close();
}