Revision 20833

View differences:

trunk/extensions/extRasterTools-SE/src/org/gvsig/raster/util/process/ClippingProcess.java
291 291
					incrementableTask = null;
292 292
				}
293 293
				//Damos tiempo a parar el Thread del incrementable para que no se cuelgue la ventana
294
				//El tiempo es como m?nimo el de un bucle de del run de la tarea incrementable
294
				//El tiempo es como m?nimo el de un bucle del run de la tarea incrementable
295 295
				Thread.sleep(600);
296 296
				cutFinalize(finalFileName, (t2 - t1));
297 297
			}
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/statistics/StatisticsProcess.java
36 36
 * @author Nacho Brodin nachobrodin@gmail.com
37 37
 */
38 38
public class StatisticsProcess extends RasterProcess {
39
	private FLyrRasterSE            lyr = null;
40
	private DatasetListStatistics   stats = null;
41
	private boolean                 force = false;
39
	private FLyrRasterSE          lyr   = null;
40
	private DatasetListStatistics stats = null;
41
	private boolean               force = false;
42 42

  
43 43
	/*
44 44
	 * (non-Javadoc)
......
56 56
	 */
57 57
	public void process() throws InterruptedException {
58 58
		insertLineLog(PluginServices.getText(this, "statistics_generation"));
59
		if(force)
59
		if (force)
60 60
			stats.forceToRecalc();
61 61
		try {
62 62
			stats.calcFullStatistics();
63 63
			SwingUtilities.invokeLater(new Runnable() {
64 64
				public void run() {
65
					if(externalActions != null)
65
					if (externalActions != null)
66 66
						externalActions.end(null);
67 67
				}
68 68
			});

Also available in: Unified diff