View Javadoc

1   package org.kuali.student.lum.program.client.major;
2   
3   import com.google.gwt.event.shared.HandlerManager;
4   import org.kuali.student.common.ui.client.application.ViewContext;
5   import org.kuali.student.common.ui.client.mvc.DataModel;
6   import org.kuali.student.lum.program.client.ProgramController;
7   import org.kuali.student.lum.program.client.widgets.ProgramSideBar;
8   
9   /**
10   * @author Igor
11   */
12  public class MajorController extends ProgramController {
13  
14      /**
15       * Constructor.
16       *
17       * @param programModel
18       */
19      public MajorController(DataModel programModel, ViewContext viewContext, HandlerManager eventBus) {
20          super("Major", programModel, viewContext, eventBus);
21          sideBar = new ProgramSideBar(eventBus, ProgramSideBar.Type.MAJOR);
22      }
23  
24      @Override
25      protected void configureView() {
26          super.configureView();
27          addContentWidget(createCommentPanel());
28      }
29  }