use of org.whole.lang.semantics.model.RuleName in project whole by wholeplatform.
the class RuleNamePart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
RuleName entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(3);
list.add(entity.getName());
list.add(entity.getSub());
list.add(entity.getSup());
return list;
}
use of org.whole.lang.semantics.model.RuleName in project whole by wholeplatform.
the class RuleNamePart method refreshVisuals.
@Override
protected void refreshVisuals() {
RuleName entity = getModelEntity();
getFigure().showSub(!EntityUtils.isResolver(entity.getSub()));
getFigure().showSup(!EntityUtils.isResolver(entity.getSup()));
}