1 |
|
package org.kuali.student.lum.program.client.credential.edit; |
2 |
|
|
3 |
|
import org.kuali.student.common.ui.client.mvc.Controller; |
4 |
|
import org.kuali.student.common.ui.client.mvc.View; |
5 |
|
import org.kuali.student.lum.common.client.configuration.AbstractControllerConfiguration; |
6 |
|
import org.kuali.student.lum.program.client.ProgramSections; |
7 |
|
import org.kuali.student.lum.program.client.credential.CredentialManager; |
8 |
|
import org.kuali.student.lum.program.client.properties.ProgramProperties; |
9 |
|
import org.kuali.student.lum.program.client.requirements.ProgramRequirementsViewController; |
10 |
|
|
11 |
|
import com.google.gwt.user.client.ui.Widget; |
12 |
|
|
|
|
| 0% |
Uncovered Elements: 14 (14) |
Complexity: 6 |
Complexity Density: 0.86 |
|
13 |
|
public class CredentialRequirementsEditConfiguration extends AbstractControllerConfiguration { |
14 |
|
|
15 |
|
private ProgramRequirementsViewController progReqcontroller; |
16 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
17 |
0
|
@Override... |
18 |
|
public View getView() { |
19 |
0
|
progReqcontroller = new ProgramRequirementsViewController(controller, CredentialManager.getEventBus(), |
20 |
|
ProgramProperties.get().program_menu_sections_requirements(), ProgramSections.PROGRAM_REQUIREMENTS_EDIT, false, null); |
21 |
0
|
return progReqcontroller; |
22 |
|
} |
23 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
24 |
0
|
@Override... |
25 |
|
protected void buildLayout() { |
26 |
|
} |
27 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
28 |
0
|
@Override... |
29 |
|
public void setController(Controller controller) { |
30 |
0
|
this.controller = controller; |
31 |
0
|
if (progReqcontroller != null) { |
32 |
0
|
progReqcontroller.setParentController(controller); |
33 |
|
} |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
@Override... |
37 |
|
public Widget asWidget() { |
38 |
0
|
return controller; |
39 |
|
} |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0
|
@Override... |
42 |
|
public Enum<?> getName() { |
43 |
0
|
return ProgramSections.PROGRAM_REQUIREMENTS_EDIT; |
44 |
|
} |
45 |
|
} |