Package org.eclipse.gef
Class AutoexposeHelper.Search
- java.lang.Object
-
- org.eclipse.gef.AutoexposeHelper.Search
-
- All Implemented Interfaces:
EditPartViewer.Conditional
- Enclosing interface:
- AutoexposeHelper
public static class AutoexposeHelper.Search extends java.lang.Object implements EditPartViewer.Conditional
Used with EditPartViewers to find the AutoexposeHelper at a Point. Clients can instantiate the search, callEditPartViewer.findObjectAtExcluding(Point,Collection, EditPartViewer.Conditional)
, and then check theresult
field.
-
-
Field Summary
Fields Modifier and Type Field Description AutoexposeHelper
result
-
Constructor Summary
Constructors Constructor Description Search(org.eclipse.draw2d.geometry.Point pt)
Constructs a new Search at a point on the viewer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(EditPart editpart)
Returnstrue
if the editpart meets this condition.
-
-
-
Field Detail
-
result
public AutoexposeHelper result
-
-
Method Detail
-
evaluate
public boolean evaluate(EditPart editpart)
Description copied from interface:EditPartViewer.Conditional
Returnstrue
if the editpart meets this condition.- Specified by:
evaluate
in interfaceEditPartViewer.Conditional
- Parameters:
editpart
- the editpart being evaluated- Returns:
true
if the editpart meets the condition
-
-