Coverage Report - org.kuali.student.lum.program.client.core.view.CoreRequirementsViewConfiguration
 
Classes in this File Line Coverage Branch Coverage Complexity
CoreRequirementsViewConfiguration
0%
0/10
0%
0/4
1.667
 
 1  
 package org.kuali.student.lum.program.client.core.view;
 2  
 
 3  
 import org.kuali.student.common.ui.client.configurable.mvc.Configurer;
 4  
 import org.kuali.student.common.ui.client.mvc.Controller;
 5  
 import org.kuali.student.lum.common.client.configuration.AbstractControllerConfiguration;
 6  
 import org.kuali.student.lum.program.client.ProgramMsgConstants;
 7  
 import org.kuali.student.lum.program.client.ProgramSections;
 8  
 import org.kuali.student.lum.program.client.core.CoreEditableHeader;
 9  
 import org.kuali.student.lum.program.client.core.CoreManager;
 10  
 import org.kuali.student.lum.program.client.requirements.ProgramRequirementsViewController;
 11  
 
 12  
 public class CoreRequirementsViewConfiguration extends AbstractControllerConfiguration {
 13  
 
 14  
     private ProgramRequirementsViewController progReqcontroller;
 15  
 
 16  0
     public CoreRequirementsViewConfiguration(Configurer configurer, boolean special) {
 17  0
         this.setConfigurer(configurer);
 18  0
         progReqcontroller = new ProgramRequirementsViewController(controller, CoreManager.getEventBus(),
 19  
                                     getLabel(ProgramMsgConstants.PROGRAM_MENU_SECTIONS_REQUIREMENTS), ProgramSections.PROGRAM_REQUIREMENTS_VIEW,
 20  
                                     true, (special ? new CoreEditableHeader(getLabel(ProgramMsgConstants.PROGRAM_MENU_SECTIONS_REQUIREMENTS), 
 21  
                                             ProgramSections.PROGRAM_REQUIREMENTS_EDIT) : null));
 22  0
         rootSection = progReqcontroller.getProgramRequirementsView();
 23  0
     }
 24  
 
 25  
     @Override
 26  
     protected void buildLayout() {
 27  0
     }
 28  
 
 29  
     @Override
 30  
     public void setController(Controller controller) {
 31  0
         this.controller = controller;
 32  0
         if (progReqcontroller != null) {
 33  0
             progReqcontroller.setParentController(controller);
 34  
         }
 35  0
     }
 36  
 }