org.openide.actions
Class SaveAction
java.lang.Object
org.openide.util.SharedClassObject
org.openide.util.actions.SystemAction
org.openide.util.actions.CallableSystemAction
org.openide.util.actions.NodeAction
org.openide.util.actions.CookieAction
org.openide.actions.SaveAction
- All Implemented Interfaces:
- ActionListener, Externalizable, Serializable, EventListener, Action, Presenter, Presenter.Menu, Presenter.Popup, Presenter.Toolbar, ContextAwareAction, HelpCtx.Provider
public class SaveAction
- extends CookieAction
Save a single object.
- See Also:
SaveCookie,
Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class org.openide.util.SharedClassObject |
addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removePropertyChangeListener, reset, writeExternal, writeReplace |
SaveAction
public SaveAction()
cookieClasses
protected Class[] cookieClasses()
- Specified by:
cookieClasses in class CookieAction
createContextAwareInstance
public Action createContextAwareInstance(Lookup actionContext)
- Specified by:
createContextAwareInstance in interface ContextAwareAction- Overrides:
createContextAwareInstance in class CookieAction
performAction
protected void performAction(Node[] activatedNodes)
- Specified by:
performAction in class NodeAction
asynchronous
protected boolean asynchronous()
- Overrides:
asynchronous in class CallableSystemAction
mode
protected int mode()
- Specified by:
mode in class CookieAction
getName
public String getName()
- Specified by:
getName in class SystemAction
getHelpCtx
public HelpCtx getHelpCtx()
- Specified by:
getHelpCtx in interface HelpCtx.Provider- Specified by:
getHelpCtx in class SystemAction
iconResource
protected String iconResource()
- Overrides:
iconResource in class SystemAction