Revision 33276
trunk/extensions/extNormalization/build.number | ||
---|---|---|
1 | 1 |
#Build number for ANT. Do not edit! |
2 |
#Thu Mar 25 15:58:25 CET 2010 |
|
3 |
build.number=100 |
|
2 |
#Fri Aug 06 12:23:47 CEST 2010 |
|
3 |
build.number=104 |
trunk/extensions/extNormalization/src/org/gvsig/normalization/gui/NormPanelModel.java | ||
---|---|---|
758 | 758 |
private void loadTable(NormalizationNewTable normTable) { |
759 | 759 |
String name = normTable.getOuputFile().getName(); |
760 | 760 |
|
761 |
LayerFactory.getDataSourceFactory().addDataSource( |
|
762 |
normTable.getDriver(), name); |
|
761 |
// LayerFactory.getDataSourceFactory().addDataSource( |
|
762 |
// normTable.getDriver(), name); |
|
763 |
|
|
764 |
LayerFactory.getDataSourceFactory().addFileDataSource("gdbms dbf driver", |
|
765 |
name, normTable.getOuputFile().getAbsolutePath()); |
|
763 | 766 |
|
764 | 767 |
EditableAdapter editAdapterSecond = null; |
765 | 768 |
|
766 | 769 |
DataSource dtSecond; |
767 | 770 |
try { |
771 |
|
|
772 |
|
|
773 |
|
|
768 | 774 |
dtSecond = LayerFactory.getDataSourceFactory() |
769 | 775 |
.createRandomDataSource(name, |
770 |
DataSourceFactory.AUTOMATIC_OPENING); |
|
776 |
DataSourceFactory.AUTOMATIC_OPENING);
|
|
771 | 777 |
|
778 |
SelectableDataSource sel = new SelectableDataSource(dtSecond); |
|
779 |
|
|
772 | 780 |
editAdapterSecond = new EditableAdapter(); |
773 |
editAdapterSecond.setOriginalDataSource(new SelectableDataSource( |
|
774 |
dtSecond)); |
|
781 |
editAdapterSecond.setOriginalDataSource(sel); |
|
775 | 782 |
|
776 | 783 |
// add to doc factory |
777 | 784 |
ProjectTable ptsec = ProjectFactory.createTable(name, |
Also available in: Unified diff