litesoft
Diff Revisions
609
vs
610
for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/testplan/TestPlanActionClickTableHeader.java
|
@@ -30,13 +30,11 @@ |
30 |
30 |
|
|
31 |
31 |
|
protected WidgetSelector createWidgetSelector() |
32 |
32 |
|
{ |
33 |
|
- |
return new WidgetSelector() |
|
33 |
+ |
return new NthWidgetSelector(mNth) |
34 |
34 |
|
{ |
35 |
|
- |
private int mFound = -1; |
36 |
|
- |
|
37 |
35 |
|
public boolean isAcceptable( Widget pWidget ) |
38 |
36 |
|
{ |
39 |
|
- |
return (pWidget instanceof Table) && ((mNth == null) || (++mFound == mNth)); |
|
37 |
+ |
return foundNth(pWidget instanceof Table); |
40 |
38 |
|
} |
41 |
39 |
|
}; |
42 |
40 |
|
} |