Revision 255
org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.spatialjoin/src/main/java/org/gvsig/geoprocess/algorithm/spatialjoin/SpatialJoinParametersPanel.java | ||
---|---|---|
115 | 115 |
gbc.weighty = 1.0; |
116 | 116 |
this.add(getRadioButtonTable(), gbc); |
117 | 117 |
|
118 |
//Salida propia |
|
119 |
/*gbc.gridy = 6; |
|
118 |
gbc.gridy = 6; |
|
120 | 119 |
gbc.fill = GridBagConstraints.HORIZONTAL; |
121 | 120 |
gbc.weighty = 0.0; |
122 |
this.add(getAlgorithmOutputPanel(), gbc);*/ |
|
123 |
|
|
124 |
//Salida de SEXTANTE |
|
125 |
try { |
|
126 |
final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects(); |
|
127 |
final Output out = ooSet.getOutput(GridCalculatorAlgorithm.RESULT); |
|
128 |
outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters()); |
|
129 |
gbc.gridy = 6; |
|
130 |
gbc.fill = GridBagConstraints.HORIZONTAL; |
|
131 |
gbc.weighty = 0.0; |
|
132 |
this.add(outputChannelSelectionPanel, gbc); |
|
133 |
} catch (final Exception e) { |
|
134 |
Sextante.addErrorToLog(e); |
|
135 |
} |
|
121 |
this.add(getOutputChannelSelectionPanel(), gbc); |
|
136 | 122 |
|
137 | 123 |
initTable(); |
138 | 124 |
getRadioButtonTable().setVisible(false); |
139 | 125 |
} |
140 | 126 |
|
141 | 127 |
/** |
142 |
* Gets the output panel |
|
128 |
* Gets the output panel (SEXTANTE)
|
|
143 | 129 |
* @return |
144 | 130 |
*/ |
131 |
private OutputChannelSelectionPanel getOutputChannelSelectionPanel() { |
|
132 |
if(outputChannelSelectionPanel == null) { |
|
133 |
try { |
|
134 |
final OutputObjectsSet ooSet = m_Algorithm.getOutputObjects(); |
|
135 |
final Output out = ooSet.getOutput(GridCalculatorAlgorithm.RESULT); |
|
136 |
outputChannelSelectionPanel = new OutputChannelSelectionPanel(out, m_Algorithm.getParameters()); |
|
137 |
} catch (final Exception e) { |
|
138 |
Sextante.addErrorToLog(e); |
|
139 |
} |
|
140 |
} |
|
141 |
return outputChannelSelectionPanel; |
|
142 |
} |
|
143 |
|
|
144 |
/** |
|
145 |
* Gets the output panel (DAL) |
|
146 |
* @return |
|
147 |
*/ |
|
145 | 148 |
private AlgorithmOutputPanel getAlgorithmOutputPanel() { |
146 |
if(output == null) |
|
149 |
if(output == null) {
|
|
147 | 150 |
output = new AlgorithmOutputPanel(); |
151 |
} |
|
148 | 152 |
return output; |
149 | 153 |
} |
150 | 154 |
|
Also available in: Unified diff