Revision 22892 trunk/extensions/extTopology/src/org/gvsig/topology/RegisterGeoprocessesExtension.java
RegisterGeoprocessesExtension.java | ||
---|---|---|
52 | 52 |
import com.iver.andami.plugins.Extension; |
53 | 53 |
import com.iver.cit.gvsig.geoprocess.impl.fliplines.FlipLinesGeoprocessPlugin; |
54 | 54 |
import com.iver.cit.gvsig.geoprocess.impl.generalization.GeneralizationGeoprocessPlugin; |
55 |
import com.iver.cit.gvsig.geoprocess.impl.lineorpolygontopoints.LineToPointsGeoprocessPlugin; |
|
56 |
import com.iver.cit.gvsig.geoprocess.impl.polytolines.PolyToLinesGeoprocessPlugin; |
|
57 |
import com.iver.cit.gvsig.geoprocess.impl.referencing.ReferencingGeoprocessPlugin; |
|
58 |
import com.iver.cit.gvsig.geoprocess.impl.smooth.SmoothGeoprocessPlugin; |
|
55 | 59 |
import com.iver.cit.gvsig.geoprocess.impl.snapandcrack.SnapAndCrackGeoprocessPlugin; |
56 | 60 |
import com.iver.cit.gvsig.geoprocess.impl.voronoi.VoronoiGeoprocessPlugin; |
57 | 61 |
import com.iver.utiles.extensionPoints.ExtensionPoints; |
... | ... | |
76 | 80 |
extensionPoints.add("GeoprocessManager", |
77 | 81 |
"FLIPLINES", |
78 | 82 |
FlipLinesGeoprocessPlugin.class); |
83 |
|
|
84 |
extensionPoints.add("GeoprocessManager", |
|
85 |
"POLYGONTOLINES", |
|
86 |
PolyToLinesGeoprocessPlugin.class); |
|
87 |
|
|
88 |
extensionPoints.add("GeoprocessManager", |
|
89 |
"POLYGONORLINESTOPOINTS", |
|
90 |
LineToPointsGeoprocessPlugin.class); |
|
91 |
|
|
92 |
extensionPoints.add("GeoprocessManager", |
|
93 |
"SMOOTH_GEOMETRIES", |
|
94 |
SmoothGeoprocessPlugin.class); |
|
95 |
|
|
96 |
extensionPoints.add("GeoprocessManager", |
|
97 |
"SPATIAL_ADJUST", |
|
98 |
ReferencingGeoprocessPlugin.class); |
|
79 | 99 |
registerIcons(); |
80 | 100 |
} |
81 | 101 |
|
... | ... | |
99 | 119 |
FlipLinesGeoprocessPlugin.class.getResource("resources/flipline_desc.png") |
100 | 120 |
); |
101 | 121 |
|
122 |
PluginServices.getIconTheme().registerDefault( |
|
123 |
"polytolines-icon", |
|
124 |
PolyToLinesGeoprocessPlugin.class.getResource("resources/polygontoline_desc.gif") |
|
125 |
); |
|
102 | 126 |
|
127 |
PluginServices.getIconTheme().registerDefault( |
|
128 |
"linetopoints-icon", |
|
129 |
LineToPointsGeoprocessPlugin.class.getResource("resources/linetopoint_desc.gif") |
|
130 |
); |
|
103 | 131 |
|
132 |
PluginServices.getIconTheme().registerDefault( |
|
133 |
"smoothdesc-icon", |
|
134 |
SmoothGeoprocessPlugin.class.getResource("resources/smooth_desc.gif") |
|
135 |
); |
|
136 |
|
|
137 |
PluginServices.getIconTheme().registerDefault( |
|
138 |
"spatialadjustdesc-icon", |
|
139 |
ReferencingGeoprocessPlugin.class.getResource("resources/spatial_ adjust_desc.gif") |
|
140 |
); |
|
141 |
|
|
142 |
|
|
143 |
|
|
104 | 144 |
} |
105 | 145 |
|
106 | 146 |
public void execute(String actionCommand) { |
Also available in: Unified diff