public class EJB3View extends AbstractEntityView<EJB3Subsystem> implements EJB3Presenter.MyView, FrameworkPresenter
FormItemObserver.Actionaddress, beanType, entityDetails, entityEditor, formMetaData, hideButtonswidgetInstance| Constructor and Description |
|---|
EJB3View(ApplicationMetaData propertyMetaData,
DispatchAsync dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
createWidget()
This is the default view assembly routine.
|
EntityToDmrBridge<EJB3Subsystem> |
getEntityBridge()
Get the EntityToDmrBridge for the Entity.
|
protected String |
getEntityDisplayName()
Get the plural name of the Entity to be displayed.
|
void |
itemAction(FormItemObserver.Action action,
ObservableFormItem item) |
void |
loadBeanPools() |
void |
loadServices() |
void |
loadThreadPools() |
protected org.jboss.ballroom.client.widgets.forms.FormAdapter<EJB3Subsystem> |
makeAddEntityForm()
Create the form with fields used for creating a new Entity.
|
protected EntityEditor<EJB3Subsystem> |
makeEntityEditor()
Create the EntityEditor with the following pieces:
- A title obtained from getPluralEntityName()
- A table obtained from makeEntityTable()
- An AddEntityWindow with a form from makeAddEntityForm()
- An EntityDetails with a form from makeEditEntityDetailsForm()
|
protected org.jboss.ballroom.client.widgets.tables.DefaultCellTable<EJB3Subsystem> |
makeEntityTable()
Create the table with the desired columns for the Entity.
|
void |
refresh()
Called whenever there is a change to any Entity
|
void |
setBeanPoolNames(List<String> poolNames) |
void |
setPoolTimeoutUnits(Collection<String> units,
String defaultUnit) |
void |
setPresenter(EJB3Presenter presenter) |
void |
setThreadFactories() |
void |
setThreadPoolNames(List<String> threadPoolNames) |
createEmbeddableWidget, createToolStrip, createToolStrip, getAddress, getFormMetaData, initialLoad, initialLoad, makeAddEntityPopup, makeEditEntityDetailsForm, makeEditEntityDetailsForm, makeFilterPredicate, makeSimpleForm, makeSimpleForm, provideAdditionalTabs, setDescription, setEditingEnabledasWidget, onResumeaddToSlot, initWidget, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToSlot, removeFromSlot, setInSlotasWidget, initialLoad, setEditingEnabled@Inject public EJB3View(ApplicationMetaData propertyMetaData, DispatchAsync dispatcher)
public void itemAction(FormItemObserver.Action action, ObservableFormItem item)
itemAction in interface FormItemObserveritemAction in class AbstractEntityView<EJB3Subsystem>public com.google.gwt.user.client.ui.Widget createWidget()
AbstractEntityViewcreateWidget in interface SuspendableViewcreateWidget in class AbstractEntityView<EJB3Subsystem>protected EntityEditor<EJB3Subsystem> makeEntityEditor()
AbstractEntityViewmakeEntityEditor in class AbstractEntityView<EJB3Subsystem>public EntityToDmrBridge<EJB3Subsystem> getEntityBridge()
AbstractEntityViewgetEntityBridge in interface FrameworkPresentergetEntityBridge in class AbstractEntityView<EJB3Subsystem>protected org.jboss.ballroom.client.widgets.tables.DefaultCellTable<EJB3Subsystem> makeEntityTable()
AbstractEntityViewmakeEntityTable in class AbstractEntityView<EJB3Subsystem>protected org.jboss.ballroom.client.widgets.forms.FormAdapter<EJB3Subsystem> makeAddEntityForm()
AbstractEntityViewmakeAddEntityForm in class AbstractEntityView<EJB3Subsystem>protected String getEntityDisplayName()
AbstractEntityViewgetEntityDisplayName in class AbstractEntityView<EJB3Subsystem>public void setPresenter(EJB3Presenter presenter)
setPresenter in interface EJB3Presenter.MyViewpublic void setBeanPoolNames(List<String> poolNames)
setBeanPoolNames in interface EJB3Presenter.MyViewpublic void setThreadPoolNames(List<String> threadPoolNames)
setThreadPoolNames in interface EJB3Presenter.MyViewpublic void setPoolTimeoutUnits(Collection<String> units, String defaultUnit)
setPoolTimeoutUnits in interface EJB3Presenter.MyViewpublic void loadBeanPools()
loadBeanPools in interface EJB3Presenter.MyViewpublic void loadThreadPools()
loadThreadPools in interface EJB3Presenter.MyViewpublic void loadServices()
loadServices in interface EJB3Presenter.MyViewpublic void setThreadFactories()
setThreadFactories in interface EJB3Presenter.MyViewpublic void refresh()
AbstractEntityViewrefresh in interface FrameworkViewrefresh in class AbstractEntityView<EJB3Subsystem>Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.