Run Designer previews with application-owned DI adapters

This commit is contained in:
2026-11-26 16:01:19 +01:00
parent e49d586916
commit 6126967fdc
56 changed files with 2131 additions and 50 deletions
@@ -2,7 +2,10 @@ package de.neitzel.fxdesigner.preview;
import java.util.concurrent.*;
/** Owned example state. The NeitzelLib adapter requires C to be an ApplicationContext. */
/**
* Owned example state. Return ViewDependencies on FX runtimes with the DI adapter API.
* An ApplicationContext is supported on runtimes that provide the legacy loaders.
*/
public interface PreviewSession<M, C> extends AutoCloseable {
M model();