Search in sources :

Example 1 with VariableFeatureRightFigure

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

the class VariableFeatureRightPart method refreshVisuals.

@Override
protected void refreshVisuals() {
    VariableFeature entity = getModelEntity();
    VariableValue value = entity.getValue();
    ((VariableFeatureRightFigure) 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) VariableFeatureRightFigure(org.whole.lang.features.ui.figures.VariableFeatureRightFigure)

Aggregations

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