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);
}
Aggregations