public class DataSourceDuplicator extends CayenneController
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canceled |
protected Map |
dataSources |
protected String |
prototypeKey |
protected DataSourceDuplicatorView |
view |
application, parent, propertyChangeSupport| Constructor and Description |
|---|
DataSourceDuplicator(DataSourcePreferences parent,
String prototypeKey) |
| 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 DataSourceDuplicatorView view
protected boolean canceled
protected Map dataSources
protected String prototypeKey
public DataSourceDuplicator(DataSourcePreferences parent, String prototypeKey)
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.