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