Coverage Report - org.kuali.student.lum.program.client.major.edit.SupportingDocsEditConfiguration
 
Classes in this File Line Coverage Branch Coverage Complexity
SupportingDocsEditConfiguration
0%
0/9
N/A
1
 
 1  
 package org.kuali.student.lum.program.client.major.edit;
 2  
 
 3  
 import org.kuali.student.common.ui.client.configurable.mvc.Configurer;
 4  
 import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView;
 5  
 import org.kuali.student.common.ui.client.mvc.DataModelDefinition;
 6  
 import org.kuali.student.lum.common.client.configuration.AbstractSectionConfiguration;
 7  
 import org.kuali.student.lum.program.client.AbstractProgramConfigurer;
 8  
 import org.kuali.student.lum.program.client.ProgramConstants;
 9  
 import org.kuali.student.lum.program.client.ProgramMsgConstants;
 10  
 import org.kuali.student.lum.program.client.ProgramSections;
 11  
 import org.kuali.student.lum.program.client.widgets.ProgramDocumentTool;
 12  
 
 13  
 /**
 14  
  * @author Igor
 15  
  */
 16  
 public class SupportingDocsEditConfiguration extends AbstractSectionConfiguration {
 17  
 
 18  0
     public SupportingDocsEditConfiguration(Configurer configurer) {
 19  0
         this.setConfigurer(configurer);
 20  0
         rootSection = new VerticalSectionView(ProgramSections.SUPPORTING_DOCUMENTS_EDIT, getLabel(ProgramMsgConstants.PROGRAM_MENU_SECTIONS_SUPPORTINGDOCUMENTS), ProgramConstants.PROGRAM_MODEL_ID);
 21  0
     }
 22  
 
 23  
     @Override
 24  
     protected void buildLayout() {
 25  0
         ProgramDocumentTool documentTool = new ProgramDocumentTool(ProgramSections.SUPPORTING_DOCUMENTS_EDIT, "Documents");
 26  0
         documentTool.setModelDefinition((DataModelDefinition) configurer.getModelDefinition());
 27  0
         documentTool.setController(((AbstractProgramConfigurer) configurer).getProgramController());
 28  0
         rootSection.addView(documentTool);
 29  0
     }
 30  
 }