use of org.openlca.core.model.ModelType in project olca-app by GreenDelta.
the class NavigationTreeFilter method validCategory.
private boolean validCategory(CategoryElement e) {
Category c = e.getContent();
if (c == null || c.modelType == null)
return false;
ModelType type = c.modelType;
return (type.isOneOf(ModelType.PROCESS, ModelType.PRODUCT_SYSTEM)) && hasModelChilds(e);
}
Aggregations