1 | |
package org.kuali.student.lum.program.client.core; |
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.lum.program.client.ProgramController; |
8 | |
import org.kuali.student.lum.program.client.rpc.CoreProgramRpcService; |
9 | |
import org.kuali.student.lum.program.client.rpc.MajorDisciplineRpcServiceAsync; |
10 | |
import org.kuali.student.lum.program.client.widgets.ProgramSideBar; |
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
public class CoreController extends ProgramController { |
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
public CoreController(DataModel programModel, ViewContext viewContext, HandlerManager eventBus) { |
22 | 0 | super("CoreProgram", programModel, viewContext, eventBus); |
23 | 0 | sideBar = new ProgramSideBar(eventBus, ProgramSideBar.Type.CORE); |
24 | 0 | } |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
@Override |
30 | |
protected MajorDisciplineRpcServiceAsync createProgramRemoteService() { |
31 | 0 | return GWT.create(CoreProgramRpcService.class); |
32 | |
} |
33 | |
|
34 | |
@Override |
35 | |
protected void configureView() { |
36 | 0 | super.configureView(); |
37 | 0 | addContentWidget(createCommentPanel()); |
38 | 0 | } |
39 | |
|
40 | |
} |