01: package net.refractions.udig.mapgraphic.internal.ui;
02:
03: import java.io.Serializable;
04: import java.net.URL;
05: import java.util.Map;
06:
07: import net.refractions.udig.catalog.ui.UDIGConnectionFactory;
08: import net.refractions.udig.mapgraphic.internal.MapGraphicService;
09:
10: public class MapGraphicConnectionFactory extends UDIGConnectionFactory {
11:
12: public boolean canProcess(Object context) {
13: return false;
14: }
15:
16: public Map<String, Serializable> createConnectionParameters(
17: Object context) {
18: return null;
19: }
20:
21: public URL createConnectionURL(Object context) {
22: return MapGraphicService.SERVICE_URL;
23: }
24:
25: }
|