Revision 911
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java | ||
---|---|---|
121 | 121 |
logger.debug("source.stop()"); |
122 | 122 |
source.stop(); |
123 | 123 |
|
124 |
|
|
124 | 125 |
// Si existe reproyecci?n, reproyectar el extent |
125 | 126 |
ICoordTrans ct = getCoordTrans(); |
126 | 127 |
|
... | ... | |
399 | 400 |
//Nombre en el GDBMS de la tabla |
400 | 401 |
String name = this.toString(); |
401 | 402 |
|
402 |
try{ |
|
403 |
try {
|
|
403 | 404 |
DataSource ds = source.getRecordset(name); |
404 | 405 |
|
405 | 406 |
if (ds == null) { |
406 | 407 |
return null; |
407 | 408 |
} |
408 | 409 |
|
409 |
sds = new SelectableDataSource(getName(), ds);
|
|
410 |
sds = new SelectableDataSource(name, ds);
|
|
410 | 411 |
sds.setSelectionSupport(selectionSupport); |
411 | 412 |
} catch (DriverLoadException e) { |
412 | 413 |
throw new DriverException(e); |
... | ... | |
499 | 500 |
if (source instanceof VectorialFileAdapter) { |
500 | 501 |
xml.putProperty("file", ((VectorialFileAdapter) source).getFile()); |
501 | 502 |
} else if (source instanceof VectorialDBAdapter) { |
502 |
//TODO Falta que implementar |
|
503 | 503 |
} else if (source instanceof WFSAdapter) { |
504 |
//TODO Falta que implementar |
|
505 | 504 |
} |
506 | 505 |
|
507 | 506 |
xml.putProperty("driverName", getSource().getDriver().getName()); |
... | ... | |
568 | 567 |
public void changeRecordsetName(String newName) throws DriverException { |
569 | 568 |
source.changeRecordsetName(newName); |
570 | 569 |
} |
570 |
|
|
571 |
/** |
|
572 |
* DOCUMENT ME! |
|
573 |
* |
|
574 |
* @return DOCUMENT ME! |
|
575 |
*/ |
|
576 |
public String toString() { |
|
577 |
/* |
|
578 |
* Se usa internamente para que la parte de datos |
|
579 |
* identifique de forma un?voca las tablas |
|
580 |
*/ |
|
581 |
String ret = super.toString(); |
|
582 |
|
|
583 |
return "layer" + ret.substring(ret.indexOf('@') + 1); |
|
584 |
} |
|
571 | 585 |
} |
Also available in: Unified diff