org.kuali.student.lum.lu.ui.dependency.client.views
Class DependencyAnalysisView

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.ViewComposite
                  extended by org.kuali.student.lum.lu.ui.dependency.client.views.DependencyAnalysisView
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, BreadcrumbSupport, HistorySupport, View

public class DependencyAnalysisView
extends ViewComposite


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 static CluSetRetriever cluSetRetriever
           
private  VerticalFieldLayout container
           
protected  KSFilterOptions dependencyFilter
           
protected  DependencyResultPanel depResultPanel
           
protected  DependencyAnalysisRpcServiceAsync depRpcServiceAsync
           
private  KSDocumentHeader header
           
protected  boolean initialized
           
protected  BlockingTask initializingTask
           
private  BlockingTask loadDataTask
           
protected  MetadataRpcServiceAsync metadataServiceAsync
           
protected  HorizontalBlockFlowPanel resultContainer
           
private  ModelDefinition searchDefinition
           
protected  SearchRpcServiceAsync searchServiceAsync
           
protected  String selectedCourseCd
           
protected  String selectedCourseId
           
protected  String selectedCourseName
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
DependencyAnalysisView(Controller controller)
           
 
Method Summary
 void beforeShow(Callback<Boolean> onReadyCallback)
          Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be done.
private  void findCluSetIds(StatementTreeViewInfo rule, Set<String> list)
           
protected  Map<String,com.google.gwt.user.client.ui.Widget> getCluSetWidgetList(StatementTreeViewInfo rule)
           
private  VerticalFieldLayout getDependencyDetails(String dependencySectionKey, String dependencyType, String cluCode, String rootId, String reqComponentIds)
           
private  SpanPanel getDependencyLabel(String dependencySectionKey, String dependencyType, String cluId, String cluCode, String cluName, String cluType, boolean diffAdminOrg, String parentCluId)
           
private  SpanPanel getDependencyTypeLabel(String dependencySectionKey, String dependencyType, String dependencyTypeName)
           
 DependencyResultPanel getDepResultPanel()
           
 KSDocumentHeader getHeader()
           
private  String getTotalCreditsString(int min, int max)
           
protected  boolean hasDependencyDetails(String dependencyType)
           
protected  void init()
           
 boolean isExportButtonActive()
          This method needs to be implemented only on views that want the export button to display.
protected  void updateDependencyResults()
           
 
Methods inherited from class org.kuali.student.common.ui.client.mvc.ViewComposite
asWidget, beforeHide, clear, collectBreadcrumbNames, collectHistory, getController, getName, getViewEnum, onHistoryEvent, showExport, updateModel
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cluSetRetriever

private static CluSetRetriever cluSetRetriever

initializingTask

protected final BlockingTask initializingTask

depRpcServiceAsync

protected DependencyAnalysisRpcServiceAsync depRpcServiceAsync

metadataServiceAsync

protected MetadataRpcServiceAsync metadataServiceAsync

searchServiceAsync

protected SearchRpcServiceAsync searchServiceAsync

searchDefinition

private ModelDefinition searchDefinition

container

private VerticalFieldLayout container

initialized

protected boolean initialized

selectedCourseId

protected String selectedCourseId

selectedCourseCd

protected String selectedCourseCd

selectedCourseName

protected String selectedCourseName

depResultPanel

protected DependencyResultPanel depResultPanel

dependencyFilter

protected KSFilterOptions dependencyFilter

resultContainer

protected HorizontalBlockFlowPanel resultContainer

loadDataTask

private final BlockingTask loadDataTask

header

private KSDocumentHeader header
Constructor Detail

DependencyAnalysisView

public DependencyAnalysisView(Controller controller)
Method Detail

beforeShow

public void beforeShow(Callback<Boolean> onReadyCallback)
Description copied from class: ViewComposite
Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be done.

Specified by:
beforeShow in interface View
Overrides:
beforeShow in class ViewComposite

init

protected void init()

updateDependencyResults

protected void updateDependencyResults()

getDependencyDetails

private VerticalFieldLayout getDependencyDetails(String dependencySectionKey,
                                                 String dependencyType,
                                                 String cluCode,
                                                 String rootId,
                                                 String reqComponentIds)

getDependencyTypeLabel

private SpanPanel getDependencyTypeLabel(String dependencySectionKey,
                                         String dependencyType,
                                         String dependencyTypeName)

getDependencyLabel

private SpanPanel getDependencyLabel(String dependencySectionKey,
                                     String dependencyType,
                                     String cluId,
                                     String cluCode,
                                     String cluName,
                                     String cluType,
                                     boolean diffAdminOrg,
                                     String parentCluId)

hasDependencyDetails

protected boolean hasDependencyDetails(String dependencyType)

getTotalCreditsString

private String getTotalCreditsString(int min,
                                     int max)

getCluSetWidgetList

protected Map<String,com.google.gwt.user.client.ui.Widget> getCluSetWidgetList(StatementTreeViewInfo rule)

findCluSetIds

private void findCluSetIds(StatementTreeViewInfo rule,
                           Set<String> list)

getHeader

public KSDocumentHeader getHeader()

isExportButtonActive

public boolean isExportButtonActive()
Description copied from interface: View
This method needs to be implemented only on views that want the export button to display. The default implementation is not to display the export button

Specified by:
isExportButtonActive in interface View
Overrides:
isExportButtonActive in class ViewComposite
Returns:

getDepResultPanel

public DependencyResultPanel getDepResultPanel()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.