Revision 35745 branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.mysql/src/main/java/org/gvsig/exportto/swing/prov/mysql/ExporttoMySQLProviderFactory.java

View differences:

ExporttoMySQLProviderFactory.java
23 23

  
24 24
import org.cresques.cts.IProjection;
25 25

  
26
import org.gvsig.exportto.swing.ExporttoSwingManager;
26 27
import org.gvsig.exportto.swing.prov.file.AbstractExporttoFileProviderFactory;
27 28
import org.gvsig.fmap.dal.feature.FeatureStore;
28 29
import org.gvsig.tools.dynobject.DynObject;
......
39 40
public class ExporttoMySQLProviderFactory extends AbstractExporttoFileProviderFactory {
40 41
    private static final String PROVIDER_NAME = "MySQL";
41 42
    private static final String PROVIDER_DESCRIPTION = "Provider to Export to MySQL";
42

  
43
    
44
    public ExporttoMySQLProviderFactory() {
45
        super(new int[]{ExporttoSwingManager.VECTORIAL_TABLE_WITHOUT_GEOMETRY,
46
            ExporttoSwingManager.VECTORIAL_TABLE_WITH_GEOMETRY});        
47
    }
48
    
43 49
    public Provider create(DynObject parameters, ProviderServices services)
44 50
    throws ServiceException {
45 51
        return new ExporttoMySQLProvider(services, (FeatureStore)parameters.getDynValue(PARAMETER_FEATURESTORE),

Also available in: Unified diff