Revision 28430 branches/v2_0_0_prep/extensions/extWFS2/src/org/gvsig/fmap/dal/store/wfs/WFSLibrary.java

View differences:

WFSLibrary.java
32 32
import org.gvsig.fmap.dal.serverexplorer.wfs.WFSServerExplorer;
33 33
import org.gvsig.fmap.dal.serverexplorer.wfs.WFSServerExplorerParameters;
34 34
import org.gvsig.fmap.dal.spi.DataManagerProviderServices;
35
import org.gvsig.tools.ToolsLocator;
36
import org.gvsig.tools.extensionpoint.ExtensionPoint;
37
import org.gvsig.tools.extensionpoint.ExtensionPointManager;
35 38
import org.gvsig.tools.locator.BaseLibrary;
36 39
import org.gvsig.tools.locator.ReferenceNotRegisteredException;
37 40

  
......
64 67
		if (!dataman.getExplorerProviders().contains(WFSServerExplorer.NAME)){
65 68
			dataman.registerExplorerProvider(WFSServerExplorer.NAME,
66 69
					WFSServerExplorer.class, WFSServerExplorerParameters.class);
67
		}		
70
		}	
71
		
72
		//Register the WFSStroreParams to be loaded from the catalog extension
73
		ExtensionPointManager extensionPointManager = ToolsLocator
74
		.getExtensionPointManager();
75
		ExtensionPoint extensionPoint = extensionPointManager.add("CatalogDataStoreParameters");
76
		extensionPoint.append("OGC:WFS", "Data store parameters to load a WFS layer", WFSStoreParameters.class);
68 77
	}
69 78
}
70 79

  

Also available in: Unified diff