public class DataSourceCreator extends CayenneController
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canceled |
protected Map |
dataSources |
protected DataSourceCreatorView |
view |
application, parent, propertyChangeSupport| Constructor and Description |
|---|
DataSourceCreator(DataSourcePreferences parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAction() |
protected DBConnectionInfo |
createDataSource() |
String |
getName() |
Component |
getView()
Returns the vie wassociated with this Controller.
|
protected void |
initBindings() |
void |
okAction() |
DBConnectionInfo |
startupAction()
Pops up a dialog and blocks current thread until the dialog is closed.
|
addPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorprotected DataSourceCreatorView view
protected boolean canceled
protected Map dataSources
public DataSourceCreator(DataSourcePreferences parent)
public Component getView()
CayenneControllergetView in interface BoundComponentgetView in class CayenneControllerprotected void initBindings()
public void okAction()
public void cancelAction()
public DBConnectionInfo startupAction()
public String getName()
protected DBConnectionInfo createDataSource()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.