litesoft
Diff Revisions
947
vs
955
for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/testplan/GeneralizedTestPlanAction.java
|
@@ -8,36 +8,31 @@ |
8 |
8 |
|
/** |
9 |
9 |
|
* TODO: think of a better name than {@link GeneralizedTestPlanAction}? |
10 |
10 |
|
*/ |
11 |
|
- |
public class GeneralizedTestPlanAction implements TestPlanAction |
12 |
|
- |
{ |
|
11 |
+ |
public class GeneralizedTestPlanAction implements TestPlanAction { |
13 |
12 |
|
private static final long serialVersionUID = 1L; |
14 |
13 |
|
|
15 |
14 |
|
private /* final */ SelectionSpec mSelectionSpec; |
16 |
15 |
|
private /* final */ ActionSpec mActionSpec; |
17 |
16 |
|
|
18 |
17 |
|
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
19 |
|
- |
protected GeneralizedTestPlanAction() |
20 |
|
- |
{ |
|
18 |
+ |
protected GeneralizedTestPlanAction() { |
21 |
19 |
|
} |
22 |
20 |
|
|
23 |
|
- |
public GeneralizedTestPlanAction(SelectionSpec pSelectionSpec, ActionSpec pActionSpec) |
24 |
|
- |
{ |
|
21 |
+ |
public GeneralizedTestPlanAction( SelectionSpec pSelectionSpec, ActionSpec pActionSpec ) { |
25 |
22 |
|
mSelectionSpec = pSelectionSpec; |
26 |
23 |
|
mActionSpec = pActionSpec; |
27 |
24 |
|
} |
28 |
25 |
|
|
29 |
|
- |
public SelectionSpec getSelectionSpec() |
30 |
|
- |
{ |
|
26 |
+ |
public SelectionSpec getSelectionSpec() { |
31 |
27 |
|
return mSelectionSpec; |
32 |
28 |
|
} |
33 |
29 |
|
|
34 |
|
- |
public ActionSpec getActionSpec() |
35 |
|
- |
{ |
|
30 |
+ |
public ActionSpec getActionSpec() { |
36 |
31 |
|
return mActionSpec; |
37 |
32 |
|
} |
38 |
33 |
|
|
39 |
|
- |
public boolean execute( Object pClickHandlerSharedObject ) |
40 |
|
- |
{ |
|
34 |
+ |
@Override |
|
35 |
+ |
public boolean execute() { |
41 |
36 |
|
// SelectionSpec selectionSpec = action.getSelectionSpec(); |
42 |
37 |
|
// ActionSpec actionSpec = action.getActionSpec(); |
43 |
38 |
|
// Finder finder = FinderFactory.createFinder( selectionSpec ); |