public interface TreeSearch
boolean accept(IFigure figure)
true
if the given figure is accepted by the search.figure
- the current figure in the traversaltrue
if the figure is acceptedboolean prune(IFigure figure)
true
if the figure and all of its contained figures
should be pruned from the search.figure
- the current figure in the traversaltrue
if the subgraph should be prunedCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.