public class PreferenceDialog extends CayenneController
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_PATH_KEY |
static String |
DATA_SOURCES_KEY |
protected Map |
detailControllers |
protected PreferenceEditor |
editor |
static String |
GENERAL_KEY |
static String |
TEMPLATES_KEY |
protected PreferenceDialogView |
view |
application, parent, propertyChangeSupport| Constructor and Description |
|---|
PreferenceDialog(CayenneController parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAction() |
protected void |
configure() |
PreferenceEditor |
getEditor() |
Component |
getView()
Returns the vie wassociated with this Controller.
|
protected void |
initBindings() |
protected void |
registerPanel(String name,
CayenneController panelController) |
void |
savePreferencesAction() |
void |
showDataSourceEditorAction(Object dataSourceKey)
Configures preferences dialog to display an editor for a local DataSource with
specified name.
|
void |
startupAction(String key) |
addPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorpublic static final String GENERAL_KEY
public static final String DATA_SOURCES_KEY
public static final String CLASS_PATH_KEY
public static final String TEMPLATES_KEY
protected PreferenceDialogView view
protected Map detailControllers
protected PreferenceEditor editor
public PreferenceDialog(CayenneController parent)
protected void initBindings()
public void cancelAction()
public void savePreferencesAction()
public void showDataSourceEditorAction(Object dataSourceKey)
public void startupAction(String key)
protected void configure()
protected void registerPanel(String name, CayenneController panelController)
public Component getView()
CayenneControllergetView in interface BoundComponentgetView in class CayenneControllerpublic PreferenceEditor getEditor()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.