Revision 8765 branches/v10/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/union/UnionGeoprocessController.java

View differences:

UnionGeoprocessController.java
45 45
*
46 46
* $Id$
47 47
* $Log$
48
* Revision 1.4  2006-08-11 16:30:38  azabala
48
* Revision 1.4.2.1  2006-11-15 00:08:17  jjdelcerro
49 49
* *** empty log message ***
50 50
*
51
* Revision 1.5  2006/10/23 10:29:18  caballero
52
* ancho y alto del panel
53
*
54
* Revision 1.4  2006/08/11 16:30:38  azabala
55
* *** empty log message ***
56
*
51 57
* Revision 1.3  2006/07/21 09:10:34  azabala
52 58
* fixed bug 608: user doesnt enter any result file to the geoprocess panel
53 59
*
......
106 112

  
107 113
	private OverlayPanelIF geoProcessingUnionPanel;
108 114
	private UnionGeoprocess union;
109
	
115

  
110 116
	public void setView(IGeoprocessPanel viewPanel) {
111 117
		this.geoProcessingUnionPanel = (OverlayPanelIF) viewPanel;
112 118
	}
......
153 159
			String errorDescription = PluginServices.getText(this, "Error_preparar_escritura_resultados");
154 160
			geoProcessingUnionPanel.error(errorDescription, error);
155 161
			return false;
156
		} 
162
		}
157 163
		union.setResultLayerProperties(writer, schemaManager);
158 164
		HashMap params = new HashMap();
159 165
		boolean onlySelectedFirst = geoProcessingUnionPanel
......
178 184
			MonitorableDecoratorMainFirst globalTask = new MonitorableDecoratorMainFirst(task1,
179 185
					task2);
180 186
			if(!overlayLayer.isSpatiallyIndexed()){
181
				final IMonitorableTask sptIdxTask = 
187
				final IMonitorableTask sptIdxTask =
182 188
					geoProcessingUnionPanel.askForSpatialIndexCreation(overlayLayer);
183 189
				if(sptIdxTask != null){
184 190
					PluginServices.backgroundExecution(
185 191
							new Runnable(){
186 192
						public void run() {
187 193
							PluginServices.
188
							cancelableBackgroundExecution(sptIdxTask);	
194
							cancelableBackgroundExecution(sptIdxTask);
189 195
						}}
190 196
					);
191
				}	
197
				}
192 198
			}//if
193 199
			if (globalTask.preprocess())
194 200
				PluginServices.cancelableBackgroundExecution(globalTask);
......
200 206
		}
201 207
		return true;
202 208
	}
209
	public int getWidth() {
210
		return 700;
211
	}
203 212

  
213
	public int getHeight() {
214
		return 300;
215
	}
204 216
}
205 217

  

Also available in: Unified diff