Revision 24878 branches/v2_0_0_prep/applications/appgvSIG/src/com/prodevelop/cit/gvsig/vectorialdb/wizard/VectorialDBConnectionManagerDialog.java
VectorialDBConnectionManagerDialog.java | ||
---|---|---|
56 | 56 |
import javax.swing.tree.TreeCellRenderer; |
57 | 57 |
|
58 | 58 |
import org.apache.log4j.Logger; |
59 |
import org.gvsig.fmap.dal.DataExplorerParameters; |
|
59 |
import org.gvsig.fmap.dal.DataServerExplorerParameters;
|
|
60 | 60 |
import org.gvsig.fmap.data.feature.db.DBExplorerParameters; |
61 | 61 |
|
62 | 62 |
import com.iver.andami.PluginServices; |
... | ... | |
238 | 238 |
// ArrayList cc = (ArrayList) aux_nodes.get(k); |
239 | 239 |
// |
240 | 240 |
// for (int i = 0; i < cc.size(); i++) { |
241 |
// DataExplorerParameters conwp=null; |
|
241 |
// DataServerExplorerParameters conwp=null;
|
|
242 | 242 |
// for (int j=0;j<((String[])cc.get(i)).length;j++){ |
243 | 243 |
// try { |
244 |
// conwp = (DataExplorerParameters) dm.createDataExplorerParameters(((String[])cc.get(i))[j]); |
|
244 |
// conwp = (DataServerExplorerParameters) dm.createDataExplorerParameters(((String[])cc.get(i))[j]);
|
|
245 | 245 |
// VectorialDBConnectionTreeLeaf leaf = new VectorialDBConnectionTreeLeaf(conwp); |
246 | 246 |
// node.add(leaf); |
247 | 247 |
// } catch (InitializeException e) { |
... | ... | |
294 | 294 |
} |
295 | 295 |
|
296 | 296 |
VectorialDBConnectionTreeLeaf leaf = (VectorialDBConnectionTreeLeaf) obj; |
297 |
DataExplorerParameters _cwp = leaf.getConnectionWithParams(); |
|
297 |
DataServerExplorerParameters _cwp = leaf.getConnectionWithParams();
|
|
298 | 298 |
|
299 | 299 |
// if (_cwp.isConnected()) { |
300 | 300 |
// _cwp.disconnect(); |
... | ... | |
392 | 392 |
} |
393 | 393 |
|
394 | 394 |
VectorialDBConnectionTreeLeaf leaf = (VectorialDBConnectionTreeLeaf) obj; |
395 |
DataExplorerParameters _cwp = leaf.getConnectionWithParams(); |
|
395 |
DataServerExplorerParameters _cwp = leaf.getConnectionWithParams();
|
|
396 | 396 |
// SingleVectorialDBConnectionManager.instance().closeAndRemove(_cwp); |
397 | 397 |
refreshTree(); |
398 | 398 |
} |
... | ... | |
410 | 410 |
} |
411 | 411 |
|
412 | 412 |
VectorialDBConnectionTreeLeaf leaf = (VectorialDBConnectionTreeLeaf) obj; |
413 |
DataExplorerParameters old_cwp = leaf.getConnectionWithParams(); |
|
413 |
DataServerExplorerParameters old_cwp = leaf.getConnectionWithParams();
|
|
414 | 414 |
|
415 | 415 |
VectorialDBConnectionParamsDialog modifyco = new VectorialDBConnectionParamsDialog(); |
416 | 416 |
modifyco.loadValues((DBExplorerParameters)old_cwp); |
Also available in: Unified diff