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

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

public class MapStructurePresenter
extends java.lang.Object
implements SubPresentable

Author:
jfischer

Field Summary
protected  AbstractDynamicDataSource abstractDynamicDataSource
           
protected  com.smartgwt.client.data.Record associatedRecord
           
protected  java.lang.Boolean disabled
           
protected  GridStructureDisplay display
           
protected  MapStructureEntityEditDialog entityEditDialog
           
protected  java.lang.String entityEditDialogTitle
           
protected  java.lang.String[] gridFields
           
protected  java.util.Map<java.lang.String,java.lang.Object> initialValues
           
 
Constructor Summary
MapStructurePresenter(GridStructureDisplay display, MapStructureEntityEditDialog entityEditDialog, java.lang.String entityEditDialogTitle, java.util.Map<java.lang.String,java.lang.Object> initialValues)
           
 
Method Summary
 void bind()
           
 void disable()
           
 void enable()
           
 void load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource abstractDynamicDataSource, com.smartgwt.client.data.DSCallback cb)
           
 void setDataSource(ListGridDataSource dataSource, java.lang.String[] gridFields, java.lang.Boolean[] editable)
           
 void setReadOnly(java.lang.Boolean readOnly)
           
 void setStartState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

protected GridStructureDisplay display

entityEditDialog

protected MapStructureEntityEditDialog entityEditDialog

entityEditDialogTitle

protected java.lang.String entityEditDialogTitle

initialValues

protected java.util.Map<java.lang.String,java.lang.Object> initialValues

gridFields

protected java.lang.String[] gridFields

associatedRecord

protected com.smartgwt.client.data.Record associatedRecord

abstractDynamicDataSource

protected AbstractDynamicDataSource abstractDynamicDataSource

disabled

protected java.lang.Boolean disabled
Constructor Detail

MapStructurePresenter

public MapStructurePresenter(GridStructureDisplay display,
                             MapStructureEntityEditDialog entityEditDialog,
                             java.lang.String entityEditDialogTitle,
                             java.util.Map<java.lang.String,java.lang.Object> initialValues)
Method Detail

setDataSource

public void setDataSource(ListGridDataSource dataSource,
                          java.lang.String[] gridFields,
                          java.lang.Boolean[] editable)
Specified by:
setDataSource in interface SubPresentable

setStartState

public void setStartState()
Specified by:
setStartState in interface SubPresentable

enable

public void enable()
Specified by:
enable in interface SubPresentable

disable

public void disable()
Specified by:
disable in interface SubPresentable

setReadOnly

public void setReadOnly(java.lang.Boolean readOnly)
Specified by:
setReadOnly in interface SubPresentable

load

public void load(com.smartgwt.client.data.Record associatedRecord,
                 AbstractDynamicDataSource abstractDynamicDataSource,
                 com.smartgwt.client.data.DSCallback cb)
Specified by:
load in interface SubPresentable

bind

public void bind()
Specified by:
bind in interface SubPresentable


Copyright © 2011. All Rights Reserved.