org.eclipse.draw2d
Class Figure.IdentitySearch
java.lang.Object
org.eclipse.draw2d.Figure.IdentitySearch
-
All Implemented Interfaces:
-
TreeSearch
-
Enclosing class:
-
Figure
- protected static final class Figure.IdentitySearch
- extends java.lang.Object
- implements
TreeSearch
A search which does not filter any figures.
since 3.0
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
INSTANCE
public static final
TreeSearch INSTANCE
- The singleton instance.
accept
public boolean accept(
IFigure f)
- Always returns
true
.
-
-
Specified by:
-
accept
in interface
TreeSearch
-
-
Parameters:
-
f
- the current figure in the traversal
-
Returns:
-
true
if the figure is accepted -
See Also:
-
TreeSearch.accept(IFigure)
prune
public boolean prune(
IFigure f)
- Always returns
false
.
-
-
Specified by:
-
prune
in interface
TreeSearch
-
-
Parameters:
-
f
- the current figure in the traversal
-
Returns:
-
true
if the subgraph should be pruned -
See Also:
-
TreeSearch.prune(IFigure)
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.