public class MainDataNodeEditor extends CayenneController
| Modifier and Type | Field and Description |
|---|---|
protected ObjectBinding[] |
bindings |
protected Map |
datasourceEditors |
protected DataSourceEditor |
defaultSubeditor |
protected ObjectBinding |
localDataSourceBinding |
protected List |
localDataSources |
protected static String |
NO_LOCAL_DATA_SOURCE |
protected DataNodeDescriptor |
node |
protected BindingDelegate |
nodeChangeProcessor |
protected DataNodeEditor |
tabbedPaneController |
protected MainDataNodeView |
view |
application, parent, propertyChangeSupport| Constructor and Description |
|---|
MainDataNodeEditor(ProjectController parent,
DataNodeEditor tabController) |
| Modifier and Type | Method and Description |
|---|---|
void |
dataSourceConfigAction() |
protected void |
disabledTab(String name) |
String |
getFactoryName() |
String |
getNodeName() |
String |
getSchemaUpdateStrategy() |
Component |
getView()
Returns the vie wassociated with this Controller.
|
protected void |
initController() |
protected void |
refreshLocalDataSources() |
protected void |
refreshView(DataNodeDescriptor node)
Reinitializes widgets to display selected DataNode.
|
void |
setFactoryName(String factoryName) |
void |
setNodeName(String newName) |
void |
setSchemaUpdateStrategy(String schemaUpdateStrategy) |
protected void |
showDataSourceSubview(String factoryName)
Selects a subview for a currently selected DataSource factory.
|
addPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorprotected static final String NO_LOCAL_DATA_SOURCE
protected MainDataNodeView view
protected DataNodeEditor tabbedPaneController
protected DataNodeDescriptor node
protected Map datasourceEditors
protected List localDataSources
protected DataSourceEditor defaultSubeditor
protected BindingDelegate nodeChangeProcessor
protected ObjectBinding[] bindings
protected ObjectBinding localDataSourceBinding
public MainDataNodeEditor(ProjectController parent, DataNodeEditor tabController)
public Component getView()
CayenneControllergetView in interface BoundComponentgetView in class CayenneControllerpublic String getFactoryName()
public void setFactoryName(String factoryName)
public String getSchemaUpdateStrategy()
public void setSchemaUpdateStrategy(String schemaUpdateStrategy)
public String getNodeName()
public void setNodeName(String newName)
protected void initController()
public void dataSourceConfigAction()
protected void refreshLocalDataSources()
protected void refreshView(DataNodeDescriptor node)
protected void showDataSourceSubview(String factoryName)
protected void disabledTab(String name)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.