Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Interface TreeSearch

All Known Implementing Classes:
ExclusionSearch, Figure.IdentitySearch

public interface TreeSearch

A helper used in depth-first searches of a figure subgraph.

Since:
2.1

Method Summary
 boolean accept ( IFigure figure)
          Returns true if the given figure is accepted by the search.
 boolean prune ( IFigure figure)
          Returns true if the figure and all of its contained figures should be pruned from the search.
 

Method Detail

accept

public boolean accept(
IFigure figure)
Returns true if the given figure is accepted by the search.

Parameters:
figure - the current figure in the traversal
Returns:
true if the figure is accepted

prune

public boolean prune(
IFigure figure)
Returns true if the figure and all of its contained figures should be pruned from the search.

Parameters:
figure - the current figure in the traversal
Returns:
true if the subgraph should be pruned

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire