Revision 259 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.dissolve/src/main/java/org/gvsig/geoprocess/algorithm/dissolve/DissolveParametersPanel.java
DissolveParametersPanel.java | ||
---|---|---|
38 | 38 |
import javax.swing.JLabel; |
39 | 39 |
import javax.swing.JPanel; |
40 | 40 |
|
41 |
import org.gvsig.geoprocess.core.CompositeSourceOutputChannel; |
|
42 | 41 |
import org.gvsig.geoprocess.lib.api.GeoProcessLocator; |
43 | 42 |
import org.gvsig.geoprocess.sextante.gui.algorithm.AlgorithmOutputPanel; |
44 | 43 |
import org.gvsig.gui.beans.table.TableContainer; |
... | ... | |
147 | 146 |
* Gets the output panel |
148 | 147 |
* @return |
149 | 148 |
*/ |
149 |
@SuppressWarnings("unused") |
|
150 | 150 |
private AlgorithmOutputPanel getAlgorithmOutputPanel() { |
151 | 151 |
if(algorithmOutputPanel == null) |
152 | 152 |
algorithmOutputPanel = new AlgorithmOutputPanel(); |
... | ... | |
308 | 308 |
|
309 | 309 |
OutputObjectsSet ooSet = m_Algorithm.getOutputObjects(); |
310 | 310 |
Output out = ooSet.getOutput(DissolveAlgorithm.RESULT); |
311 |
out.setOutputChannel(new CompositeSourceOutputChannel(getAlgorithmOutputPanel().getOutputParameters())); |
|
311 |
|
|
312 |
//Reponer estas l?neas para cambiar el panel de salida y comentar la siguiente |
|
313 |
//AlgorithmOutputPanel fsp = getAlgorithmOutputPanel(); |
|
314 |
//out.setOutputChannel(new CompositeSourceOutputChannel(fsp.getOutputParameters())); |
|
315 |
out.setOutputChannel(outputChannelSelectionPanel.getOutputChannel()); |
|
312 | 316 |
} catch (Exception e) { |
313 | 317 |
Sextante.addErrorToLog(e); |
314 | 318 |
} |
Also available in: Unified diff