Files
NeitzelFXDesigner/docs/user-guide/README.md
T

48 lines
4.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Neitzel FX Designer developer guide
Neitzel FX Designer edits ordinary FXML while understanding NeitzelLib Models, bindings and reusable Components. The standalone application and the IntelliJ editor share the same Scene Builder Kit UI. This guide describes the current implementation; the older work-package documents record implementation history and test evidence.
Start with the German contact-book guide or use the [Person desk quick start](quick-start.md) as a broader NeitzelLib reference. The Person desk uses NeitzelLib's `fx-example` module to demonstrate direct and computed bindings, converters, nested/repeated Components, a Table, selection, messages and dependency injection.
| I want to… | Read |
| --- | --- |
| Run the contact book and open the first IntelliJ preview | [Kontakt-Kurzstart](kontakt-kurzstart.md) |
| Follow the example from the first binding to JSON storage | [Kontakt-Tutorial](kontakt-tutorial.md) |
| Find a tool in the IntelliJ editor | [Designer-Oberfläche am Kontaktbuch](kontakt-designer.md) |
| Open the complete Maven example without the Designer | [Fertige Kontaktverwaltung](../../examples/contact-book/README.md) |
| Run the broader NeitzelLib reference application | [Person desk quick start](quick-start.md) |
| Start a JavaFX project and connect it to the Designer | [Projects and configuration](projects.md) |
| Understand sample Models, build snapshots and previews | [Preview and build workflow](previews.md) |
| Edit layouts, Components, bindings and collections | [Authoring reference](authoring.md) |
| Generate metadata, Java ViewModels or a starter View | [Generation](generation.md) |
| Install/use the IntelliJ editor | [IntelliJ setup](intellij.md) |
| Understand the modules or diagnose a failure | [Architecture and troubleshooting](architecture.md) |
## What is available now
- Source, Design and Split views over the same authoritative FXML document.
- Editable target-rendered Component/Repeat/Table placeholders, sizing and Component/Row navigation.
- Direct, Computed, Repeat and Table/Column inspectors, compatible-target discovery and validation.
- Reference-aware identifier rename, subtree copy/paste and deletion with one host Undo/Redo command per operation.
- Shared Problems and source highlighting; native IntelliJ Problems and supported Alt+Enter fixes.
- Independent interactive preview with fresh sample Models and explicit outdated-build/draft handling.
- Opt-in generated Model metadata, generated Java ViewModel subclasses/registries and reviewed creation of a new editable FXML View.
- A native macOS app/ZIP containing its own Java runtime and Kit, plus an IntelliJ plugin for the tested IDE build.
The tested host baseline is macOS arm64, Java 25 and JavaFX/Kit 26. The reference application uses Java 25 and JavaFX 27.0.1. IntelliJ is qualified against build **263.7307.200**. These are tested combinations, not a claim that arbitrary JavaFX, JDK, IDE or OS versions work.
Install the Designer tooling `0.1.1-SNAPSHOT` from this checkout. Published Designer versions are available from the [Gitea Maven registry](https://gitea.neitzel.de/api/packages/konrad/maven), which Maven can use as both a dependency and plugin repository. The target tools compile against the [NeitzelLib `1.0.6` release baseline](../runtime/neitzellib-baseline.md).
The contact-book tutorial uses that release. The Person Desk source checkout
and the Spring fixture can exercise the separated development runtime.
See [provider setup and compatibility](projects.md#use-the-separated-fx-runtime-with-neitzel-di).
## Scope and conventions
A **Model** is an ordinary application object. A **ViewModel** is the NeitzelLib object exposing its Attributes as observable properties. A **View** is an FXML document. A **Component** is an application node/controller with its own matching `ClassName.fxml`. A **Row Component** is the reusable row implementation selected by a NeitzelLib Table. A Designer **context** chooses a Maven application and its build/target runtimes. A preview **example** chooses a fresh Model graph and services for one View resource.
Application classes execute only in target JVMs. They do not enter the standalone or IntelliJ host classloader. Discovery uses metadata and signatures; preview executes the application and therefore requires trusted project code. Separate processes are a runtime-isolation boundary, not a security sandbox.
Configuration files and explicit command-line selection are the supported setup workflow. A graphical project/context wizard is not required. Production IntelliJ–standalone ownership handoff, broader native structural editing, signed installation/update, and other platform combinations remain follow-up work. Both hosts can already edit independently; do not infer a coordinated transfer protocol from that fact.
The [documentation validation record](documentation-validation.md) maps this guide to reference-example checks and states what was not rerun.