1 package org.telscenter.pas.ui.dialog;
2
3 import org.telscenter.pas.steps.actions.DialogSaveAction;
4 import org.telscenter.pas.steps.actions.NoteSaveAction;
5
6 public class PasNoteMessageDialogUI extends PasMessageDialogUI {
7
8
9 private NoteSaveAction saveAction;
10
11 public PasNoteMessageDialogUI() {
12 super();
13
14 }
15
16 public PasNoteMessageDialogUI(NoteSaveAction saveAction) {
17 this.saveAction = saveAction;
18 }
19
20 protected void addButtonActions() {
21
22 getOkButton().setAction(saveAction);
23 getCancelButton().setAction(new DialogSaveAction("No"));
24 }
25 }