org.broadleafcommerce.cms.admin.client.presenter.file
Class StaticAssetsPresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
      extended by org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
          extended by org.broadleafcommerce.cms.admin.client.presenter.file.StaticAssetsPresenter
All Implemented Interfaces:
EntityPresenter, Instantiable

public class StaticAssetsPresenter
extends DynamicEntityPresenter
implements Instantiable

Author:
jfischer

Field Summary
protected  String currentId
           
protected  com.smartgwt.client.data.Record currentSelectedRecord
           
static FileUploadDialog FILE_UPLOAD
           
protected  com.google.gwt.event.shared.HandlerRegistration saveButtonHandlerRegistration
           
protected  MapStructureEntityEditDialog staticAssetDescriptionEntityAdd
           
protected  SubPresentable staticAssetDescriptionPresenter
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClickHandlerRegistration, cellSavedHandlerRegistration, disabled, display, entityTypeChangedHandlerRegistration, fetchDataHandlerRegistration, formPresenter, gridFields, initialValues, lastSelectedRecord, loaded, presenterSequenceSetupManager, removeClickHandlerRegistration, selectionChangedHandlerRegistration
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
eventBus
 
Constructor Summary
StaticAssetsPresenter()
           
 
Method Summary
protected  void addClicked()
           
protected  void addNewItem(String newItemTitle)
           
 void bind()
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
 StaticAssetsDisplay getDisplay()
           
protected  MapStructureEntityEditDialog getStaticAssetDescriptionEntityView()
           
 void resetForm()
           
 void setup()
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClicked, compileDefaultValuesFromCurrentFilter, containsDisplay, disable, enable, getAddClickHandlerRegistration, getCellSavedHandlerRegistration, getEntityTypeChangedHandlerRegistration, getInitialValues, getLoaded, getPresenterSequenceSetupManager, getRemoveClickHandlerRegistration, getSaveButtonHandlerRegistration, getSelectionChangedHandlerRegistration, itemSaved, postSetup, removeClicked, saveClicked, setDisplay, setGridFields, setInitialValues, setReadOnly, setStartState, setupDisplayItems
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
getEventBus, setEventBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_UPLOAD

public static FileUploadDialog FILE_UPLOAD

staticAssetDescriptionEntityAdd

protected MapStructureEntityEditDialog staticAssetDescriptionEntityAdd

staticAssetDescriptionPresenter

protected SubPresentable staticAssetDescriptionPresenter

currentSelectedRecord

protected com.smartgwt.client.data.Record currentSelectedRecord

currentId

protected String currentId

saveButtonHandlerRegistration

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

StaticAssetsPresenter

public StaticAssetsPresenter()
Method Detail

changeSelection

protected void changeSelection(com.smartgwt.client.data.Record selectedRecord)
Overrides:
changeSelection in class DynamicEntityPresenter

addClicked

protected void addClicked()
Overrides:
addClicked in class DynamicEntityPresenter

addNewItem

protected void addNewItem(String newItemTitle)
Overrides:
addNewItem in class DynamicEntityPresenter

bind

public void bind()
Overrides:
bind in class DynamicEntityPresenter

resetForm

public void resetForm()

setup

public void setup()
Specified by:
setup in interface EntityPresenter

getStaticAssetDescriptionEntityView

protected MapStructureEntityEditDialog getStaticAssetDescriptionEntityView()

getDisplay

public StaticAssetsDisplay getDisplay()
Specified by:
getDisplay in interface EntityPresenter
Overrides:
getDisplay in class DynamicEntityPresenter


Copyright © 2011. All Rights Reserved.