Package org.eclipse.gef
Class AutoexposeHelper.Search
java.lang.Object
org.eclipse.gef.AutoexposeHelper.Search
- All Implemented Interfaces:
EditPartViewer.Conditional
- Enclosing interface:
AutoexposeHelper
Used with EditPartViewers to find the AutoexposeHelper at a Point. Clients
can instantiate the search, call
EditPartViewer.findObjectAtExcluding(Point,Collection, EditPartViewer.Conditional)
, and then check the result field.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
result
-
-
Constructor Details
-
Search
Constructs a new Search at a point on the viewer.- Parameters:
pt- the mouse location
-
-
Method Details
-
evaluate
Description copied from interface:EditPartViewer.ConditionalReturnstrueif the editpart meets this condition.- Specified by:
evaluatein interfaceEditPartViewer.Conditional- Parameters:
editpart- the editpart being evaluated- Returns:
trueif the editpart meets the condition
-