Revision 37780 branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.dxf/src/main/java/org/gvsig/exportto/swing/prov/dxf/ExporttoDXFProviderFactory.java
ExporttoDXFProviderFactory.java | ||
---|---|---|
37 | 37 |
* @author gvSIG Team |
38 | 38 |
* @version $Id$ |
39 | 39 |
*/ |
40 |
public class ExporttoDXFProviderFactory extends AbstractExporttoFileProviderFactory { |
|
40 |
public class ExporttoDXFProviderFactory extends |
|
41 |
AbstractExporttoFileProviderFactory { |
|
42 |
|
|
41 | 43 |
private static final String PROVIDER_NAME = "DXF"; |
42 |
|
|
44 |
|
|
43 | 45 |
public ExporttoDXFProviderFactory() { |
44 |
super(new int[]{ExporttoSwingManager.VECTORIAL_TABLE_WITH_GEOMETRY});
|
|
46 |
super(new int[] { ExporttoSwingManager.VECTORIAL_TABLE_WITH_GEOMETRY });
|
|
45 | 47 |
} |
46 | 48 |
|
47 | 49 |
public Provider create(DynObject parameters, ProviderServices services) |
48 |
throws ServiceException { |
|
49 |
return new ExporttoDXFProvider(services, (FeatureStore)parameters.getDynValue(PARAMETER_FEATURESTORE), |
|
50 |
(IProjection)parameters.getDynValue(PARAMETER_PROJECTION)); |
|
50 |
throws ServiceException { |
|
51 |
return new ExporttoDXFProvider(services, |
|
52 |
(FeatureStore) parameters.getDynValue(PARAMETER_FEATURESTORE), |
|
53 |
(IProjection) parameters.getDynValue(PARAMETER_PROJECTION)); |
|
51 | 54 |
} |
52 | 55 |
|
53 | 56 |
public String getName() { |
Also available in: Unified diff