Package org.eclipse.draw2d
Class ExclusionSearch
java.lang.Object
org.eclipse.draw2d.ExclusionSearch
- All Implemented Interfaces:
- TreeSearch
A 
TreeSearch that excludes figures contained in a
 Collection.- Since:
- 2.1
- 
Constructor SummaryConstructorsConstructorDescriptionExclusionSearch(Collection<IFigure> collection) Constructs an Exclusion search using the given collection.
- 
Method Summary
- 
Constructor Details- 
ExclusionSearchConstructs an Exclusion search using the given collection.- Parameters:
- collection- the exclusion set
 
 
- 
- 
Method Details- 
acceptDescription copied from interface:TreeSearchReturnstrueif the given figure is accepted by the search.- Specified by:
- acceptin interface- TreeSearch
- Parameters:
- figure- the current figure in the traversal
- Returns:
- trueif the figure is accepted
- See Also:
 
- 
pruneReturnstrueif the figure is a member of the Collection.- Specified by:
- prunein interface- TreeSearch
- Parameters:
- f- the current figure in the traversal
- Returns:
- trueif the subgraph should be pruned
- See Also:
 
 
-