net.sf.genuine.actions
Class SaveAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bynet.sf.genuine.swing.GenuineAction
          extended bynet.sf.genuine.actions.SaveAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class SaveAction
extends GenuineAction

Convenience action class that can be used for saving files or documents. The action tries to acquire a reference to a DocumentService. There is no implementation of that service in Genuine's core. An application has therefore to register an appropriate service instance.

Author:
Tim Wellhausen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
(package private) SaveAction(ServiceBroker serviceBroker)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class net.sf.genuine.swing.GenuineAction
getId
 
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
 

Constructor Detail

SaveAction

SaveAction(ServiceBroker serviceBroker)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)