cmu.survey.editor.gui
Class SaveTypeAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by cmu.survey.editor.gui.SaveTypeAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
PreviewPageAction, PreviewSurveyAction

public abstract class SaveTypeAction
extends javax.swing.AbstractAction

See Also:
Serialized Form

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
SaveTypeAction(java.lang.String name, Dialogs dialogs, Survey survey)
           
 
Method Summary
protected  void doPartUnsavedError()
           
 Dialogs getDialogs()
           
 Survey getSurvey()
           
 boolean save()
           
 
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 java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

SaveTypeAction

public SaveTypeAction(java.lang.String name,
                      Dialogs dialogs,
                      Survey survey)
Method Detail

save

public boolean save()

doPartUnsavedError

protected void doPartUnsavedError()

getDialogs

public Dialogs getDialogs()
Returns:
Returns the dialogs.

getSurvey

public Survey getSurvey()
Returns:
Returns the survey.