use of org.freeplane.features.filter.condition.DisjunctConditions in project freeplane by freeplane.
the class Slide method getEffectiveFilterCondition.
public ICondition getEffectiveFilterCondition() {
final ICondition condition;
if (showsOnlySpecificNodes && filterCondition != null) {
SelectedViewSnapshotCondition selectedViewSnapshotCondition = getFilterConditionForSelectedNodes();
condition = new DisjunctConditions(selectedViewSnapshotCondition, filterCondition);
} else if (showsOnlySpecificNodes && filterCondition == null) {
condition = getFilterConditionForSelectedNodes();
} else if (!showsOnlySpecificNodes && filterCondition != null) {
condition = filterCondition;
} else {
condition = null;
}
return condition;
}
Aggregations