litesoft
Diff Revisions
954
vs
955
for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/testplan/TestPlanActionClickTextCellButton.java
|
@@ -8,34 +8,29 @@ |
8 |
8 |
|
|
9 |
9 |
|
import com.google.gwt.user.client.ui.*; |
10 |
10 |
|
|
11 |
|
- |
public class TestPlanActionClickTextCellButton extends AbtractTestPlanActionClickCellButton |
12 |
|
- |
{ |
|
11 |
+ |
public class TestPlanActionClickTextCellButton extends AbtractTestPlanActionClickCellButton { |
13 |
12 |
|
private static final long serialVersionUID = 1L; |
14 |
13 |
|
|
15 |
14 |
|
public static final String FORM = "ClickTextCellButton"; |
16 |
15 |
|
|
17 |
16 |
|
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
18 |
|
- |
protected TestPlanActionClickTextCellButton() |
19 |
|
- |
{ |
|
17 |
+ |
protected TestPlanActionClickTextCellButton() { |
20 |
18 |
|
} |
21 |
19 |
|
|
22 |
|
- |
public TestPlanActionClickTextCellButton( String pName, String pTitle, KeyboardKeyModifier pKeyboardKeyModifier ) |
23 |
|
- |
{ |
|
20 |
+ |
public TestPlanActionClickTextCellButton( String pName, String pTitle, KeyboardKeyModifier pKeyboardKeyModifier ) { |
24 |
21 |
|
super( pName, pTitle, pKeyboardKeyModifier ); |
25 |
22 |
|
} |
26 |
23 |
|
|
27 |
|
- |
public String form() |
28 |
|
- |
{ |
|
24 |
+ |
@Override |
|
25 |
+ |
public String form() { |
29 |
26 |
|
return FORM; |
30 |
27 |
|
} |
31 |
28 |
|
|
32 |
|
- |
protected WidgetSelector createWidgetSelector() |
33 |
|
- |
{ |
34 |
|
- |
return new ButtonSelector( getName(), getTitle() ) |
35 |
|
- |
{ |
|
29 |
+ |
@Override |
|
30 |
+ |
protected WidgetSelector createWidgetSelector() { |
|
31 |
+ |
return new ButtonSelector( getName(), getTitle() ) { |
36 |
32 |
|
@Override |
37 |
|
- |
public boolean isAcceptable( Widget pWidget ) |
38 |
|
- |
{ |
|
33 |
+ |
public boolean isAcceptable( Widget pWidget ) { |
39 |
34 |
|
return (pWidget instanceof TextCellButton) && super.isAcceptable( pWidget ); |
40 |
35 |
|
} |
41 |
36 |
|
}; |