org.broadleafcommerce.openadmin.client.presenter.entity
Class DynamicColumnTreePresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
      extended by org.broadleafcommerce.openadmin.client.presenter.entity.DynamicColumnTreePresenter
All Implemented Interfaces:
EntityPresenter

public abstract class DynamicColumnTreePresenter
extends AbstractEntityPresenter

Author:
jfischer

Field Summary
protected  com.google.gwt.event.shared.HandlerRegistration addClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration cellSavedHandlerRegistration
           
protected  Boolean disabled
           
protected  DynamicEditColumnTreeDisplay display
           
protected  com.google.gwt.event.shared.HandlerRegistration entityTypeChangedHandlerRegistration
           
protected  DynamicFormPresenter formPresenter
           
protected  Map<String,Object> initialValues
           
protected  com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord
           
protected  Boolean loaded
           
protected  PresenterSequenceSetupManager presenterSequenceSetupManager
           
protected  com.google.gwt.event.shared.HandlerRegistration removeClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
defaultItemId, eventBus
 
Constructor Summary
DynamicColumnTreePresenter()
           
 
Method Summary
protected  void addClicked()
           
protected  void addClicked(String newItemTitle)
           
protected  void addNewItem(String newItemTitle)
           
 void bind()
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
protected  Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)
           
 void disable()
           
 void enable()
           
 com.google.gwt.event.shared.HandlerRegistration getAddClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getCellSavedHandlerRegistration()
           
 DynamicEditColumnTreeDisplay getDisplay()
           
 com.google.gwt.event.shared.HandlerRegistration getEntityTypeChangedHandlerRegistration()
           
 Boolean getLoaded()
           
 PresenterSequenceSetupManager getPresenterSequenceSetupManager()
           
 com.google.gwt.event.shared.HandlerRegistration getRemoveClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
           
 void postSetup(com.smartgwt.client.widgets.Canvas container)
           
protected  void removeClicked()
           
 void setAddNewItemTitle(String newItemTitle)
           
 void setDisplay(Display display)
           
 void setFetchAfterAddCriteria(com.smartgwt.client.data.Criteria criteria)
           
 void setGridFields(String[] gridFields)
           
 void setReadOnly(Boolean readOnly)
           
 void setStartState()
           
protected  void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource, com.smartgwt.client.data.DataSource... additionalDataSources)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
getDefaultItemId, getEventBus, setDefaultItemId, setEventBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.broadleafcommerce.openadmin.client.presenter.entity.EntityPresenter
setup
 

Field Detail

display

protected DynamicEditColumnTreeDisplay display

lastSelectedRecord

protected com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord

loaded

protected Boolean loaded

formPresenter

protected DynamicFormPresenter formPresenter

selectionChangedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration

removeClickHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration removeClickHandlerRegistration

addClickHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration addClickHandlerRegistration

entityTypeChangedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration entityTypeChangedHandlerRegistration

cellSavedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration cellSavedHandlerRegistration

presenterSequenceSetupManager

protected PresenterSequenceSetupManager presenterSequenceSetupManager

disabled

protected Boolean disabled

initialValues

protected Map<String,Object> initialValues
Constructor Detail

DynamicColumnTreePresenter

public DynamicColumnTreePresenter()
Method Detail

setStartState

public void setStartState()

enable

public void enable()

disable

public void disable()

setReadOnly

public void setReadOnly(Boolean readOnly)

bind

public void bind()

postSetup

public void postSetup(com.smartgwt.client.widgets.Canvas container)

containsDisplay

protected Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)

getDisplay

public DynamicEditColumnTreeDisplay getDisplay()

setDisplay

public void setDisplay(Display display)

setupDisplayItems

protected void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource,
                                 com.smartgwt.client.data.DataSource... additionalDataSources)

changeSelection

protected void changeSelection(com.smartgwt.client.data.Record selectedRecord)

addClicked

protected void addClicked(String newItemTitle)

addNewItem

protected void addNewItem(String newItemTitle)

addClicked

protected void addClicked()

removeClicked

protected void removeClicked()

getSelectionChangedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()

getRemoveClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getRemoveClickHandlerRegistration()

getAddClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getAddClickHandlerRegistration()

getEntityTypeChangedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getEntityTypeChangedHandlerRegistration()

getCellSavedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getCellSavedHandlerRegistration()

getPresenterSequenceSetupManager

public PresenterSequenceSetupManager getPresenterSequenceSetupManager()

getLoaded

public Boolean getLoaded()

setAddNewItemTitle

public void setAddNewItemTitle(String newItemTitle)

setFetchAfterAddCriteria

public void setFetchAfterAddCriteria(com.smartgwt.client.data.Criteria criteria)

setGridFields

public void setGridFields(String[] gridFields)


Copyright © 2013. All Rights Reserved.