Prepare Neitzel FX Designer 0.1.1
This commit is contained in:
@@ -31,7 +31,7 @@ Start with the German contact-book guide or use the [Person desk quick start](qu
|
||||
|
||||
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).
|
||||
Install the Designer tooling `0.1.1` 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).
|
||||
|
||||
@@ -4,7 +4,7 @@ These are three separate operations: describe existing Java Models at compile ti
|
||||
|
||||
## Compile-time Model descriptions
|
||||
|
||||
Add `de.neitzel.fxdesigner:designer-model-processor:0.1.1-SNAPSHOT` to Maven compiler `annotationProcessorPaths`, preserving existing processors such as Lombok. Enable annotation processing and select Models with:
|
||||
Add `de.neitzel.fxdesigner:designer-model-processor:0.1.1` to Maven compiler `annotationProcessorPaths`, preserving existing processors such as Lombok. Enable annotation processing and select Models with:
|
||||
|
||||
```xml
|
||||
<compilerArgs>
|
||||
|
||||
@@ -24,7 +24,7 @@ mvn -B -ntp javafx:run
|
||||
|
||||
## 2. Dieselbe FXML im Neitzel Designer öffnen
|
||||
|
||||
Für die Vorschau kommen die Designer-Werkzeuge `0.1.1-SNAPSHOT`, das lokale Plugin und ein **IntelliJ SDK 263.7307.200 auf macOS** hinzu. Der Host nutzt JavaFX/Kit 26; das Ziel verwendet weiterhin JavaFX 27.0.1. Folge der [Plugin-Installation und lokalen Konfiguration](kontakt-tutorial.md#4-das-projekt-mit-dem-designer-verbinden), inklusive `embed.scene.builder=false`. Nutzt du ein separates Maven-Repository, brauchen App-Build, Designer-Build und der in IntelliJ gestartete Prozess dessen Pfad.
|
||||
Für die Vorschau kommen die Designer-Werkzeuge `0.1.1`, das lokale Plugin und ein **IntelliJ SDK 263.7307.200 auf macOS** hinzu. Der Host nutzt JavaFX/Kit 26; das Ziel verwendet weiterhin JavaFX 27.0.1. Folge der [Plugin-Installation und lokalen Konfiguration](kontakt-tutorial.md#4-das-projekt-mit-dem-designer-verbinden), inklusive `embed.scene.builder=false`. Nutzt du ein separates Maven-Repository, brauchen App-Build, Designer-Build und der in IntelliJ gestartete Prozess dessen Pfad.
|
||||
|
||||
1. Öffne `src/main/resources/de/neitzel/contactbook/view/ContactBook.fxml`. Wähle den Editor **Neitzel Designer** und darin **Build and Refresh**. Warte auf den erfolgreichen Build; der gewöhnliche IntelliJ-Build genügt nicht.
|
||||
2. Wähle **Kontaktverwaltung · Beispieldaten** und **Interactive preview**. Anders als die unbefüllte App zeigt das Vorschaufenster `Ada Lovelace` und `Grace Hopper`. Ziehe das Fenster bei Bedarf breiter und höher, damit Schaltflächen und Detailfelder vollständig sichtbar sind. Wähle Ada und probiere die beiden Listen. Tippe einen neuen Namen, klicke **Speichern**, ändere ihn erneut und klicke **Laden**: Nur der Vorschau-Snapshot wird geladen.
|
||||
|
||||
@@ -14,7 +14,7 @@ Die überprüfte Ausgangskombination für dieses Beispiel ist:
|
||||
| Maven | 3.9.11 oder neuer |
|
||||
| JavaFX der Anwendung | 27.0.1 |
|
||||
| NeitzelLib FX | `1.0.6`, aus der Gitea Maven-Registry |
|
||||
| IntelliJ-Plugin | NeitzelFXDesigner `0.1.1-SNAPSHOT`, lokal gebaut |
|
||||
| IntelliJ-Plugin | NeitzelFXDesigner `0.1.1`, lokal gebaut |
|
||||
| IntelliJ-Host | SDK `263.7307.200` auf macOS; JavaFX/Scene Builder Kit 26 im Host |
|
||||
|
||||
Die JDK-/JavaFX-Version der Anwendung ist unabhängig vom JavaFX-Toolkit des IntelliJ-Prozesses. Anwendungs- und Vorschau-Code läuft im Zielprozess. Die Kombination wurde mit dem aufgeführten IntelliJ SDK auf macOS geprüft. Die zugehörigen Quellstände und Artefaktgrenzen stehen in der [NeitzelLib-Baseline](../runtime/neitzellib-baseline.md).
|
||||
|
||||
@@ -68,7 +68,7 @@ The [local settings schema](../../designer-contracts/src/main/resources/schema/l
|
||||
## Typed sample providers
|
||||
|
||||
Add `de.neitzel.fxdesigner:designer-preview-api` with test scope, preferably
|
||||
in an opt-in profile. Use `0.1.1-SNAPSHOT` with locally built Designer tools.
|
||||
in an opt-in profile. Use `0.1.1` with Designer 0.1.1 or use the tools and API built from your checkout.
|
||||
The version of the preview API is separate from the FX version. The public
|
||||
no-argument constructor and `open(exampleId)` run in the target JVM after
|
||||
selection. `modelType()` declares the Model contract.
|
||||
@@ -128,11 +128,11 @@ Descriptors are discovered without constructing providers. Per-document selectio
|
||||
| --- | --- |
|
||||
| Published 1.0.6, including the contact-book tutorial | `ApplicationContext` |
|
||||
| Earlier DI adapter qualification snapshot | `ApplicationContext` or `ViewDependencies` |
|
||||
| Separated 1.0.7-SNAPSHOT | `ViewDependencies` |
|
||||
| Separated FX 1.0.7 | `ViewDependencies` |
|
||||
|
||||
The worker selects the loader in the captured application runtime. The
|
||||
[two snapshot variants](../runtime/neitzellib-baseline.md#separated-fx-development-qualification)
|
||||
use the same Maven coordinates. If a provider still returns a raw
|
||||
[historical snapshot qualification](../runtime/neitzellib-baseline.md#separated-fx-development-qualification)
|
||||
records both development builds that preceded 1.0.7. If a provider still returns a raw
|
||||
`ApplicationContext` after upgrading to separated FX, change the provider's
|
||||
context type and return the configured adapter. Install
|
||||
`de.neitzel.lib:fx-injection` and register the application's concrete FXML
|
||||
@@ -156,7 +156,7 @@ Each View receives its own Controller.
|
||||
The target worker also accepts `PreviewSession<Model, ViewDependencies>`
|
||||
when the captured application uses NeitzelLib FX with the DI adapter API.
|
||||
The [Spring fixture](../../integration-fixtures/spring-di/README.md) uses
|
||||
the separated NeitzelLib `1.0.7-SNAPSHOT` development runtime from an isolated Maven repository. Both application and preview run without Neitzel's injection JAR and Reflections.
|
||||
the published NeitzelLib `1.0.7` runtime. Both application and preview run without Neitzel's injection JAR and Reflections.
|
||||
|
||||
Register concrete Controller and Component classes as Spring prototype beans.
|
||||
The fixture looks up shared services by class, checks Component membership
|
||||
|
||||
Reference in New Issue
Block a user