public class DataTypeChangeValidator
extends java.lang.Object
Constructor and Description |
---|
DataTypeChangeValidator(VariableTablePanel panel) |
Modifier and Type | Method and Description |
---|---|
void |
revalidateTaskBindings(VariableRow netVar,
java.lang.String newType)
Revalidates all referencing task variable bindings when a net variable changes its
data type
|
void |
revalidateTaskBindingsInBackground()
Revalidates all task mappings against each net variable
|
void |
validateBindings(VariableRow row,
java.lang.String newType)
Validates the bindings of a variable for a change of data type
|
public DataTypeChangeValidator(VariableTablePanel panel)
public void validateBindings(VariableRow row, java.lang.String newType)
row
- the variable row that is changing its data type. Note that the row
currently retains its old data type. The outcome will be the row
is marked for validity for each bindingnewType
- the data type the variable row is changing topublic void revalidateTaskBindings(VariableRow netVar, java.lang.String newType)
netVar
- the net-level variable changing its data typenewType
- the data type being changed topublic void revalidateTaskBindingsInBackground()