Revision 37891 branches/v2_0_0_prep/libraries/org.gvsig.newlayer/org.gvsig.newlayer.prov/org.gvsig.newlayer.prov.file/src/main/java/org/gvsig/newlayer/prov/file/AbstractNewLayerFileProviderFactory.java

View differences:

AbstractNewLayerFileProviderFactory.java
29 29
 * @author gvSIG Team
30 30
 * @version $Id$
31 31
 */
32
public abstract class AbstractNewLayerFileProviderFactory extends AbstractNewLayerProviderFactory {
33
    private static final String PROVIDER_NAME = "Shape";
34
    private static final String PROVIDER_DESCRIPTION = "Create a new shape file";
35
    
36
	public String getDescription() {
37
		return PROVIDER_DESCRIPTION;
38
	}
32
public abstract class AbstractNewLayerFileProviderFactory extends
33
    AbstractNewLayerProviderFactory {
39 34

  
40
	public boolean isSpatial() {
41
		return true;
42
	}
43

  
44
	public String getName() {
45
		return PROVIDER_NAME;
46
	}	
47 35
}

Also available in: Unified diff