1 /*** 2 * Created on Oct 18, 2005, Copyright UC Regents 3 */ 4 package org.telscenter.pas.steps.actions; 5 6 import java.awt.event.ActionEvent; 7 import java.util.Map; 8 9 import javax.swing.ImageIcon; 10 11 import org.telscenter.pas.steps.domain.AssessmentItem; 12 13 /*** 14 * @author anthonyperritano 15 * 16 */ 17 public class LeaveStudentAssessmentAction extends DialogSaveAction { 18 19 private boolean hasLeft = false; 20 21 /*** 22 * @param imageIcon 23 */ 24 public LeaveStudentAssessmentAction(ImageIcon imageIcon) { 25 super(imageIcon); 26 } 27 28 /*** 29 * @param string 30 */ 31 public LeaveStudentAssessmentAction(String string) { 32 super(string); 33 } 34 35 public void actionPerformed(ActionEvent e) { 36 hasLeft = true; 37 hideRootDialog(e.getSource()); 38 } 39 40 public boolean hasLeft() { 41 return hasLeft; 42 } 43 44 }