public void updateEdgeMatcher(EdgeMatcher<String> edgeMatcher){
  forwardMatchers.clear();
  reverseMatchers.clear();
  for (  Relation relation : content.getObjects()) {
    if (edgeMatcher.relationForward(relation)) {
      forwardMatchers.add(relation);
    }
    if (edgeMatcher.relationReverse(relation)) {
      reverseMatchers.add(relation);
    }
    viewer.update(relation,BOTH_MATCHERS);
  }
}

public void updateEdgeMatcher ( EdgeMatcher < String > edgeMatcher ) { forwardMatchers . clear ( ) ; reverseMatchers . clear ( ) ; for ( Relation relation : content . getObjects ( ) ) { if ( edgeMatcher . relationForward ( relation ) ) { forwardMatchers . add ( relation ) ; } if ( edgeMatcher . relationReverse ( relation ) ) { reverseMatchers . add ( relation ) ; } viewer . update ( relation , BOTH_MATCHERS ) ; } }
update the rows to show the relation directions for the supplied edge matcher .
