litesoft
Diff Revisions
2
vs
49
for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/inspection/JQueryFinder.java
|
@@ -1,3 +1,4 @@ |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
1 |
2 |
|
package org.litesoft.GWT.client.dev.ui.inspection; |
2 |
3 |
|
|
3 |
4 |
|
import com.google.gwt.dom.client.*; |
|
@@ -6,18 +7,18 @@ |
6 |
7 |
|
public class JQueryFinder extends Finder |
7 |
8 |
|
{ |
8 |
9 |
|
// private static SelectorEngine sSelectorEngine = null; |
9 |
|
- |
|
|
10 |
+ |
|
10 |
11 |
|
public JQueryFinder(JQuerySelectionSpec pSelectionSpec) |
11 |
12 |
|
{ |
12 |
13 |
|
super(pSelectionSpec); |
13 |
14 |
|
} |
14 |
|
- |
|
|
15 |
+ |
|
15 |
16 |
|
@Override |
16 |
17 |
|
protected JQuerySelectionSpec getSelectionSpec() |
17 |
18 |
|
{ |
18 |
19 |
|
return (JQuerySelectionSpec) super.getSelectionSpec(); |
19 |
20 |
|
} |
20 |
|
- |
|
|
21 |
+ |
|
21 |
22 |
|
@Override |
22 |
23 |
|
public Element find(Element pRoot) |
23 |
24 |
|
{ |
|
@@ -25,7 +26,7 @@ |
25 |
26 |
|
// NodeList<Element> nodeList = getSelectorEngine().select(getSelectionSpec().getExpression(), RootPanel.getBodyElement()); |
26 |
27 |
|
// return nodeList.getItem(0); |
27 |
28 |
|
} |
28 |
|
- |
|
|
29 |
+ |
|
29 |
30 |
|
// private static SelectorEngine getSelectorEngine() |
30 |
31 |
|
// { |
31 |
32 |
|
// if (sSelectorEngine == null) |