1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.ui.client.event; |
17 |
|
|
18 |
|
import org.kuali.student.common.ui.client.mvc.HasActionState; |
19 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 11 |
Complexity Density: 1 |
|
20 |
|
public class ModifyActionEvent extends ActionEvent<ModifyActionHandler> implements HasActionState{ |
21 |
|
public static final Type<ModifyActionHandler> TYPE = new Type<ModifyActionHandler>(); |
22 |
|
|
23 |
|
private ActionState actionState; |
24 |
|
private String message = "Fetching"; |
25 |
|
private boolean acknowledgeRequired = true; |
26 |
|
private String id; |
27 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
28 |
0
|
public ModifyActionEvent(){... |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
31 |
0
|
public ModifyActionEvent(String id){... |
32 |
0
|
this(); |
33 |
0
|
this.id = id; |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
@Override... |
37 |
|
protected void dispatch(ModifyActionHandler handler) { |
38 |
0
|
handler.onModify(this); |
39 |
|
|
40 |
|
} |
41 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
0
|
@Override... |
43 |
|
public com.google.gwt.event.shared.GwtEvent.Type<ModifyActionHandler> getAssociatedType() { |
44 |
|
|
45 |
0
|
return TYPE; |
46 |
|
} |
47 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
48 |
0
|
public void setActionState(ActionState state){... |
49 |
0
|
this.actionState = state; |
50 |
|
} |
51 |
|
|
52 |
|
|
53 |
|
@see |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
@Override... |
56 |
|
public ActionState getActionState() { |
57 |
0
|
return this.actionState; |
58 |
|
} |
59 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
0
|
public String getMessage(){... |
61 |
0
|
return message; |
62 |
|
} |
63 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
0
|
public boolean isAcknowledgeRequired() {... |
65 |
0
|
return acknowledgeRequired; |
66 |
|
} |
67 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
68 |
0
|
public void setAcknowledgeRequired(boolean acknowledgeRequired) {... |
69 |
0
|
this.acknowledgeRequired = acknowledgeRequired; |
70 |
|
} |
71 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
0
|
public String getId() {... |
73 |
0
|
return id; |
74 |
|
} |
75 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
0
|
public void setId(String id) {... |
77 |
0
|
this.id = id; |
78 |
|
} |
79 |
|
} |