|
From: <bma...@us...> - 2010-10-26 10:17:32
|
Revision: 6011
http://fudaa.svn.sourceforge.net/fudaa/?rev=6011&view=rev
Author: bmarchan
Date: 2010-10-26 10:17:26 +0000 (Tue, 26 Oct 2010)
Log Message:
-----------
removeAll() generalis?\195?\169 ?\195?\160 GISZoneCollection
Modified Paths:
--------------
trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollection.java
trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java
trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionPoint.java
Modified: trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollection.java
===================================================================
--- trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollection.java 2010-10-25 09:44:10 UTC (rev 6010)
+++ trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollection.java 2010-10-26 10:17:26 UTC (rev 6011)
@@ -284,6 +284,16 @@
super.geometry_.remove(_idx, _cmd);
}
+ /**
+ * Supprime toutes les g\xE9om\xE9tries.
+ * @param _cmd Le container de commande
+ */
+ public void removeAll(final CtuluCommandContainer _cmd) {
+ if (isGeomModifiable_ && getNumGeometries() > 0) {
+ geometry_.removeAll(_cmd);
+ }
+ }
+
public GISAttributeModel[] getAtomicAttributeSubModel(final int _geomIdx) {
final int nb = getNbAttributes();
final List<GISAttributeModel> r = new ArrayList<GISAttributeModel>(nb);
Modified: trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java
===================================================================
--- trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java 2010-10-25 09:44:10 UTC (rev 6010)
+++ trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java 2010-10-26 10:17:26 UTC (rev 6011)
@@ -438,14 +438,6 @@
super.geometry_.remove(_idx, _cmd);
}
- /**
- * Supprime toutes les lignes.
- * @param _cmd Le container de commande
- */
- public void removeAll(final CtuluCommandContainer _cmd) {
- super.geometry_.removeAll(_cmd);
- }
-
@Override
public void setCoordinateSequence(final int _idx, final CoordinateSequence _newSeq, final CtuluCommandContainer _cmd) {
final LineString old = (LineString) super.geometry_.getValueAt(_idx);
Modified: trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionPoint.java
===================================================================
--- trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionPoint.java 2010-10-25 09:44:10 UTC (rev 6010)
+++ trunk/framework/ctulu-gis/src/main/java/org/fudaa/ctulu/gis/GISZoneCollectionPoint.java 2010-10-26 10:17:26 UTC (rev 6011)
@@ -283,12 +283,6 @@
return geometry_.remove(_indiceDuPointAEnlever, _cmd);
}
- public void removeAll(final CtuluCommandContainer _cmd) {
- if (isGeomModifiable_ && getNumGeometries() > 0) {
- geometry_.removeAll(_cmd);
- }
- }
-
public final boolean get(final int _i, final GISPointMutable _p) {
_p.initWith(get(_i));
return true;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|