|
@@ -1,43 +1,43 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.client.dev.ui.testplan; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.GWT.client.*; |
5 |
|
- |
import org.litesoft.GWT.client.dev.ui.inspection.*; |
6 |
|
- |
import org.litesoft.GWT.client.ui.inspection.*; |
7 |
|
- |
import org.litesoft.GWT.client.widgets.*; |
8 |
|
- |
|
9 |
|
- |
import com.google.gwt.user.client.ui.*; |
10 |
|
- |
|
11 |
|
- |
public class TestPlanActionClickTextCellButton extends AbtractTestPlanActionClickCellButton |
12 |
|
- |
{ |
13 |
|
- |
private static final long serialVersionUID = 1L; |
14 |
|
- |
|
15 |
|
- |
public static final String FORM = "ClickTextCellButton"; |
16 |
|
- |
|
17 |
|
- |
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
18 |
|
- |
protected TestPlanActionClickTextCellButton() |
19 |
|
- |
{ |
20 |
|
- |
} |
21 |
|
- |
|
22 |
|
- |
public TestPlanActionClickTextCellButton( String pName, String pTitle, KeyboardKeyModifier pKeyboardKeyModifier ) |
23 |
|
- |
{ |
24 |
|
- |
super( pName, pTitle, pKeyboardKeyModifier ); |
25 |
|
- |
} |
26 |
|
- |
|
27 |
|
- |
public String form() |
28 |
|
- |
{ |
29 |
|
- |
return FORM; |
30 |
|
- |
} |
31 |
|
- |
|
32 |
|
- |
protected WidgetSelector createWidgetSelector() |
33 |
|
- |
{ |
34 |
|
- |
return new ButtonSelector( getName(), getTitle() ) |
35 |
|
- |
{ |
36 |
|
- |
@Override |
37 |
|
- |
public boolean isAcceptable( Widget pWidget ) |
38 |
|
- |
{ |
39 |
|
- |
return (pWidget instanceof TextCellButton) && super.isAcceptable( pWidget ); |
40 |
|
- |
} |
41 |
|
- |
}; |
42 |
|
- |
} |
43 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.client.dev.ui.testplan; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.GWT.client.*; |
|
5 |
+ |
import org.litesoft.GWT.client.dev.ui.inspection.*; |
|
6 |
+ |
import org.litesoft.GWT.client.ui.inspection.*; |
|
7 |
+ |
import org.litesoft.GWT.client.widgets.*; |
|
8 |
+ |
|
|
9 |
+ |
import com.google.gwt.user.client.ui.*; |
|
10 |
+ |
|
|
11 |
+ |
public class TestPlanActionClickTextCellButton extends AbtractTestPlanActionClickCellButton |
|
12 |
+ |
{ |
|
13 |
+ |
private static final long serialVersionUID = 1L; |
|
14 |
+ |
|
|
15 |
+ |
public static final String FORM = "ClickTextCellButton"; |
|
16 |
+ |
|
|
17 |
+ |
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
|
18 |
+ |
protected TestPlanActionClickTextCellButton() |
|
19 |
+ |
{ |
|
20 |
+ |
} |
|
21 |
+ |
|
|
22 |
+ |
public TestPlanActionClickTextCellButton( String pName, String pTitle, KeyboardKeyModifier pKeyboardKeyModifier ) |
|
23 |
+ |
{ |
|
24 |
+ |
super( pName, pTitle, pKeyboardKeyModifier ); |
|
25 |
+ |
} |
|
26 |
+ |
|
|
27 |
+ |
public String form() |
|
28 |
+ |
{ |
|
29 |
+ |
return FORM; |
|
30 |
+ |
} |
|
31 |
+ |
|
|
32 |
+ |
protected WidgetSelector createWidgetSelector() |
|
33 |
+ |
{ |
|
34 |
+ |
return new ButtonSelector( getName(), getTitle() ) |
|
35 |
+ |
{ |
|
36 |
+ |
@Override |
|
37 |
+ |
public boolean isAcceptable( Widget pWidget ) |
|
38 |
+ |
{ |
|
39 |
+ |
return (pWidget instanceof TextCellButton) && super.isAcceptable( pWidget ); |
|
40 |
+ |
} |
|
41 |
+ |
}; |
|
42 |
+ |
} |
|
43 |
+ |
} |