use of org.eclipse.draw2d.Toggle in project whole by wholeplatform.
the class FeatureRightPart method refreshVisuals.
@Override
protected void refreshVisuals() {
Feature entity = getModelEntity();
FeatureFigure f = (FeatureFigure) getFigure();
Toggle toggle = f.getFoldingToggle(0);
if (entity.getFeatures().wIsEmpty() && !toggle.isSelected())
toggle.doClick();
}
Aggregations