Search in sources :

Example 1 with BidingFigure

use of org.whole.lang.environment.ui.figures.BidingFigure in project whole by wholeplatform.

the class BindingPart method refreshVisuals.

protected void refreshVisuals() {
    Binding binding = getModelEntity();
    Value valueEntity = binding.getValue();
    IEntity value = Matcher.matchImpl(EnvironmentEntityDescriptorEnum.Value, valueEntity) ? valueEntity.getValue() : valueEntity.wGetAdaptee(true);
    BidingFigure fig = (BidingFigure) getFigure();
    if (fig.getFoldingToggle(0).getModel().isSelected() == isShowValue(value))
        fig.clickFoldingToggle(0);
}
Also used : Binding(org.whole.lang.environment.model.Binding) BidingFigure(org.whole.lang.environment.ui.figures.BidingFigure) IEntity(org.whole.lang.model.IEntity) Value(org.whole.lang.environment.model.Value)

Aggregations

Binding (org.whole.lang.environment.model.Binding)1 Value (org.whole.lang.environment.model.Value)1 BidingFigure (org.whole.lang.environment.ui.figures.BidingFigure)1 IEntity (org.whole.lang.model.IEntity)1