Package org.esa.snap.rcp.session
Class SaveSessionAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.session.SaveSessionAction
-
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,org.openide.util.ContextAwareAction,org.openide.util.LookupListener
public class SaveSessionAction extends AbstractAction implements org.openide.util.ContextAwareAction, org.openide.util.LookupListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringID-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
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
-
-
Constructor Summary
Constructors Constructor Description SaveSessionAction()SaveSessionAction(org.openide.util.Lookup lookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent event)ActioncreateContextAwareInstance(org.openide.util.Lookup actionContext)voidresultChanged(org.openide.util.LookupEvent ev)voidsaveSession(boolean saveAs)voidsaveSessionAsQuitely(File newSessionFile)-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
actionPerformed
public final void actionPerformed(ActionEvent event)
- Specified by:
actionPerformedin interfaceActionListener
-
createContextAwareInstance
public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
- Specified by:
createContextAwareInstancein interfaceorg.openide.util.ContextAwareAction
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent ev)
- Specified by:
resultChangedin interfaceorg.openide.util.LookupListener
-
saveSession
public void saveSession(boolean saveAs)
-
saveSessionAsQuitely
public void saveSessionAsQuitely(File newSessionFile)
-
-