Revision 6055 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/clip/ClipGeoprocessPlugin.java
ClipGeoprocessPlugin.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.1 2006-06-23 19:02:35 azabala |
|
48 |
* Revision 1.2 2006-06-27 16:11:41 azabala |
|
49 |
* toString() added to Plugin interface to force textual representation of geoprocess plugins |
|
50 |
* |
|
51 |
* Revision 1.1 2006/06/23 19:02:35 azabala |
|
49 | 52 |
* first version in cvs |
50 | 53 |
* |
51 | 54 |
* Revision 1.1 2006/06/22 17:46:30 azabala |
... | ... | |
56 | 59 |
package com.iver.cit.gvsig.geoprocess.impl.clip; |
57 | 60 |
|
58 | 61 |
import java.net.URL; |
59 |
import java.util.TreeMap; |
|
60 | 62 |
|
61 | 63 |
import com.iver.andami.PluginServices; |
62 | 64 |
import com.iver.cit.gvsig.fmap.layers.FLayers; |
... | ... | |
64 | 66 |
import com.iver.cit.gvsig.geoprocess.core.IGeoprocessPlugin; |
65 | 67 |
import com.iver.cit.gvsig.geoprocess.core.gui.GeoProcessingOverlayPanel; |
66 | 68 |
import com.iver.cit.gvsig.geoprocess.core.gui.IGeoprocessPanel; |
67 |
import com.iver.cit.gvsig.geoprocess.impl.buffer.BufferGeoprocessPlugin; |
|
68 |
import com.iver.cit.gvsig.geoprocess.impl.buffer.gui.GeoProcessingBufferPanel; |
|
69 |
import com.iver.cit.gvsig.geoprocess.manager.GeoprocessManager; |
|
69 | 70 |
import com.iver.cit.gvsig.gui.View; |
70 | 71 |
|
71 | 72 |
public class ClipGeoprocessPlugin implements IGeoprocessPlugin { |
72 |
static TreeMap descriptions = new TreeMap(); |
|
73 | 73 |
static{ |
74 |
descriptions.put("Recorte", |
|
75 |
"Geoprocesos que permiten "+ |
|
76 |
"extraer nueva informaci?n "+ |
|
77 |
"de informaci?n ya existente"); |
|
78 |
descriptions.put("Recorte/Overlay", |
|
79 |
"Geoprocesos que realizan "+ |
|
80 |
"el cruce mediante "+ |
|
81 |
"interseccion de dos capas"); |
|
74 |
GeoprocessManager.registerPackageDescription( |
|
75 |
"Analisis/Overlay", |
|
76 |
"Geoprocesos que extraen "+ |
|
77 |
"informaci?n basandose en "+ |
|
78 |
"la superposici?n de dos capas"); |
|
82 | 79 |
} |
80 |
|
|
83 | 81 |
public IGeoprocessPanel getGeoprocessPanel() { |
84 | 82 |
View vista = (View)PluginServices. |
85 | 83 |
getMDIManager(). |
... | ... | |
108 | 106 |
} |
109 | 107 |
|
110 | 108 |
public String getNamespace() { |
111 |
return "Recorte/Overlay/Clip";
|
|
109 |
return "Analisis/Overlay/Clip";
|
|
112 | 110 |
} |
113 | 111 |
|
114 |
public String getDescriptionForPackage(String name) { |
|
115 |
return (String) descriptions.get(name); |
|
116 |
} |
|
117 |
|
|
118 | 112 |
public String toString(){ |
119 | 113 |
return "Clip"; |
120 | 114 |
} |
Also available in: Unified diff