Revision 5628 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/difference/DifferenceGeoprocessController.java

View differences:

DifferenceGeoprocessController.java
45 45
*
46 46
* $Id$
47 47
* $Log$
48
* Revision 1.2  2006-05-25 08:21:48  jmvivo
48
* Revision 1.3  2006-06-02 18:21:28  azabala
49
* *** empty log message ***
50
*
51
* Revision 1.2  2006/05/25 08:21:48  jmvivo
49 52
* A?adida peticion de confirmacion para sobreescribir el fichero de salida, si este ya existiera
50 53
*
51 54
* Revision 1.1  2006/05/24 21:11:50  azabala
......
154 157
			if(overlayLayer.getISpatialIndex() == null){
155 158
				final IMonitorableTask sptIdxTask = 
156 159
					geoProcessingDifferencePanel.askForSpatialIndexCreation(overlayLayer);
157
				PluginServices.backgroundExecution(
158
						new Runnable(){
159
					public void run() {
160
						PluginServices.
161
						cancelableBackgroundExecution(sptIdxTask);	
162
					}}
163
				);
160
				if(sptIdxTask != null){
161
					PluginServices.backgroundExecution(
162
							new Runnable(){
163
						public void run() {
164
							PluginServices.
165
							cancelableBackgroundExecution(sptIdxTask);	
166
						}}
167
					);
168
				}	
164 169
			}//if
165 170
			if (globalTask.preprocess())
166 171
				PluginServices.cancelableBackgroundExecution(globalTask);

Also available in: Unified diff