Revision 42775 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

View differences:

FilesystemExplorerTableWizardPanel.java
51 51
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
52 52
import org.gvsig.fmap.dal.feature.FeatureStore;
53 53
import org.gvsig.i18n.Messages;
54
import org.gvsig.tools.dynobject.DynObject;
54 55
import org.gvsig.tools.dynobject.exception.DynFieldRequiredValueException;
55 56
import org.gvsig.tools.dynobject.exception.DynObjectValidateException;
56 57

  
......
68 69
        executeWizard();
69 70
    }
70 71

  
72
    @Override
71 73
    public Object executeWizard() {
72 74
        FeatureStore store;
73 75
        TableDocument table;
......
78 80
        PrepareContext context = this.getPrepareDataStoreContext();
79 81
        DataStoreParameters[] parameters = this.getParameters();
80 82
        List<TableDocument> tabledocs =
81
            new ArrayList<TableDocument>(parameters.length);
83
            new ArrayList<>(parameters.length);
82 84
        
83
        Set<String> not_valid = new HashSet<String>();
85
        Set<String> not_valid = new HashSet<>();
84 86
        
85 87
        for (DataStoreParameters params : parameters) {
86 88
            store = null;
......
156 158
        if (this.prepareDSContext == null) {
157 159
            this.prepareDSContext = new PrepareContext() {
158 160

  
161
                @Override
159 162
                public Window getOwnerWindow() {
160 163
                    return null;
161 164
                }
162 165
                
166
                @Override
163 167
                public IProjection getViewProjection() {
164 168
                	return null;
165 169
                }
......
169 173
        return this.prepareDSContext;
170 174
    }
171 175

  
176
    @Override
172 177
    public String getTabName() {
173 178
        return PluginServices.getText(this, "File");
174 179
    }
175 180

  
181

  
182
    @Override
183
    protected void showPropertiesDialog(final DynObject parameters) {
184
        FilesystemExplorerPropertiesPanelManager manager = ApplicationLocator.getFilesystemExplorerPropertiesPanelManager();
185
        FilesystemExplorerPropertiesPanel panel = manager.createPanel(parameters);        
186
        panel.setExcludeGeometryOptions(true);
187
        manager.showPropertiesDialog(parameters, panel);
188
        
189
        refreshFileList();
190
    }
191
    
176 192
}

Also available in: Unified diff