Coverage Report - org.kuali.student.lum.program.client.core.edit.CoreRequirementsEditConfiguration
 
Classes in this File Line Coverage Branch Coverage Complexity
CoreRequirementsEditConfiguration
0%
0/10
0%
0/2
1.2
 
 1  
 package org.kuali.student.lum.program.client.core.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.core.CoreManager;
 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  
 
 13  0
 public class CoreRequirementsEditConfiguration extends AbstractControllerConfiguration {
 14  
 
 15  
     private ProgramRequirementsViewController progReqcontroller;
 16  
 
 17  
     @Override
 18  
     public View getView() {
 19  0
         progReqcontroller = new ProgramRequirementsViewController(controller, CoreManager.getEventBus(), 
 20  
                                     ProgramProperties.get().program_menu_sections_requirements(), ProgramSections.PROGRAM_REQUIREMENTS_EDIT, false, null);
 21  0
         return progReqcontroller;
 22  
     }
 23  
 
 24  
     @Override
 25  
     protected void buildLayout() {
 26  0
     }
 27  
 
 28  
     @Override
 29  
     public void setController(Controller controller) {
 30  0
         this.controller = controller;
 31  0
         if (progReqcontroller != null) {
 32  0
             progReqcontroller.setParentController(controller);
 33  
         }
 34  0
     }
 35  
 
 36  
     @Override
 37  
     public Widget asWidget() {
 38  0
         return controller;
 39  
     }
 40  
 
 41  
     @Override
 42  
     public Enum<?> getName() {
 43  0
         return ProgramSections.PROGRAM_REQUIREMENTS_EDIT;
 44  
     }
 45  
 }