Class SetValueDialog
- java.lang.Object
-
- com.inductiveautomation.sfc.designer.workspace.SetValueDialog
-
public class SetValueDialog extends java.lang.Object
Displays a modal dialog used to edit the value of key-value pairs.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object
CANCEL_OPTION
-
Constructor Summary
Constructors Constructor Description SetValueDialog(ClientContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
show(java.awt.Component parent, java.lang.String name)
Display a modal edit dialog.
-
-
-
Constructor Detail
-
SetValueDialog
public SetValueDialog(ClientContext context)
-
-
Method Detail
-
show
public java.lang.Object show(java.awt.Component parent, java.lang.String name)
Display a modal edit dialog.- Parameters:
parent
- the component to center on, or nullname
- 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.
-
-