Revision 43430 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/project/documents/table/gui/GeneralTablePropertiesPage.java
GeneralTablePropertiesPage.java | ||
---|---|---|
10 | 10 |
import org.gvsig.fmap.dal.exception.DataException; |
11 | 11 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
12 | 12 |
import org.gvsig.fmap.dal.feature.FeatureType; |
13 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters; |
|
13 | 14 |
import org.gvsig.fmap.mapcontrol.dal.feature.swing.table.FeatureTableConfigurationPanel; |
14 | 15 |
import org.gvsig.propertypage.PropertiesPage; |
15 | 16 |
import org.gvsig.tools.ToolsLocator; |
... | ... | |
60 | 61 |
if ( localeOfData != null ) { |
61 | 62 |
this.cboLocaleOfData.setSelectedItem(new LocaleComboBoxItem(localeOfData)); |
62 | 63 |
} |
63 |
|
|
64 |
if( tableDocument.getFeatureStore().getParameters() instanceof FilesystemStoreParameters ) { |
|
65 |
FilesystemStoreParameters params = (FilesystemStoreParameters) tableDocument.getFeatureStore().getParameters(); |
|
66 |
this.txtDataSource.setText(params.getFile().getAbsolutePath()); |
|
67 |
} else { |
|
68 |
this.txtDataSource.setText(tableDocument.getFeatureStore().getFullName()); |
|
69 |
} |
|
64 | 70 |
translate(); |
65 | 71 |
} |
66 | 72 |
|
... | ... | |
73 | 79 |
lblLocaleOfData.setText(i18nManager.getTranslation("locale_XcolonX")); |
74 | 80 |
lblComments.setText(i18nManager.getTranslation("comentarios_XcolonX")); |
75 | 81 |
lblColumns.setText(i18nManager.getTranslation("_Column_information_XcolonX")); |
82 |
lblDataSource.setText(i18nManager.getTranslation("Data_source")); |
|
76 | 83 |
|
77 | 84 |
} |
78 | 85 |
|
Also available in: Unified diff