org.kuali.student.lum.lu.ui.course.client.requirements
Class CourseRequirementsManageView
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
org.kuali.student.common.ui.client.widgets.field.layout.element.SpanPanel
org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection
org.kuali.student.common.ui.client.configurable.mvc.views.SectionView
org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView
org.kuali.student.lum.lu.ui.course.client.requirements.CourseRequirementsManageView
- All Implemented Interfaces:
- com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, Iterable<com.google.gwt.user.client.ui.Widget>, HasLayoutController, Section, BreadcrumbSupport, HistorySupport, View
public class CourseRequirementsManageView
- extends VerticalSectionView
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.views.SectionView |
addView, asWidget, beforeHide, collectBreadcrumbNames, collectHistory, getController, getModel, getModelId, getName, getViewEnum, onHistoryEvent, setController, setModelId, setName, setViewEnum, toString, updateMetadata, updateView, updateView |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection |
add, addField, addSection, addSection, addStyleName, addWidget, clearValidation, enableValidation, ensureDirtyFlagPath, getField, getFields, getLayout, getLayoutController, getSection, getSections, getUnnestedFields, isValidationEnabled, processValidationResults, processValidationResults, removeField, removeField, removeSection, removeSection, removeWidget, removeWidget, resetDirtyFlags, resetFieldInteractionFlags, setFieldHasHadFocusFlags, setHelp, setInstructions, setIsDirty, setLayoutController, setRequired, setStyleName, updateModel, updateWidgetData |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
adopt, adopt, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
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, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, unsinkEvents |
statementRpcServiceAsync
private StatementRpcServiceAsync statementRpcServiceAsync
metadataServiceAsync
private MetadataRpcServiceAsync metadataServiceAsync
luRpcServiceAsync
private LuRpcServiceAsync luRpcServiceAsync
TEMLATE_LANGUAGE
protected static final String TEMLATE_LANGUAGE
- See Also:
- Constant Field Values
RULEEDIT_TEMLATE
protected static final String RULEEDIT_TEMLATE
- See Also:
- Constant Field Values
RULEPREVIEW_TEMLATE
protected static final String RULEPREVIEW_TEMLATE
- See Also:
- Constant Field Values
COMPOSITION_TEMLATE
protected static final String COMPOSITION_TEMLATE
- See Also:
- Constant Field Values
LU_NAMESPACE
private static final String LU_NAMESPACE
- See Also:
- Constant Field Values
CLU_NAMESPACE_URI
private static final String CLU_NAMESPACE_URI
- See Also:
- Constant Field Values
parentController
private CourseRequirementsViewController parentController
layout
private com.google.gwt.user.client.ui.VerticalPanel layout
editReqCompWidget
private ReqCompEditWidget editReqCompWidget
ruleManageWidget
private RuleManageWidget ruleManageWidget
twiddlerPanel
private com.google.gwt.user.client.ui.SimplePanel twiddlerPanel
actionCancelButtons
private ActionCancelGroup actionCancelButtons
rule
private StatementTreeViewInfo rule
isInitialized
private boolean isInitialized
isNewRule
private boolean isNewRule
editedReqCompInfo
private ReqComponentInfo editedReqCompInfo
tempStmtTreeViewInfoID
private static int tempStmtTreeViewInfoID
internalCourseReqID
private Integer internalCourseReqID
originalReqCompNL
private String originalReqCompNL
originalLogicExpression
private String originalLogicExpression
userClickedSaveButton
private boolean userClickedSaveButton
creatingRuleTask
private BlockingTask creatingRuleTask
editReqCompCallback
protected Callback<ReqComponentInfo> editReqCompCallback
ruleChangedCallback
protected Callback<Boolean> ruleChangedCallback
actionButtonClickedReqCompCallback
protected Callback<ReqComponentInfoUi> actionButtonClickedReqCompCallback
newReqCompSelectedCallbackCallback
protected Callback<ReqComponentInfo> newReqCompSelectedCallbackCallback
retrieveCompositionTemplateCallback
protected Callback<ReqComponentInfo> retrieveCompositionTemplateCallback
retrieveFieldsMetadataCallback
protected Callback<List<String>> retrieveFieldsMetadataCallback
retrieveCustomWidgetCallback
protected Callback<String> retrieveCustomWidgetCallback
CourseRequirementsManageView
public CourseRequirementsManageView(CourseRequirementsViewController parentController,
Enum<?> viewEnum,
String name,
String modelId)
beforeShow
public void beforeShow(Callback<Boolean> onReadyCallback)
- Description copied from class:
SectionView
- Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be
done.
In SectionView, the section is cleared of all validation errors, the model is requested from its parent
controller, the widgets are updated with the latest data, and beforeShow is called on all of its potential child
views.
- Specified by:
beforeShow
in interface View
- Overrides:
beforeShow
in class SectionView
setupHandlers
private void setupHandlers()
draw
private void draw()
displaySaveButton
private void displaySaveButton()
setRuleTree
public void setRuleTree(StatementTreeViewInfo stmtTreeInfo,
boolean newRuleFlag,
Integer internalCourseReqID)
getRuleTree
public StatementTreeViewInfo getRuleTree()
isNewRule
public boolean isNewRule()
setEnabled
protected void setEnabled(boolean enabled)
isDirty
public boolean isDirty()
- Description copied from class:
BaseSection
- Returns true if this this section is considered dirty (the user may have entered data into this
section)
- Specified by:
isDirty
in interface Section
- Overrides:
isDirty
in class BaseSection
- See Also:
Section.isDirty()
getAllReqCompNLs
private String getAllReqCompNLs()
retrieveAndSetupReqCompTypes
private void retrieveAndSetupReqCompTypes()
getCustomWidgets
private Map<String,com.google.gwt.user.client.ui.Widget> getCustomWidgets(List<ReqComponentTypeInfo> reqComponentTypeInfoList)
isUserClickedSaveButton
public boolean isUserClickedSaveButton()
setUserClickedSaveButton
public void setUserClickedSaveButton(boolean userClickedSaveButton)
getInternalCourseReqID
public Integer getInternalCourseReqID()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.