Add reviewed FXML View generation in both hosts
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user