1 | |
package org.kuali.student.lum.lu.ui.main.client.views; |
2 | |
|
3 | |
import org.kuali.student.common.ui.client.mvc.Controller; |
4 | |
import org.kuali.student.common.ui.client.mvc.ViewComposite; |
5 | |
import org.kuali.student.common.ui.client.widgets.field.layout.element.SpanPanel; |
6 | |
import org.kuali.student.lum.lu.ui.course.client.controllers.CurriculumHomeController.LUMViews; |
7 | |
import org.kuali.student.lum.lu.ui.main.client.widgets.ActionList; |
8 | |
|
9 | |
import com.google.gwt.user.client.ui.Widget; |
10 | |
|
11 | |
public class HomeView extends ViewComposite{ |
12 | |
|
13 | 0 | private SpanPanel container = new SpanPanel(); |
14 | |
|
15 | 0 | private ActionList actionListView = new ActionList(); |
16 | |
|
17 | |
public HomeView(Controller controller, Enum<?> viewType) { |
18 | 0 | super(controller, "", viewType); |
19 | 0 | container.add(actionListView); |
20 | |
|
21 | 0 | this.initWidget(container); |
22 | |
|
23 | 0 | } |
24 | |
|
25 | |
public void addWidget(Widget w){ |
26 | 0 | container.insert(w, container.getWidgetIndex(actionListView)); |
27 | 0 | } |
28 | |
|
29 | |
} |