* @param isRecursive Shows whether the selected relations should be applied
* recursively.
*/
public void createPathMatcherModel(boolean isRecursive) {
String setName = getSelectedRelationshipSet().getName();
PathExpression pathExpressionModel = new PathExpression();
RelationshipSetAdapter setAdapterFromPicker =
new RelationshipSetAdapter(setName, getRelationShips(),
SourcePluginRegistry.getRelations());
pathExpressionModel.addPathMatcher(
new PathMatcherTerm(setAdapterFromPicker, isRecursive, false));
pathMatcherModel = pathExpressionModel;
}