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

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

public class CreateBasedListStructurePresenter
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  java.lang.String editDialogTitle
           
protected  java.util.Map<java.lang.String,java.lang.Object> initialValues
           
 
Constructor Summary
CreateBasedListStructurePresenter(GridStructureDisplay display, java.lang.String editDialogTitle)
           
CreateBasedListStructurePresenter(GridStructureDisplay display, java.lang.String editDialogTitle, 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

editDialogTitle

protected java.lang.String editDialogTitle

initialValues

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

associatedRecord

protected com.smartgwt.client.data.Record associatedRecord

abstractDynamicDataSource

protected AbstractDynamicDataSource abstractDynamicDataSource

disabled

protected java.lang.Boolean disabled
Constructor Detail

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(GridStructureDisplay display,
                                         java.lang.String editDialogTitle)

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(GridStructureDisplay display,
                                         java.lang.String editDialogTitle,
                                         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.