org.telscenter.pas.steps.actions
Class NoteSaveAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.telscenter.pas.steps.actions.DialogSaveAction
          extended by org.telscenter.pas.steps.actions.NoteSaveAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
JaxbQtiNoteSaveAction

public class NoteSaveAction
extends DialogSaveAction

TODO revisit the factoring of this

Author:
aperritano, turadg
See Also:
Serialized Form

Field Summary
protected  java.util.Map<java.lang.String,java.lang.Object> responses
           
protected  boolean saved
           
 
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
NoteSaveAction()
           
NoteSaveAction(AssessmentItem assessmentItem, java.util.Map<java.lang.String,java.lang.Object> responses, java.util.Map<ResponseDeclaration,net.sf.sail.core.entity.ISock<java.lang.String>> responseDeclarationToSocks)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  void doSave()
          Saves all the responses to rims
 boolean isSaved()
           
 
Methods inherited from class org.telscenter.pas.steps.actions.DialogSaveAction
hideRootDialog
 
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
 

Field Detail

responses

protected java.util.Map<java.lang.String,java.lang.Object> responses

saved

protected boolean saved
Constructor Detail

NoteSaveAction

public NoteSaveAction()

NoteSaveAction

public NoteSaveAction(AssessmentItem assessmentItem,
                      java.util.Map<java.lang.String,java.lang.Object> responses,
                      java.util.Map<ResponseDeclaration,net.sf.sail.core.entity.ISock<java.lang.String>> responseDeclarationToSocks)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class DialogSaveAction

isSaved

public boolean isSaved()

doSave

protected void doSave()
Saves all the responses to rims

Parameters:
clientProperty -


Copyright © 2004-2008 TELS Center. All Rights Reserved.