View Javadoc

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