public class PackageUpdateController extends DefaultsPreferencesController
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_CONTROL |
protected boolean |
clientUpdate |
static String |
UNINIT_CONTROL |
protected DefaultsPreferencesView |
view |
allEntities, dataMap, mediatorapplication, parent, propertyChangeSupport| Constructor and Description |
|---|
PackageUpdateController(ProjectController mediator,
DataMap dataMap,
boolean clientUpdate) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
extractClassName(String name) |
protected String |
getClassName(ObjEntity entity) |
protected String |
getNameWithDefaultPackage(String name) |
Component |
getView()
Returns the vie wassociated with this Controller.
|
protected void |
setClassName(ObjEntity entity,
String newName) |
void |
startupAction()
Creates and runs the package update dialog.
|
protected void |
updatePackage() |
isAllEntities, isUninitializedEntitiesaddPropertyChangeListener, bindingUpdated, centerView, firePropertyChange, getApplication, getFrame, getLastDirectory, getParent, getViewPreferences, getWindow, makeCloseableOnEscape, reportErrorpublic static final String ALL_CONTROL
public static final String UNINIT_CONTROL
protected boolean clientUpdate
protected DefaultsPreferencesView view
public PackageUpdateController(ProjectController mediator, DataMap dataMap, boolean clientUpdate)
public void startupAction()
public Component getView()
CayenneControllergetView in interface BoundComponentgetView in class CayenneControllerprotected void updatePackage()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.