View Javadoc

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  		// TODO Auto-generated constructor stub
14  	}
15  
16  	public PasNoteMessageDialogUI(NoteSaveAction saveAction) {
17  		this.saveAction = saveAction;
18  	}
19  
20  	protected void addButtonActions() {
21  		//TODO note save action NEEDs to ask the note service for its info and have not passed in via constructor
22  		getOkButton().setAction(saveAction);
23  		getCancelButton().setAction(new DialogSaveAction("No"));
24  	}
25  }