16 lines
619 B
Plaintext
16 lines
619 B
Plaintext
fragment {
|
|
import interface WebStudioFactory;
|
|
import interface WebStudioCanvasFactory;
|
|
import interface WebStudioPlaceable;
|
|
import interface WebStudioCanvas;
|
|
import package WebStudioCanvasRuntime;
|
|
conform<value Input, object Result implements WebStudioPlaceable>
|
|
WebStudioFactory<Input,Result> as WebStudioCanvasFactory<Input,Result>
|
|
id "org.quixos.web-studio:factory-create-and-place" {
|
|
bind create.call to package WebStudioCanvasRuntime.createPlaced<Input,Result> with {
|
|
factory to interface WebStudioFactory<Input,Result>;
|
|
canvas to interface WebStudioCanvas from input;
|
|
};
|
|
}
|
|
}
|