1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
package org.kuali.student.common.ui.client.event; |
10 |
|
|
11 |
|
import org.kuali.student.common.ui.client.mvc.ApplicationEvent; |
12 |
|
|
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 5 |
Complexity Density: 0.71 |
|
13 |
|
public class ExportEvent extends ApplicationEvent<ExportEventHandler> { |
14 |
|
public static final Type<ExportEventHandler> TYPE = new Type<ExportEventHandler>(); |
15 |
|
private Object currentView; |
16 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
17 |
0
|
public ExportEvent(Object currentView) {... |
18 |
0
|
super(); |
19 |
0
|
this.currentView = currentView; |
20 |
0
|
System.out.println("Constructor for ExportEvent...."); |
21 |
|
} |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
23 |
0
|
@Override... |
24 |
|
protected void dispatch(ExportEventHandler handler) { |
25 |
0
|
handler.onExport(this); |
26 |
|
|
27 |
|
} |
28 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
29 |
0
|
@Override... |
30 |
|
public com.google.gwt.event.shared.GwtEvent.Type<ExportEventHandler> getAssociatedType() { |
31 |
|
|
32 |
0
|
return null; |
33 |
|
} |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
35 |
0
|
public Object getCurrentView() {... |
36 |
0
|
return currentView; |
37 |
|
} |
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public void setCurrentView(Object currentView) {... |
40 |
0
|
this.currentView = currentView; |
41 |
|
} |
42 |
|
} |