org.kuali.student.lum.lu.ui.main.client.controllers
Class CurriculumHomeController
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.kuali.student.common.ui.client.mvc.Controller
org.kuali.student.common.ui.client.configurable.mvc.LayoutController
org.kuali.student.lum.lu.ui.main.client.controllers.CurriculumHomeController
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, ViewLayoutController, BreadcrumbSupport, HistorySupport, View, ReportExport
public class CurriculumHomeController
- extends LayoutController
Curriculum home controller which controls the main LayoutController views of the lum application. The
default view of this controller is the Curriculum Home Landing page. The following views are views within
this controller's scope:
COURSE_PROPOSAL
VIEW_COURSE
PROGRAM_VIEW
PROGRAM_EDIT
PROGRAM_CREATE
PROGRAM_VERSIONS
CLU_SETS
VARIATION_VIEW
VARIATION_EDIT
COURSE_CATALOG
LO_CATEGORIES
BACC_PROGRAM_VIEW
BACC_PROGRAM_EDIT
BACC_PROGRAM_VERSIONS
CORE_PROGRAM_VIEW
CORE_PROGRAM_EDIT
CORE_PROGRAM_VERSIONS
These views can be accessed through links and searches provided by the CurriculumHomeView (the default view).
- Author:
- Kuali Student Team
- See Also:
CurriculumHomeView
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController |
addStartViewPopup, addView, asWidget, beforeHide, beforeShow, beforeViewChange, checkForErrors, clear, clearAllWarnings, collectBreadcrumbNames, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, isExportButtonActive, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showDefaultView, showExport, showFirstView, showStartPopup, showWarnings, updateModelFromCurrentView, updateModelFromView |
Methods inherited from class org.kuali.student.common.ui.client.mvc.Controller |
addApplicationEventHandler, collectHistory, doReportExport, findController, fireApplicationEvent, fireNavigationEvent, getCurrentView, getCurrentViewEnum, getDefaultModelId, getExportDataModel, getExportElementsFromView, getExportTemplateName, getHistoryToken, getParentController, getViewContext, onHistoryEvent, registerModel, requestModel, requestModel, requestModel, resetCurrentView, setCurrentViewEnum, setDefaultModelId, setParentController, setViewContext, 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 |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
home
private CurriculumHomeView home
panel
private final SpanPanel panel
courseProposalController
private CourseProposalController courseProposalController
courseAdminController
private CourseAdminController courseAdminController
courseAdminWithoutVersionController
private CourseAdminWithoutVersionController courseAdminWithoutVersionController
courseAdminRetireController
private CourseAdminRetireController courseAdminRetireController
viewCourseController
private LayoutController viewCourseController
manageCluSetsController
private LayoutController manageCluSetsController
browseCatalogController
private LayoutController browseCatalogController
dependencyAnalysisController
private LayoutController dependencyAnalysisController
browseProgramController
private LayoutController browseProgramController
majorManager
private MajorManager majorManager
credentialManager
private CredentialManager credentialManager
coreManager
private CoreManager coreManager
CurriculumHomeController
public CurriculumHomeController()
CurriculumHomeController
public CurriculumHomeController(Controller controller,
String name,
Enum<?> viewType)
setupDefaultView
private void setupDefaultView()
getView
public <V extends Enum<?>> void getView(V viewType,
Callback<View> callback,
Map<String,String> tokenMap)
- Description copied from class:
Controller
- Returns the view associated with the specified enum value. See showView(V viewType) above for a full description
defaults to the abstract get view method unless overridden
- Overrides:
getView
in class Controller
tokenMap
- optionally passed in token map if you need tokens from the history manager
getCategoryManagementController
protected View getCategoryManagementController()
getCourseProposalController
private CourseProposalController getCourseProposalController()
getCourseAdminController
private CourseAdminController getCourseAdminController()
getCourseAdminRetireController
private CourseAdminWithoutVersionController getCourseAdminRetireController()
getCourseAdminWithoutVersionController
private CourseAdminWithoutVersionController getCourseAdminWithoutVersionController()
getViewCourseController
private LayoutController getViewCourseController()
getCluSetsController
private LayoutController getCluSetsController()
getBrowseCatalogController
private LayoutController getBrowseCatalogController()
getDependencyAnalysisController
private LayoutController getDependencyAnalysisController()
getBrowseProgramController
private LayoutController getBrowseProgramController()
hideView
protected void hideView(View view)
- Description copied from class:
Controller
- Must be implemented by the subclass to hide the view.
- Specified by:
hideView
in class Controller
renderView
protected void renderView(View view)
- Description copied from class:
Controller
- Must be implemented by the subclass to render the view.
- Specified by:
renderView
in class Controller
getViewEnumValue
public Enum<?> getViewEnumValue(String enumValue)
- Overrides:
getViewEnumValue
in class LayoutController
updateModel
public void updateModel()
- Description copied from interface:
View
- Updates the model with information from this view. If this view does not need to update the model
leave this method empty.
- Specified by:
updateModel
in interface View
- Specified by:
updateModel
in class LayoutController
- See Also:
View.updateModel()
showView
public <V extends Enum<?>> void showView(V viewType,
Callback<Boolean> onReadyCallback)
- Description copied from class:
Controller
- Directs the controller to display the specified view. The parameter must be an enum value, based on an enum defined in
the controller implementation. For example, a "Search" controller might have an enumeration of:
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.
- Overrides:
showView
in class Controller
- Type Parameters:
V
- view enum type- Parameters:
viewType
- enum value representing the view to showonReadyCallback
- the callback to invoke when the method has completed execution
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.