Revision 8235 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/union/UnionGeoprocessController.java
UnionGeoprocessController.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 |
... | ... | |
106 | 109 |
|
107 | 110 |
private OverlayPanelIF geoProcessingUnionPanel; |
108 | 111 |
private UnionGeoprocess union; |
109 |
|
|
112 |
|
|
110 | 113 |
public void setView(IGeoprocessPanel viewPanel) { |
111 | 114 |
this.geoProcessingUnionPanel = (OverlayPanelIF) viewPanel; |
112 | 115 |
} |
... | ... | |
153 | 156 |
String errorDescription = PluginServices.getText(this, "Error_preparar_escritura_resultados"); |
154 | 157 |
geoProcessingUnionPanel.error(errorDescription, error); |
155 | 158 |
return false; |
156 |
}
|
|
159 |
} |
|
157 | 160 |
union.setResultLayerProperties(writer, schemaManager); |
158 | 161 |
HashMap params = new HashMap(); |
159 | 162 |
boolean onlySelectedFirst = geoProcessingUnionPanel |
... | ... | |
178 | 181 |
MonitorableDecoratorMainFirst globalTask = new MonitorableDecoratorMainFirst(task1, |
179 | 182 |
task2); |
180 | 183 |
if(!overlayLayer.isSpatiallyIndexed()){ |
181 |
final IMonitorableTask sptIdxTask =
|
|
184 |
final IMonitorableTask sptIdxTask = |
|
182 | 185 |
geoProcessingUnionPanel.askForSpatialIndexCreation(overlayLayer); |
183 | 186 |
if(sptIdxTask != null){ |
184 | 187 |
PluginServices.backgroundExecution( |
185 | 188 |
new Runnable(){ |
186 | 189 |
public void run() { |
187 | 190 |
PluginServices. |
188 |
cancelableBackgroundExecution(sptIdxTask);
|
|
191 |
cancelableBackgroundExecution(sptIdxTask); |
|
189 | 192 |
}} |
190 | 193 |
); |
191 |
}
|
|
194 |
} |
|
192 | 195 |
}//if |
193 | 196 |
if (globalTask.preprocess()) |
194 | 197 |
PluginServices.cancelableBackgroundExecution(globalTask); |
... | ... | |
200 | 203 |
} |
201 | 204 |
return true; |
202 | 205 |
} |
206 |
public int getWidth() { |
|
207 |
return 700; |
|
208 |
} |
|
203 | 209 |
|
210 |
public int getHeight() { |
|
211 |
return 300; |
|
212 |
} |
|
204 | 213 |
} |
205 | 214 |
|
Also available in: Unified diff