Search in sources :

Example 1 with MacrosTable

use of org.csstudio.display.builder.representation.javafx.MacrosTable in project org.csstudio.display.builder by kasemir.

the class MacrosFieldEditor method getFXCanvas.

private void getFXCanvas(final Composite parent) {
    if (fxcanvas == null) {
        final JFX_SWT_Wrapper wrapper = new JFX_SWT_Wrapper(parent, () -> {
            table = new MacrosTable(new Macros());
            return new Scene(table.getNode());
        });
        fxcanvas = wrapper.getFXCanvas();
    }
}
Also used : JFX_SWT_Wrapper(org.csstudio.javafx.swt.JFX_SWT_Wrapper) Scene(javafx.scene.Scene) Macros(org.csstudio.display.builder.model.macros.Macros) MacrosTable(org.csstudio.display.builder.representation.javafx.MacrosTable)

Aggregations

Scene (javafx.scene.Scene)1 Macros (org.csstudio.display.builder.model.macros.Macros)1 MacrosTable (org.csstudio.display.builder.representation.javafx.MacrosTable)1 JFX_SWT_Wrapper (org.csstudio.javafx.swt.JFX_SWT_Wrapper)1