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

View differences:

IntersectionGeoprocessController.java
45 45
*
46 46
* $Id$
47 47
* $Log$
48
* Revision 1.4  2006-08-11 16:30:38  azabala
48
* Revision 1.5  2006-10-23 10:29:18  caballero
49
* ancho y alto del panel
50
*
51
* Revision 1.4  2006/08/11 16:30:38  azabala
49 52
* *** empty log message ***
50 53
*
51 54
* Revision 1.3  2006/07/21 09:10:34  azabala
......
105 108
public class IntersectionGeoprocessController extends
106 109
		AbstractGeoprocessController {
107 110

  
108
	
111

  
109 112
	private OverlayPanelIF geoProcessingIntersectPanel;
110 113
	private IntersectionGeoprocess intersection;
111
	
114

  
112 115
	public void setView(IGeoprocessPanel viewPanel) {
113
		this.geoProcessingIntersectPanel = 
116
		this.geoProcessingIntersectPanel =
114 117
			(OverlayPanelIF) viewPanel;
115 118
	}
116 119

  
......
158 161
			String errorDescription = PluginServices.getText(this, "Error_preparar_escritura_resultados");
159 162
			geoProcessingIntersectPanel.error(errorDescription, error);
160 163
			return false;
161
		} 
162
	
164
		}
165

  
163 166
		intersection.setResultLayerProperties(writer, schemaManager);
164 167
		HashMap params = new HashMap();
165 168
		boolean onlySelectedFirst = geoProcessingIntersectPanel
......
184 187
			MonitorableDecoratorMainFirst globalTask = new MonitorableDecoratorMainFirst(task1,
185 188
					task2);
186 189
			if(!overlayLayer.isSpatiallyIndexed()){
187
				final IMonitorableTask sptIdxTask = 
190
				final IMonitorableTask sptIdxTask =
188 191
					geoProcessingIntersectPanel.askForSpatialIndexCreation(overlayLayer);
189 192
				if(sptIdxTask != null){
190 193
					PluginServices.backgroundExecution(
191 194
							new Runnable(){
192 195
						public void run() {
193 196
							PluginServices.
194
							cancelableBackgroundExecution(sptIdxTask);	
197
							cancelableBackgroundExecution(sptIdxTask);
195 198
						}}
196 199
					);
197
				}	
200
				}
198 201
			}//if
199 202
			if (globalTask.preprocess())
200 203
				PluginServices.cancelableBackgroundExecution(globalTask);
......
206 209
		}
207 210
		return true;
208 211
	}
212
	public int getWidth() {
213
		return 700;
214
	}
209 215

  
216
	public int getHeight() {
217
		return 300;
218
	}
210 219
}
211 220

  

Also available in: Unified diff