1 |
|
package org.kuali.student.lum.program.client.credential.edit; |
2 |
|
|
3 |
|
import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView; |
4 |
|
import org.kuali.student.common.ui.client.mvc.DataModelDefinition; |
5 |
|
import org.kuali.student.lum.common.client.configuration.AbstractSectionConfiguration; |
6 |
|
import org.kuali.student.lum.program.client.AbstractProgramConfigurer; |
7 |
|
import org.kuali.student.lum.program.client.ProgramConstants; |
8 |
|
import org.kuali.student.lum.program.client.ProgramSections; |
9 |
|
import org.kuali.student.lum.program.client.properties.ProgramProperties; |
10 |
|
import org.kuali.student.lum.program.client.widgets.ProgramDocumentTool; |
11 |
|
|
12 |
|
|
13 |
|
@author |
14 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 2 |
Complexity Density: 0.4 |
|
15 |
|
public class CredentialDocsEditConfiguration extends AbstractSectionConfiguration { |
16 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
17 |
0
|
public CredentialDocsEditConfiguration() {... |
18 |
0
|
rootSection = new VerticalSectionView(ProgramSections.SUPPORTING_DOCUMENTS_EDIT, ProgramProperties.get().program_menu_sections_supportingDocuments(), ProgramConstants.PROGRAM_MODEL_ID); |
19 |
|
} |
20 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
21 |
0
|
@Override... |
22 |
|
protected void buildLayout() { |
23 |
0
|
ProgramDocumentTool documentTool = new ProgramDocumentTool(ProgramSections.SUPPORTING_DOCUMENTS_EDIT, "Documents"); |
24 |
0
|
documentTool.setModelDefinition((DataModelDefinition) configurer.getModelDefinition()); |
25 |
0
|
documentTool.setController(((AbstractProgramConfigurer) configurer).getProgramController()); |
26 |
0
|
rootSection.addView(documentTool); |
27 |
|
} |
28 |
|
} |