org.kuali.student.lum.lu.ui.tools.client.configuration
Class CluSetsManagementController
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.common.ui.client.configurable.mvc.layouts.BasicLayout
org.kuali.student.lum.lu.ui.tools.client.configuration.CluSetsManagementController
- All Implemented Interfaces:
- com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, ViewLayoutController, BreadcrumbSupport, HistorySupport, View
public class CluSetsManagementController
- extends BasicLayout
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, beforeViewChange, checkForErrors, clear, collectBreadcrumbNames, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, 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, 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 |
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 |
cluSetModel
private final DataModel cluSetModel
cluSetModelRequestQueue
private WorkQueue cluSetModelRequestQueue
mainView
private ClusetView mainView
createClusetView
private ClusetView createClusetView
editClusetView
private ClusetView editClusetView
viewClusetView
private ClusetView viewClusetView
initialized
private boolean initialized
cluSetManagementRpcServiceAsync
CluSetManagementRpcServiceAsync cluSetManagementRpcServiceAsync
CLUSET_MGT_MODEL
public static final String CLUSET_MGT_MODEL
- See Also:
- Constant Field Values
initializingTask
private final BlockingTask initializingTask
retrievingTask
private final BlockingTask retrievingTask
saving
private final BlockingTask saving
CluSetsManagementController
public CluSetsManagementController()
getMainView
public ClusetView getMainView()
showView
public <V extends Enum<?>> void showView(V viewType)
- Description copied from class:
Controller
- Simple Version of showView, no callback
- Specified by:
showView
in interface ViewLayoutController
- Overrides:
showView
in class Controller
- Type Parameters:
V
- view enum type- Parameters:
viewType
- enum value representing the view to show
afterModelLoaded
private void afterModelLoaded()
getButtonPanel
private com.google.gwt.user.client.ui.Widget getButtonPanel()
initialize
private void initialize()
init
private void init(Callback<Boolean> onReadyCallback)
init
private void init(DataModelDefinition modelDefinition)
renderView
protected void renderView(View view)
- Description copied from class:
Controller
- Must be implemented by the subclass to render the view.
- Overrides:
renderView
in class BasicLayout
requestModel
public void requestModel(Class modelType,
ModelRequestCallback callback)
- Description copied from class:
Controller
- Called by child views and controllers to request a model reference. By default it delegates calls to the parent
controller if one is found. Override this method to declare a model local to the controller. Always make sure to
delegate the call to the superclass if the requested type is not one which is defined locally. For example:
- Overrides:
requestModel
in class Controller
doSaveAction
public void doSaveAction(SaveActionEvent saveActionEvent)
saveModel
private void saveModel(DataModel dataModel,
SaveActionEvent saveActionEvent)
showDefaultView
public void showDefaultView(Callback<Boolean> onReadyCallback)
- Description copied from class:
Controller
- Shows the default view. Must be implemented by subclass, in order to define the default view.
- Overrides:
showDefaultView
in class LayoutController
beforeShow
public void beforeShow(Callback<Boolean> onReadyCallback)
- Description copied from class:
LayoutController
- Default implementation does nothing on before show. Override to do other things before THIS view is
shown.
- Specified by:
beforeShow
in interface View
- Overrides:
beforeShow
in class LayoutController
- See Also:
View.beforeShow(org.kuali.student.common.ui.client.mvc.Callback)
doShowDefaultView
private void doShowDefaultView(Callback<Boolean> onReadyCallback)
setParentController
public void setParentController(Controller controller)
- Description copied from class:
Controller
- Sets the controller's parent controller. In most cases, this can be omitted as the controller will be automatically
detected via the DOM in cases where it is not specified. The only time that the controller needs to be manually set is
in cases where the logical controller hierarchy differs from the physical DOM hierarchy. For example, if a nested
controller is rendered in a PopupPanel, then the parent controller must be set manually using this method
- Overrides:
setParentController
in class Controller
- Parameters:
controller
- the parent controller
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.