Search in sources :

Example 1 with VariableFeatureDownFigure

use of org.whole.lang.features.ui.figures.VariableFeatureDownFigure in project whole by wholeplatform.

the class VariableFeatureDownPart method refreshVisuals.

@Override
protected void refreshVisuals() {
    VariableFeature entity = getModelEntity();
    VariableValue value = entity.getValue();
    ((VariableFeatureDownFigure) getFigure()).setVariableValue(DataTypeUtils.getDataKind(value).isEnumValue() && value.wEnumValue().equals(VariableValueEnum.SELECTED));
}
Also used : VariableFeature(org.whole.lang.frames.model.VariableFeature) VariableValue(org.whole.lang.frames.model.VariableValue) VariableFeatureDownFigure(org.whole.lang.features.ui.figures.VariableFeatureDownFigure)

Aggregations

VariableFeatureDownFigure (org.whole.lang.features.ui.figures.VariableFeatureDownFigure)1 VariableFeature (org.whole.lang.frames.model.VariableFeature)1 VariableValue (org.whole.lang.frames.model.VariableValue)1