Revision 6055 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/convexhull/ConvexHullGeoprocessPlugin.java

View differences:

ConvexHullGeoprocessPlugin.java
45 45
*
46 46
* $Id$
47 47
* $Log$
48
* Revision 1.1  2006-06-23 19:02:56  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:56  azabala
49 52
* first version in cvs
50 53
*
51 54
*
......
65 68
import com.iver.cit.gvsig.geoprocess.core.gui.IGeoprocessPanel;
66 69
import com.iver.cit.gvsig.geoprocess.impl.clip.ClipGeoprocessPlugin;
67 70
import com.iver.cit.gvsig.geoprocess.impl.convexhull.gui.GeoProcessingConvexHullPanel;
71
import com.iver.cit.gvsig.geoprocess.manager.GeoprocessManager;
68 72
import com.iver.cit.gvsig.gui.View;
69 73

  
70 74
public class ConvexHullGeoprocessPlugin implements IGeoprocessPlugin {
71 75
	static TreeMap descriptions = new TreeMap();
72 76
	static{
73
		descriptions.put("Analisis", 
77
		GeoprocessManager.registerPackageDescription("Analisis", 
74 78
				"Geoprocesos que permiten "+
75 79
				"extraer nueva informaci?n "+
76 80
				"de informaci?n ya existente");
77
		descriptions.put("Analisis/GC",
81
		GeoprocessManager.registerPackageDescription("Analisis/GC",
78 82
				"Geoprocesos que realizan "+
79 83
				"geometria computacional ");
80 84
	}
......
106 110
		return "Analisis/GC/Convex Hull";
107 111
	}
108 112

  
109
	public String getDescriptionForPackage(String name) {
110
		return (String) descriptions.get(name);
111
	}
112
	
113 113
	public String toString(){
114 114
		return "Convex Hull";
115 115
	}

Also available in: Unified diff