public class SaveAction extends SaveAsAction
fileChooseralwaysOn, 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 |
|---|
SaveAction(Application application) |
| Modifier and Type | Method and Description |
|---|---|
KeyStroke |
getAcceleratorKey()
Returns keyboard shortcut for this action.
|
static String |
getActionName() |
String |
getIconName()
Returns the name of the icon that should be used for buttons.
|
protected boolean |
saveAll()
Saves project and related files.
|
enableForPath, performAction, performActionactionPerformed, buildButton, buildCheckBoxMenu, buildMenu, createIcon, getApplication, getCurrentProject, getKey, getProjectController, isAlwaysOn, setAlwaysOn, setEnabled, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListenerpublic SaveAction(Application application)
public static String getActionName()
public KeyStroke getAcceleratorKey()
CayenneActionnull.getAcceleratorKey in class SaveAsActionpublic String getIconName()
CayenneActionRESOURCE_PATH. Default implementation returns
null.getIconName in class CayenneActionprotected boolean saveAll()
throws Exception
SaveAsActionsaveAll in class SaveAsActionExceptionCopyright © 2001–2015 Apache Cayenne. All rights reserved.