use of org.whole.lang.semantics.model.IfTemplate in project whole by wholeplatform.
the class IfTemplateRowPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
IfTemplate entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getExpression());
list.add(entity.getCondition());
return list;
}
use of org.whole.lang.semantics.model.IfTemplate in project whole by wholeplatform.
the class IfTemplatePart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
IfTemplate entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getExpression());
list.add(entity.getCondition());
return list;
}
use of org.whole.lang.semantics.model.IfTemplate in project whole by wholeplatform.
the class IfTemplatePart method refreshVisuals.
@Override
protected void refreshVisuals() {
IfTemplate entity = getModelEntity();
GuardedTemplateFigure f = (GuardedTemplateFigure) getFigure();
f.showAsStageDown(SemanticsUtils.inStageDownContext(entity));
}
Aggregations