1 | |
package org.kuali.student.lum.program.client.credential; |
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.CredentialProgramRpcService; |
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 CredentialController extends ProgramController { |
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
public CredentialController(DataModel programModel, ViewContext viewContext, HandlerManager eventBus) { |
22 | 0 | super("Bacc", programModel, viewContext, eventBus); |
23 | 0 | sideBar = new ProgramSideBar(eventBus, ProgramSideBar.Type.CREDENTIAL); |
24 | 0 | } |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
@Override |
30 | |
protected MajorDisciplineRpcServiceAsync createProgramRemoteService() { |
31 | 0 | return GWT.create(CredentialProgramRpcService.class); |
32 | |
} |
33 | |
|
34 | |
@Override |
35 | |
protected void configureView() { |
36 | 0 | super.configureView(); |
37 | 0 | addContentWidget(createCommentPanel()); |
38 | 0 | } |
39 | |
} |