Class VariableBindingModel
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.rvisualization.model.VariableBindingModel
-
public class VariableBindingModel extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
AVAILABLE_BINDING_TYPES_PROPERTY
static String
SELECTED_UNBOUND_VARIABLE_PROPERTY
static String
SELECTED_VARIABLE_BINDING_PROPERTY
static String
UNBOUND_VARIABLES_PROPERTY
static String
VARIABLE_BINDINGS_PROPERTY
-
Constructor Summary
Constructors Constructor Description VariableBindingModel()
VariableBindingModel(VariableBindingModel bindingModel)
Copy constructor.
-
Method Summary
-
-
-
Field Detail
-
UNBOUND_VARIABLES_PROPERTY
public static final String UNBOUND_VARIABLES_PROPERTY
- See Also:
- Constant Field Values
-
VARIABLE_BINDINGS_PROPERTY
public static final String VARIABLE_BINDINGS_PROPERTY
- See Also:
- Constant Field Values
-
AVAILABLE_BINDING_TYPES_PROPERTY
public static final String AVAILABLE_BINDING_TYPES_PROPERTY
- See Also:
- Constant Field Values
-
SELECTED_UNBOUND_VARIABLE_PROPERTY
public static final String SELECTED_UNBOUND_VARIABLE_PROPERTY
- See Also:
- Constant Field Values
-
SELECTED_VARIABLE_BINDING_PROPERTY
public static final String SELECTED_VARIABLE_BINDING_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VariableBindingModel
public VariableBindingModel()
-
VariableBindingModel
public VariableBindingModel(VariableBindingModel bindingModel)
Copy constructor.- Parameters:
bindingModel
- the original model to be copied
-
-
Method Detail
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
-
getUnboundVariables
public List<TranslatableEntity> getUnboundVariables()
-
setUnboundVariables
public void setUnboundVariables(List<TranslatableEntity> unboundVariables)
-
addUnboundVariable
public boolean addUnboundVariable(TranslatableEntity unboundVariable)
-
removeUnboundVariable
public boolean removeUnboundVariable(TranslatableEntity unboundVariable)
-
getVariableBindings
public List<VariableBinding> getVariableBindings()
-
setVariableBindings
public void setVariableBindings(List<VariableBinding> variableBindings)
-
addVariableBinding
public boolean addVariableBinding(VariableBinding binding)
-
removeVariableBinding
public boolean removeVariableBinding(VariableBinding binding)
-
getAvailableBindingTypes
public List<TranslatableEntity> getAvailableBindingTypes()
-
setAvailableBindingTypes
public void setAvailableBindingTypes(List<TranslatableEntity> availableBindingTypes)
-
addAvailableBindingType
public boolean addAvailableBindingType(TranslatableEntity bindingType)
-
removeAvailableBindingType
public boolean removeAvailableBindingType(TranslatableEntity bindingType)
-
getSelectedUnboundVariable
public TranslatableEntity getSelectedUnboundVariable()
-
setSelectedUnboundVariable
public void setSelectedUnboundVariable(TranslatableEntity selectedUnboundVariable)
-
getSelectedVariableBinding
public VariableBinding getSelectedVariableBinding()
-
setSelectedVariableBinding
public void setSelectedVariableBinding(VariableBinding selectedVariableBinding)
-
-