Revision 9054

View differences:

trunk/libraries/libUI/src/org/gvsig/gui/beans/ProgressDialog.java
43 43
 *
44 44
 * $Id$
45 45
 * $Log$
46
 * Revision 1.5  2006-09-14 08:31:58  cesar
46
 * Revision 1.6  2006-11-28 13:00:54  jmvivo
47
 * quitadas dependencias de andami
48
 *
49
 * Revision 1.5  2006/09/14 08:31:58  cesar
47 50
 * Replace PluginServices.getText by the new Messages bridge class from libUI
48 51
 *
49 52
 * Revision 1.4.2.1  2006/09/13 13:13:19  cesar
......
70 73
import javax.swing.JLabel;
71 74
import javax.swing.JProgressBar;
72 75

  
73
import com.iver.andami.messages.NotificationManager;
74
import com.iver.andami.ui.mdiManager.SingletonWindow;
75
/**
76
//import com.iver.andami.messages.NotificationManager;
77
//import com.iver.andami.ui.mdiManager.SingletonWindow;
78
/** * 
79
 * 
80
 * Debe de ser independiente de andami.
81
 * Cuando se cumpla esta condicion quitaremos
82
 * el deprecated
83
 * 
84
 * 
76 85
 * @author jaume
77 86
 *
87
 * @deprecated  Falta terminar
78 88
 */
79 89
public class ProgressDialog extends JDialog {  
80 90

  
......
90 100
	 */
91 101
	public ProgressDialog(CancellableComponent owner, String jobName, int stepAmount) {
92 102
		super();
103
		
104
		Exception e = new Exception();
105
		System.out.println("***** No deberia de usarse la clase " + ProgressDialog.class.getName());
106
		e.printStackTrace();
107
		
108
		
93 109
		this.jobName = jobName;
94 110
		getJProgressBar().setMinimum(0);
95 111
		getJProgressBar().setMaximum(stepAmount);
......
141 157
			btnCancel.setBounds(210, 96, 80, 20);
142 158
			btnCancel.addActionListener(new java.awt.event.ActionListener() { 
143 159
				public void actionPerformed(java.awt.event.ActionEvent e) {
144
					NotificationManager.addInfo("The job was cancelled", null);
160
					//NotificationManager.addInfo("The job was cancelled", null);
145 161
					if (cc!=null)
146 162
						cc.cancel();
147 163
				}

Also available in: Unified diff