use of org.freeplane.features.filter.condition.SelectedViewSnapshotCondition 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;
}
use of org.freeplane.features.filter.condition.SelectedViewSnapshotCondition in project freeplane by freeplane.
the class Slide method getFilterConditionForSelectedNodes.
private SelectedViewSnapshotCondition getFilterConditionForSelectedNodes() {
ArrayList<NodeModel> selectedNodes = getSelectedNodes(false);
SelectedViewSnapshotCondition selectedViewSnapshotCondition = new SelectedViewSnapshotCondition(selectedNodes);
return selectedViewSnapshotCondition;
}
Aggregations