1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.ui.course.client.controllers; |
17 | |
|
18 | |
import java.util.ArrayList; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.student.common.assembly.data.Data; |
22 | |
import org.kuali.student.common.assembly.data.Metadata; |
23 | |
import org.kuali.student.common.dto.DtoConstants; |
24 | |
import org.kuali.student.common.rice.authorization.PermissionType; |
25 | |
import org.kuali.student.common.ui.client.application.Application; |
26 | |
import org.kuali.student.common.ui.client.application.KSAsyncCallback; |
27 | |
import org.kuali.student.common.ui.client.application.ViewContext; |
28 | |
import org.kuali.student.common.ui.client.configurable.mvc.layouts.DocumentLayoutController; |
29 | |
import org.kuali.student.common.ui.client.configurable.mvc.layouts.TabMenuController; |
30 | |
import org.kuali.student.common.ui.client.mvc.Callback; |
31 | |
import org.kuali.student.common.ui.client.mvc.DataModel; |
32 | |
import org.kuali.student.common.ui.client.mvc.DataModelDefinition; |
33 | |
import org.kuali.student.common.ui.client.mvc.ModelProvider; |
34 | |
import org.kuali.student.common.ui.client.mvc.ModelRequestCallback; |
35 | |
import org.kuali.student.common.ui.client.mvc.WorkQueue; |
36 | |
import org.kuali.student.common.ui.client.mvc.WorkQueue.WorkItem; |
37 | |
import org.kuali.student.common.ui.client.mvc.dto.ReferenceModel; |
38 | |
import org.kuali.student.common.ui.client.util.WindowTitleUtils; |
39 | |
import org.kuali.student.common.ui.client.widgets.KSButton; |
40 | |
import org.kuali.student.common.ui.client.widgets.KSLabel; |
41 | |
import org.kuali.student.common.ui.client.widgets.KSLightBox; |
42 | |
import org.kuali.student.common.ui.client.widgets.KSButtonAbstract.ButtonStyle; |
43 | |
import org.kuali.student.common.ui.client.widgets.notification.KSNotification; |
44 | |
import org.kuali.student.common.ui.client.widgets.notification.KSNotifier; |
45 | |
import org.kuali.student.common.ui.client.widgets.progress.BlockingTask; |
46 | |
import org.kuali.student.common.ui.client.widgets.progress.KSBlockingProgressIndicator; |
47 | |
import org.kuali.student.common.ui.shared.IdAttributes.IdType; |
48 | |
import org.kuali.student.core.statement.dto.StatementTypeInfo; |
49 | |
import org.kuali.student.lum.common.client.helpers.RecentlyViewedHelper; |
50 | |
import org.kuali.student.lum.lu.ui.course.client.configuration.CourseProposalConfigurer; |
51 | |
import org.kuali.student.lum.lu.ui.course.client.configuration.ViewCourseConfigurer; |
52 | |
import org.kuali.student.lum.lu.ui.course.client.configuration.CourseProposalConfigurer.CourseSections; |
53 | |
import org.kuali.student.lum.lu.ui.course.client.requirements.CourseRequirementsDataModel; |
54 | |
import org.kuali.student.lum.lu.ui.course.client.requirements.HasRequirements; |
55 | |
import org.kuali.student.lum.lu.ui.course.client.service.CourseRpcService; |
56 | |
import org.kuali.student.lum.lu.ui.course.client.service.CourseRpcServiceAsync; |
57 | |
import org.kuali.student.lum.lu.ui.course.client.widgets.CourseWorkflowActionList; |
58 | |
|
59 | |
import com.google.gwt.core.client.GWT; |
60 | |
import com.google.gwt.event.dom.client.ClickEvent; |
61 | |
import com.google.gwt.event.dom.client.ClickHandler; |
62 | |
import com.google.gwt.event.logical.shared.CloseEvent; |
63 | |
import com.google.gwt.event.logical.shared.CloseHandler; |
64 | |
import com.google.gwt.user.client.Window; |
65 | |
import com.google.gwt.user.client.ui.Widget; |
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
public class VersionsReqController extends TabMenuController implements HasRequirements{ |
74 | |
|
75 | |
private final CourseRequirementsDataModel reqDataModel; |
76 | |
|
77 | |
public VersionsReqController(VersionsController controller) { |
78 | 0 | super(CourseProposalController.class.getName()); |
79 | 0 | reqDataModel = controller.getReqDataModel(); |
80 | 0 | } |
81 | |
|
82 | |
@Override |
83 | |
public CourseRequirementsDataModel getReqDataModel() { |
84 | 0 | return reqDataModel; |
85 | |
} |
86 | |
} |