Coverage Report - org.kuali.student.lum.program.client.variation.view.VariationViewController
 
Classes in this File Line Coverage Branch Coverage Complexity
VariationViewController
0%
0/7
N/A
1
 
 1  
 package org.kuali.student.lum.program.client.variation.view;
 2  
 
 3  
 import com.google.gwt.core.client.GWT;
 4  
 import com.google.gwt.event.shared.HandlerManager;
 5  
 import org.kuali.student.common.ui.client.application.ViewContext;
 6  
 import org.kuali.student.common.ui.client.mvc.DataModel;
 7  
 import org.kuali.student.common.ui.client.mvc.history.HistoryManager;
 8  
 import org.kuali.student.lum.common.client.widgets.AppLocations;
 9  
 import org.kuali.student.lum.program.client.ProgramSections;
 10  
 import org.kuali.student.lum.program.client.major.MajorController;
 11  
 import org.kuali.student.lum.program.client.variation.VariationController;
 12  
 
 13  
 public class VariationViewController extends VariationController {
 14  
 
 15  
     public VariationViewController(DataModel programModel, ViewContext viewContext, HandlerManager eventBus, MajorController majorController) {
 16  0
         super(programModel, viewContext, eventBus, majorController);
 17  0
         configurer = GWT.create(VariationViewConfigurer.class);
 18  0
         setDefaultView(ProgramSections.VIEW_ALL);
 19  0
     }
 20  
 
 21  
     @Override
 22  
     protected void navigateToParent() {
 23  0
             String path = HistoryManager.appendContext(AppLocations.Locations.VIEW_PROGRAM.getLocation(), getViewContext()) + "/" + ProgramSections.SPECIALIZATIONS_VIEW;
 24  0
             HistoryManager.navigate(path);
 25  
         //HistoryManager.navigate(AppLocations.Locations.VIEW_PROGRAM.getLocation(), getViewContext());
 26  0
     }
 27  
 }