use of org.whole.lang.frames.model.Feature in project whole by wholeplatform.
the class FeatureDownPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
Feature entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getName());
list.add(entity.getFeatures());
return list;
}
use of org.whole.lang.frames.model.Feature in project whole by wholeplatform.
the class FeatureDownPart 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();
}
use of org.whole.lang.frames.model.Feature 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