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 | HistoryManager.navigate(AppLocations.Locations.VIEW_PROGRAM.getLocation(), getViewContext()); |
24 | 0 | } |
25 | |
} |