Revision 5628 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/intersection/IntersectionGeoprocessController.java

View differences:

IntersectionGeoprocessController.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:10:40  azabala
......
156 159
			if(overlayLayer.getISpatialIndex() == null){
157 160
				final IMonitorableTask sptIdxTask = 
158 161
					geoProcessingIntersectPanel.askForSpatialIndexCreation(overlayLayer);
159
				PluginServices.backgroundExecution(
160
						new Runnable(){
161
					public void run() {
162
						PluginServices.
163
						cancelableBackgroundExecution(sptIdxTask);	
164
					}}
165
				);
162
				if(sptIdxTask != null){
163
					PluginServices.backgroundExecution(
164
							new Runnable(){
165
						public void run() {
166
							PluginServices.
167
							cancelableBackgroundExecution(sptIdxTask);	
168
						}}
169
					);
170
				}	
166 171
			}//if
167 172
			if (globalTask.preprocess())
168 173
				PluginServices.cancelableBackgroundExecution(globalTask);

Also available in: Unified diff