public class VariationEditController extends VariationController
majorController
configurer, eventBus, initialized, lastLoadedStatus, processBeforeShow, programModel, programRemoteService, reloadMetadata, sideBar, statusLabel
leftPanel, menu, menuViewMap, rightPanel, topLevelMenuItems, viewMenuItemMap
defaultView, name, startPopupView, startViewWindow, viewEnumMap, viewMap, viewType
context, NO_OP_CALLBACK, parentController
exportTemplateName
Constructor and Description |
---|
VariationEditController(DataModel programModel,
ViewContext viewContext,
com.google.gwt.event.shared.HandlerManager eventBus,
MajorController majorController) |
Modifier and Type | Method and Description |
---|---|
void |
beforeShow(Callback<Boolean> onReadyCallback)
Got invoked by framework before showing the view of the controller.
|
protected void |
configureView() |
protected void |
doSave() |
protected void |
fireUpdateEvent(Callback<Boolean> okToChange) |
protected void |
navigateToParent() |
protected void |
resetModel() |
<V extends Enum<?>> |
showView(V viewType,
Callback<Boolean> onReadyCallback)
Directs the controller to display the specified view.
|
collectBreadcrumbNames, getProgramName, loadModel
afterMetadataLoaded, beforeViewChange, createCommentPanel, createProgramRemoteService, getDataProperty, getExportElementsFromView, getExportTemplateName, getLabel, getLabel, getProgramModel, getStringProperty, isExportButtonActive, loadMetadata, loadMetadataCondition, onModelLoadedEvent, refreshModelAndView, requestModel, resetFieldInteractionFlag, setHeaderTitle, setStatus, setViewContext, updateState
addButtonForView, addCommonButton, addCommonButton, addContentWidget, addInfoWidget, addMenu, addMenuItem, addSpecialMenuItem, addStartMenuItem, addStyleName, addTopButtonForView, hideView, removeMenuNavigation, renderView, revealMenuItems, setContentInfo, setContentTitle, setContentWarning, setSideBarWidget, showExport, showNextViewOnMenu, showPrint, updateModel
addStartViewPopup, addView, asWidget, beforeHide, checkForErrors, clear, clearAllWarnings, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showDefaultView, showFirstView, showStartPopup, showWarnings, updateModelFromCurrentView, updateModelFromView
addApplicationEventHandler, beginShowView, collectHistory, doReportExport, finalizeShowView, findController, fireApplicationEvent, fireNavigationEvent, getCurrentView, getCurrentViewEnum, getDefaultModelId, getExportDataModel, getHistoryToken, getParentController, getView, getViewContext, onHistoryEvent, registerModel, requestModel, requestModel, resetCurrentView, setCurrentViewEnum, setDefaultModelId, setParentController, showView
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addStartViewPopup, addView, setDefaultView, showView
collectHistory, onHistoryEvent
public VariationEditController(DataModel programModel, ViewContext viewContext, com.google.gwt.event.shared.HandlerManager eventBus, MajorController majorController)
protected void fireUpdateEvent(Callback<Boolean> okToChange)
fireUpdateEvent
in class ProgramController
protected void configureView()
configureView
in class VariationController
protected void resetModel()
resetModel
in class ProgramController
protected void doSave()
doSave
in class ProgramController
protected void navigateToParent()
navigateToParent
in class VariationController
public void beforeShow(Callback<Boolean> onReadyCallback)
ProgramController
beforeShow
in interface View
beforeShow
in class ProgramController
View.beforeShow(org.kuali.student.common.ui.client.mvc.Callback)
public <V extends Enum<?>> void showView(V viewType, Callback<Boolean> onReadyCallback)
Controller
public enum SearchViews {
SIMPLE_SEARCH,
ADVANCED_SEARCH,
SEARCH_RESULTS
}
The implementing class must define a getView(V viewType) method that will cast the generic enum to the view
specific enum.showView
in class Controller
V
- view enum typeviewType
- enum value representing the view to showonReadyCallback
- the callback to invoke when the method has completed executionCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.