public class EntityEditor<T> extends Object implements EntityListView<T>
| Constructor and Description |
|---|
EntityEditor(FrameworkPresenter presenter,
String entitiesName,
EntityPopupWindow<T> window,
org.jboss.ballroom.client.widgets.tables.DefaultCellTable<T> table,
EntityDetails<T> details)
Create a new Entity.
|
EntityEditor(FrameworkPresenter presenter,
String entitiesName,
EntityPopupWindow<T> window,
org.jboss.ballroom.client.widgets.tables.DefaultCellTable<T> table,
EntityDetails<T> entityDetails,
EnumSet<FrameworkButton> hideButtons)
Create a new Entity.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
org.jboss.ballroom.client.widgets.tools.ToolStrip |
createTools() |
org.jboss.ballroom.client.widgets.tools.ToolStrip |
createTools(String resourceAddress) |
com.google.gwt.view.client.ListDataProvider<T> |
getDataProvider() |
org.jboss.ballroom.client.widgets.tools.ToolStrip |
getToolStrip() |
void |
setDescription(String description) |
void |
setEditingEnabled(boolean isEnabled) |
void |
setFilterPredicate(DataProviderFilter.Predicate<T> filterPredicate) |
EntityEditor<T> |
setIncludeTools(boolean includeTools) |
void |
setTools(org.jboss.ballroom.client.widgets.tools.ToolStrip toolStrip) |
void |
updateEntityList(List<T> entityList,
T lastEdited) |
public EntityEditor(FrameworkPresenter presenter, String entitiesName, EntityPopupWindow<T> window, org.jboss.ballroom.client.widgets.tables.DefaultCellTable<T> table, EntityDetails<T> details)
entitiesName - The display name (plural) of the entities.window - The window used for creating a new entity.table - The table that holds the entities.details - The EntityDetails that manages CRUD for the selected entity.public EntityEditor(FrameworkPresenter presenter, String entitiesName, EntityPopupWindow<T> window, org.jboss.ballroom.client.widgets.tables.DefaultCellTable<T> table, EntityDetails<T> entityDetails, EnumSet<FrameworkButton> hideButtons)
entitiesName - The display name (plural) of the entities.window - The window used for creating a new entity.table - The table that holds the entities.entityDetails - The EntityDetails that manages CRUD for the selected entity.public void setDescription(String description)
public org.jboss.ballroom.client.widgets.tools.ToolStrip getToolStrip()
public EntityEditor<T> setIncludeTools(boolean includeTools)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic org.jboss.ballroom.client.widgets.tools.ToolStrip createTools()
public org.jboss.ballroom.client.widgets.tools.ToolStrip createTools(String resourceAddress)
public com.google.gwt.view.client.ListDataProvider<T> getDataProvider()
getDataProvider in interface EntityListView<T>public void updateEntityList(List<T> entityList, T lastEdited)
updateEntityList in interface EntityListView<T>public void setEditingEnabled(boolean isEnabled)
public void setTools(org.jboss.ballroom.client.widgets.tools.ToolStrip toolStrip)
public void setFilterPredicate(DataProviderFilter.Predicate<T> filterPredicate)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.