org.broadleafcommerce.openadmin.client.presenter.entity
Class PassthroughEntityPresenter
java.lang.Object
org.broadleafcommerce.openadmin.client.presenter.entity.PassthroughEntityPresenter
- All Implemented Interfaces:
- EntityPresenter, Instantiable
public class PassthroughEntityPresenter
- extends Object
- implements EntityPresenter, Instantiable
For views that do not require dynamic entity interaction, this
presenter can be used or extended to allow for
- Author:
- bpolster
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
presenterSequenceSetupManager
protected PresenterSequenceSetupManager presenterSequenceSetupManager
PassthroughEntityPresenter
public PassthroughEntityPresenter()
setup
public void setup()
- Specified by:
setup in interface EntityPresenter
postSetup
public void postSetup(com.smartgwt.client.widgets.Canvas container)
- Specified by:
postSetup in interface EntityPresenter
containsDisplay
protected Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)
getEventBus
public com.google.gwt.event.shared.HandlerManager getEventBus()
- Specified by:
getEventBus in interface EntityPresenter
setEventBus
public void setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
- Specified by:
setEventBus in interface EntityPresenter
getDisplay
public Display getDisplay()
- Specified by:
getDisplay in interface EntityPresenter
setDisplay
public void setDisplay(Display display)
- Specified by:
setDisplay in interface EntityPresenter
getPresenterSequenceSetupManager
public PresenterSequenceSetupManager getPresenterSequenceSetupManager()
- Specified by:
getPresenterSequenceSetupManager in interface EntityPresenter
getLoaded
public Boolean getLoaded()
- Specified by:
getLoaded in interface EntityPresenter
setDefaultItemId
public void setDefaultItemId(String itemId)
- For Entity presenters that support loading a default item, setting this value prior
to calling setup will result in the passed in item being displayed.
Supported by DynamicEntityPresenter and the OOB admin configuration with the
parameter #itemId=xx
- Specified by:
setDefaultItemId in interface EntityPresenter
getDefaultItemId
public String getDefaultItemId()
- Returns the default item that this presenter should attempt to show on initial load.
- Specified by:
getDefaultItemId in interface EntityPresenter
- Returns:
getDs
public com.smartgwt.client.data.DataSource getDs()
setDs
public void setDs(com.smartgwt.client.data.DataSource ds)
Copyright © 2013. All Rights Reserved.