public class TableSelectorController extends CayenneController
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,DbEntity> |
excludedTables |
protected int |
permanentlyExcludedCount |
protected List<DbEntity> |
selectableTablesList |
protected DbEntity |
table |
protected ObjectBinding |
tableBinding |
protected List<DbEntity> |
tables |
protected Map<String,String> |
validationMessages |
protected TableSelectorView |
view |
application, parent, propertyChangeSupport| Constructor and Description |
|---|
TableSelectorController(ProjectController parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAllAction() |
Collection<DbEntity> |
getExcludedTables()
Returns DbEntities that are excluded from DB generation.
|
Object |
getProblem() |
List<DbEntity> |
getTables() |
Component |
getView()
Returns the vie wassociated with this Controller.
|
protected void |
initController() |
boolean |
isIncluded() |
void |
setIncluded(boolean b) |
void |
setTable(DbEntity table)
Called by table binding script to set current table.
|
void |
tableSelectedAction()
A callback action that updates the state of Select All checkbox.
|
void |
updateTables(Collection<DataMap> dataMaps)
Performs validation of DbEntities in the current DataMap.
|
addPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorprotected TableSelectorView view
protected ObjectBinding tableBinding
protected DbEntity table
protected int permanentlyExcludedCount
public TableSelectorController(ProjectController parent)
public Component getView()
CayenneControllergetView in interface BoundComponentgetView in class CayenneControllerpublic void setTable(DbEntity table)
public Collection<DbEntity> getExcludedTables()
public boolean isIncluded()
public void setIncluded(boolean b)
public void tableSelectedAction()
public Object getProblem()
protected void initController()
public void updateTables(Collection<DataMap> dataMaps)
public void checkAllAction()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.