Class SetValueDialog

java.lang.Object
com.inductiveautomation.sfc.designer.workspace.SetValueDialog

public class SetValueDialog extends Object
Displays a modal dialog used to edit the value of key-value pairs.
  • Field Details

    • CANCEL_OPTION

      public static final Object CANCEL_OPTION
  • Constructor Details

  • Method Details

    • show

      public Object show(Component parent, String name)
      Display a modal edit dialog.
      Parameters:
      parent - the component to center on, or null
      name - the variable/key name of this value
      Returns:
      a value from the expression parsed in the text editor, or SetValueDialog.CANCEL_OPTION if the dialog was closed/canceled.