Connect minimal hosts to snapshots, target workers and shared Kit editing
This commit is contained in:
@@ -24,6 +24,7 @@ public final class Examples implements PreviewProvider<Person, ApplicationContex
|
||||
public PreviewSession<Person, ApplicationContext> open(String id) throws Exception {
|
||||
if (!javafx.application.Platform.isFxApplicationThread())
|
||||
throw new AssertionError("Provider not on FX");
|
||||
System.out.println("Application console: NFX1 is ordinary text, not a wire frame");
|
||||
person = new Person();
|
||||
context = new ApplicationContext("fixture.components");
|
||||
service = context.getComponent(Greeting.class);
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"targetRuntime": "java21",
|
||||
"preview": {
|
||||
"sourceSet": "test",
|
||||
"provider": "fixture.preview.Examples"
|
||||
"provider": "fixture.preview.Examples",
|
||||
"defaultExample": "standard"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user