Search in sources :

Example 1 with MacrosDialog

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

the class JFXMacrosDialogDemo method start.

@Override
public void start(final Stage stage) {
    final Macros macros = new Macros();
    macros.add("S", "Test");
    macros.add("N", "17");
    final MacrosDialog dialog = new MacrosDialog(macros);
    System.out.println(dialog.showAndWait());
}
Also used : MacrosDialog(org.csstudio.display.builder.representation.javafx.MacrosDialog) Macros(org.csstudio.display.builder.model.macros.Macros)

Aggregations

Macros (org.csstudio.display.builder.model.macros.Macros)1 MacrosDialog (org.csstudio.display.builder.representation.javafx.MacrosDialog)1