org.kuali.student.lum.program.client.variation.edit
Class VariationEditController

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.kuali.student.common.ui.client.mvc.Controller
                  extended by org.kuali.student.common.ui.client.configurable.mvc.LayoutController
                      extended by org.kuali.student.common.ui.client.configurable.mvc.layouts.MenuSectionController
                          extended by org.kuali.student.lum.program.client.ProgramController
                              extended by org.kuali.student.lum.program.client.variation.VariationController
                                  extended by org.kuali.student.lum.program.client.variation.edit.VariationEditController
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, ContentNavLayoutController, DocumentLayoutController, ViewLayoutController, BreadcrumbSupport, HistorySupport, View

public class VariationEditController
extends VariationController

Author:
Igor

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
private  KSButton cancelButton
           
private  String currentId
           
private  KSButton saveButton
           
 
Fields inherited from class org.kuali.student.lum.program.client.ProgramController
configurer, eventBus, initialized, processBeforeShow, programModel, programRemoteService, reloadMetadata, sideBar, statusLabel
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.MenuSectionController
menuViewMap, viewMenuItemMap
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController
defaultView, name, startPopupView, startViewWindow, viewEnumMap, viewMap, viewType
 
Fields inherited from class org.kuali.student.common.ui.client.mvc.Controller
context, NO_OP_CALLBACK, parentController
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
VariationEditController(DataModel programModel, ViewContext viewContext, com.google.gwt.event.shared.HandlerManager eventBus, MajorEditController majorController)
           
 
Method Summary
protected  void configureView()
           
private  void doCancel()
           
protected  void doSave()
           
private  void doSave(Callback<Boolean> okToChange)
           
protected  void fireUpdateEvent(Callback<Boolean> okToChange)
           
private  void initHandlers()
           
protected  void navigateToParent()
           
private  void navigateToParent(ProgramSections parentSection)
           
protected  void resetModel()
           
private  void saveData(DataModel model)
           
 
Methods inherited from class org.kuali.student.lum.program.client.variation.VariationController
collectBreadcrumbNames, getProgramName, loadModel
 
Methods inherited from class org.kuali.student.lum.program.client.ProgramController
afterMetadataLoaded, beforeShow, beforeViewChange, createCommentPanel, createProgramRemoteService, getDataProperty, getProgramModel, getStringProperty, loadMetadata, loadMetadataCondition, onModelLoadedEvent, requestModel, resetFieldInteractionFlag, setHeaderTitle, setStatus, setViewContext
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.MenuSectionController
addButtonForView, addCommonButton, addCommonButton, addContentWidget, addMenu, addMenuItem, addSpecialMenuItem, addStartMenuItem, hideView, removeMenuNavigation, renderView, revealMenuItems, setContentInfo, setContentTitle, setContentWarning, setSideBarWidget, showNextViewOnMenu, showPrint, updateModel
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController
addStartViewPopup, addView, asWidget, beforeHide, checkForErrors, clear, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showDefaultView, showFirstView, showStartPopup, updateModelFromCurrentView, updateModelFromView
 
Methods inherited from class org.kuali.student.common.ui.client.mvc.Controller
addApplicationEventHandler, collectHistory, findController, fireApplicationEvent, fireNavigationEvent, getCurrentView, getCurrentViewEnum, getDefaultModelId, getHistoryToken, getParentController, getViewContext, onHistoryEvent, registerModel, requestModel, requestModel, resetCurrentView, setCurrentViewEnum, setDefaultModelId, setParentController, showView, showView
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.student.common.ui.client.configurable.mvc.layouts.ViewLayoutController
addStartViewPopup, addView, setDefaultView, showView
 
Methods inherited from interface org.kuali.student.common.ui.client.mvc.history.HistorySupport
collectHistory, onHistoryEvent
 

Field Detail

saveButton

private final KSButton saveButton

cancelButton

private final KSButton cancelButton

currentId

private String currentId
Constructor Detail

VariationEditController

public VariationEditController(DataModel programModel,
                               ViewContext viewContext,
                               com.google.gwt.event.shared.HandlerManager eventBus,
                               MajorEditController majorController)
Method Detail

initHandlers

private void initHandlers()

fireUpdateEvent

protected void fireUpdateEvent(Callback<Boolean> okToChange)
Overrides:
fireUpdateEvent in class ProgramController

doSave

private void doSave(Callback<Boolean> okToChange)

configureView

protected void configureView()
Overrides:
configureView in class VariationController

resetModel

protected void resetModel()
Overrides:
resetModel in class ProgramController

doCancel

private void doCancel()

doSave

protected void doSave()
Overrides:
doSave in class ProgramController

saveData

private void saveData(DataModel model)

navigateToParent

protected void navigateToParent()
Specified by:
navigateToParent in class VariationController

navigateToParent

private void navigateToParent(ProgramSections parentSection)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.