use of org.whole.lang.ui.editparts.CommaSeparatedCompositeFlowPart in project whole by wholeplatform.
the class QueriesPartFactoryVisitor method visit.
@Override
public void visit(Expressions entity) {
IEntity parent = entity.wGetParent();
if (EntityUtils.hasParent(entity)) {
if (Matcher.match(QueriesEntityDescriptorEnum.EntityTemplate, parent)) {
part = new CompositeColumnWithPlaceholderPart();
return;
} else if (Matcher.match(QueriesEntityDescriptorEnum.UnionAll, parent) || Matcher.isAssignableAsIsFrom(QueriesEntityDescriptorEnum.CollectByExpression, parent)) {
part = new CommaSeparatedCompositeColumnPart();
return;
}
}
part = new CommaSeparatedCompositeFlowPart();
}
Aggregations