Run Designer previews with application-owned DI adapters
This commit is contained in:
+4
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user