Revision 43152 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/fmap/dal/serverexplorer/filesystem/swing/FilesystemExplorerTableWizardPanel.java
FilesystemExplorerTableWizardPanel.java | ||
---|---|---|
81 | 81 |
DataStoreParameters[] parameters = this.getParameters(); |
82 | 82 |
List<TableDocument> tabledocs = |
83 | 83 |
new ArrayList<>(parameters.length); |
84 |
|
|
84 |
|
|
85 | 85 |
Set<String> not_valid = new HashSet<>(); |
86 |
|
|
86 |
|
|
87 | 87 |
for (DataStoreParameters params : parameters) { |
88 | 88 |
store = null; |
89 |
|
|
89 |
|
|
90 | 90 |
/* |
91 | 91 |
* Try to validate. |
92 | 92 |
*/ |
... | ... | |
104 | 104 |
} |
105 | 105 |
buffer.append(exx.getMessage()); |
106 | 106 |
} |
107 |
|
|
107 |
|
|
108 | 108 |
} |
109 | 109 |
} |
110 | 110 |
String msg = params.getDataStoreName(); |
... | ... | |
115 | 115 |
not_valid.add(msg); |
116 | 116 |
continue; |
117 | 117 |
} |
118 |
|
|
118 |
|
|
119 | 119 |
try { |
120 | 120 |
|
121 | 121 |
DataManager dataManager = DALLocator.getDataManager(); |
... | ... | |
140 | 140 |
} |
141 | 141 |
|
142 | 142 |
} |
143 |
|
|
143 |
|
|
144 | 144 |
if (not_valid.size() > 0) { |
145 | 145 |
String not_str = not_valid.toString(); |
146 | 146 |
JOptionPane.showMessageDialog( |
... | ... | |
162 | 162 |
public Window getOwnerWindow() { |
163 | 163 |
return null; |
164 | 164 |
} |
165 |
|
|
165 |
|
|
166 | 166 |
@Override |
167 | 167 |
public IProjection getViewProjection() { |
168 | 168 |
return null; |
... | ... | |
182 | 182 |
@Override |
183 | 183 |
protected void showPropertiesDialog(final DynObject parameters) { |
184 | 184 |
FilesystemExplorerPropertiesPanelManager manager = ApplicationLocator.getFilesystemExplorerPropertiesPanelManager(); |
185 |
FilesystemExplorerPropertiesPanel panel = manager.createPanel(parameters);
|
|
185 |
FilesystemExplorerPropertiesPanel panel = manager.createPanel(parameters); |
|
186 | 186 |
panel.setExcludeGeometryOptions(true); |
187 | 187 |
manager.showPropertiesDialog(parameters, panel); |
188 |
|
|
189 |
refreshFileList(); |
|
190 | 188 |
} |
191 |
|
|
189 |
|
|
190 |
|
|
192 | 191 |
} |
Also available in: Unified diff