View Javadoc

1   
2   package org.telscenter.pas.ui.dialog;
3   
4   import javax.swing.BorderFactory;
5   import javax.swing.JPanel;
6   
7   import org.telscenter.pas.common.ui.layouts.EqualsLayout;
8   import org.telscenter.pas.steps.actions.DialogSaveAction;
9   
10  
11  public class PasIssueReporterConfirmDialogUI extends PasMessageDialogUI {
12  
13  	public PasIssueReporterConfirmDialogUI() {
14  		super();
15  		// TODO Auto-generated constructor stub
16  	}
17  
18  	protected void addButtonActions() {
19  		getOkButton().setAction(new DialogSaveAction("Ok"));
20  	}
21  	
22  	protected void arrangeButtons() {
23  		buttonPanel = new JPanel(new EqualsLayout(
24  				EqualsLayout.HORIZONTAL, EqualsLayout.RIGHT, 0));
25  		buttonPanel.add(okButton);
26  		buttonPanel.setBorder(BorderFactory.createEmptyBorder(5, 0, 5, 5));
27  		buttonPanel.setOpaque(false);
28  	}
29  }