org.broadleafcommerce.openadmin.client.presenter.structure
Class MapStructurePresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.entity.AbstractSubPresentable
      extended by org.broadleafcommerce.openadmin.client.presenter.structure.MapStructurePresenter
All Implemented Interfaces:
SubPresentable

public class MapStructurePresenter
extends AbstractSubPresentable

Author:
jfischer

Field Summary
protected  com.google.gwt.event.shared.HandlerRegistration addClickedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration dataArrivedHandlerRegistration
           
protected  MapStructureEntityEditDialog entityEditDialog
           
protected  String entityEditDialogTitle
           
protected  String[] gridFields
           
protected  Map<String,Object> initialValues
           
protected  com.google.gwt.event.shared.HandlerRegistration removeClickedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration rowDoubleClickedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractSubPresentable
abstractDynamicDataSource, associatedRecord, availableToTypes, disabled, display, prefix, readOnly
 
Constructor Summary
MapStructurePresenter(MapStructurePresenter template)
           
MapStructurePresenter(String prefix, GridStructureDisplay display, MapStructureEntityEditDialog entityEditDialog, String entityEditDialogTitle)
           
MapStructurePresenter(String prefix, GridStructureDisplay display, MapStructureEntityEditDialog entityEditDialog, String[] availableToTypes, String entityEditDialogTitle)
           
MapStructurePresenter(String prefix, GridStructureDisplay display, MapStructureEntityEditDialog entityEditDialog, String[] availableToTypes, String entityEditDialogTitle, Map<String,Object> initialValues)
           
MapStructurePresenter(String prefix, GridStructureDisplay display, MapStructureEntityEditDialog entityEditDialog, String entityEditDialogTitle, Map<String,Object> initialValues)
           
 
Method Summary
 void bind()
           
 com.google.gwt.event.shared.HandlerRegistration getAddClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getDataArrivedHandlerRegistration()
           
 MapStructureEntityEditDialog getEntityEditDialog()
           
 String getEntityEditDialogTitle()
           
 String[] getGridFields()
           
 Map<String,Object> getInitialValues()
           
 com.google.gwt.event.shared.HandlerRegistration getRemoveClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getRowDoubleClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
           
 void setDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
           
 void setEntityEditDialog(MapStructureEntityEditDialog entityEditDialog)
           
 void setEntityEditDialogTitle(String entityEditDialogTitle)
           
 void setGridFields(String[] gridFields)
           
 void setInitialValues(Map<String,Object> initialValues)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractSubPresentable
disable, enable, getDisplay, getRelationshipValue, load, load, setReadOnly, setStartState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityEditDialog

protected MapStructureEntityEditDialog entityEditDialog

entityEditDialogTitle

protected String entityEditDialogTitle

initialValues

protected Map<String,Object> initialValues

gridFields

protected String[] gridFields

dataArrivedHandlerRegistration

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

selectionChangedHandlerRegistration

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

removeClickedHandlerRegistration

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

addClickedHandlerRegistration

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

rowDoubleClickedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration rowDoubleClickedHandlerRegistration
Constructor Detail

MapStructurePresenter

public MapStructurePresenter(String prefix,
                             GridStructureDisplay display,
                             MapStructureEntityEditDialog entityEditDialog,
                             String[] availableToTypes,
                             String entityEditDialogTitle,
                             Map<String,Object> initialValues)

MapStructurePresenter

public MapStructurePresenter(String prefix,
                             GridStructureDisplay display,
                             MapStructureEntityEditDialog entityEditDialog,
                             String entityEditDialogTitle,
                             Map<String,Object> initialValues)

MapStructurePresenter

public MapStructurePresenter(String prefix,
                             GridStructureDisplay display,
                             MapStructureEntityEditDialog entityEditDialog,
                             String[] availableToTypes,
                             String entityEditDialogTitle)

MapStructurePresenter

public MapStructurePresenter(String prefix,
                             GridStructureDisplay display,
                             MapStructureEntityEditDialog entityEditDialog,
                             String entityEditDialogTitle)

MapStructurePresenter

public MapStructurePresenter(MapStructurePresenter template)
Method Detail

setDataSource

public void setDataSource(ListGridDataSource dataSource,
                          String[] gridFields,
                          Boolean[] editable)
Specified by:
setDataSource in interface SubPresentable
Overrides:
setDataSource in class AbstractSubPresentable

bind

public void bind()

getAddClickedHandlerRegistration

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

getDataArrivedHandlerRegistration

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

getRemoveClickedHandlerRegistration

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

getRowDoubleClickedHandlerRegistration

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

getSelectionChangedHandlerRegistration

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

getGridFields

public String[] getGridFields()

setGridFields

public void setGridFields(String[] gridFields)

getEntityEditDialog

public MapStructureEntityEditDialog getEntityEditDialog()

setEntityEditDialog

public void setEntityEditDialog(MapStructureEntityEditDialog entityEditDialog)

getEntityEditDialogTitle

public String getEntityEditDialogTitle()

setEntityEditDialogTitle

public void setEntityEditDialogTitle(String entityEditDialogTitle)

getInitialValues

public Map<String,Object> getInitialValues()

setInitialValues

public void setInitialValues(Map<String,Object> initialValues)


Copyright © 2013. All Rights Reserved.