public class CreateDataMapEntityListenerAction extends CreateObjEntityListenerAction
alwaysOn, applicationchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
CreateDataMapEntityListenerAction(Application application)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEntityListener(EntityListener listener)
adds new entity listener
|
void |
createMapListener(DataMap dataMap,
EntityListener listener) |
static String |
getActionName() |
protected boolean |
isListenerClassAlreadyExists(String className)
checks whether the new name of listener class already exists
|
void |
performAction(ActionEvent e)
base entity listenre creation logic
|
createEntityListener, getIconNameactionPerformed, buildButton, buildCheckBoxMenu, buildMenu, createIcon, enableForPath, getAcceleratorKey, getApplication, getCurrentProject, getKey, getProjectController, isAlwaysOn, setAlwaysOn, setEnabled, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListenerpublic CreateDataMapEntityListenerAction(Application application)
application - Application instancepublic static String getActionName()
protected boolean isListenerClassAlreadyExists(String className)
isListenerClassAlreadyExists in class CreateObjEntityListenerActionclassName - entered class nameprotected void addEntityListener(EntityListener listener)
listener - new EntityListener instancepublic void performAction(ActionEvent e)
performAction in class CreateObjEntityListenerActione - eventpublic void createMapListener(DataMap dataMap, EntityListener listener)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.