Clover Coverage Report - Kuali Student 1.2-M6-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Sep 12 2011 05:03:53 EDT
../../../../../../../../../img/srcFileCovDistChart0.png 42% of files have more coverage
3   86   2   1.5
0   57   0.67   2
2     1  
1    
 
  VersionsReqController       Line # 73 3 0% 2 5 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
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    * This is a description of what this class does - Will Gomes don't forget to fill this in.
69    *
70    * @author Kuali Student Team
71    *
72    */
 
73    public class VersionsReqController extends TabMenuController implements HasRequirements{
74   
75    private final CourseRequirementsDataModel reqDataModel;
76   
 
77  0 toggle public VersionsReqController(VersionsController controller) {
78  0 super(CourseProposalController.class.getName());
79  0 reqDataModel = controller.getReqDataModel();
80    }
81   
 
82  0 toggle @Override
83    public CourseRequirementsDataModel getReqDataModel() {
84  0 return reqDataModel;
85    }
86    }