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 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
public class HomeView extends ViewComposite{ |
18 | |
|
19 | 0 | private SpanPanel container = new SpanPanel(); |
20 | |
|
21 | 0 | private ActionList actionListView = new ActionList(); |
22 | |
|
23 | |
public HomeView(Controller controller, Enum<?> viewType) { |
24 | 0 | super(controller, "", viewType); |
25 | 0 | container.add(actionListView); |
26 | |
|
27 | 0 | this.initWidget(container); |
28 | |
|
29 | 0 | } |
30 | |
|
31 | |
public void addWidget(Widget w){ |
32 | 0 | container.insert(w, container.getWidgetIndex(actionListView)); |
33 | 0 | } |
34 | |
|
35 | |
} |