public static class AutoexposeHelper.Search extends java.lang.Object implements EditPartViewer.Conditional
EditPartViewer.findObjectAtExcluding(Point,Collection, EditPartViewer.Conditional)
, and then check the result
field.Modifier and Type | Field and Description |
---|---|
AutoexposeHelper |
result |
Constructor and Description |
---|
Search(Point pt)
Constructs a new Search at a point on the viewer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(EditPart editpart)
Returns
true if the editpart meets this condition. |
public AutoexposeHelper result
public Search(Point pt)
pt
- the mouse locationpublic boolean evaluate(EditPart editpart)
EditPartViewer.Conditional
true
if the editpart meets this condition.evaluate
in interface EditPartViewer.Conditional
editpart
- the editpart being evaluatedtrue
if the editpart meets the conditionCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.