|
From: <de...@us...> - 2011-04-22 00:54:23
|
Revision: 6227
http://fudaa.svn.sourceforge.net/fudaa/?rev=6227&view=rev
Author: deniger
Date: 2011-04-22 00:54:17 +0000 (Fri, 22 Apr 2011)
Log Message:
-----------
Modified Paths:
--------------
trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/edition/ZModeleGeometryDefault.java
trunk/framework/fudaa-common/src/main/java/org/fudaa/fudaa/commun/FudaaPreferencesAbstract.java
Modified: trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/edition/ZModeleGeometryDefault.java
===================================================================
--- trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/edition/ZModeleGeometryDefault.java 2011-04-21 23:05:33 UTC (rev 6226)
+++ trunk/framework/ebli-2d/src/main/java/org/fudaa/ebli/calque/edition/ZModeleGeometryDefault.java 2011-04-22 00:54:17 UTC (rev 6227)
@@ -293,4 +293,11 @@
point(pt, _ind, _idVertex);
return pt;
}
+
+ /**
+ * @return the geometries_
+ */
+ public GISZoneCollectionGeometry getGeometries() {
+ return geometries_;
+ }
}
Modified: trunk/framework/fudaa-common/src/main/java/org/fudaa/fudaa/commun/FudaaPreferencesAbstract.java
===================================================================
--- trunk/framework/fudaa-common/src/main/java/org/fudaa/fudaa/commun/FudaaPreferencesAbstract.java 2011-04-21 23:05:33 UTC (rev 6226)
+++ trunk/framework/fudaa-common/src/main/java/org/fudaa/fudaa/commun/FudaaPreferencesAbstract.java 2011-04-22 00:54:17 UTC (rev 6227)
@@ -31,4 +31,23 @@
values_ = new Properties(defaultValues_);
readIniFile();
}
+
+ public String[] getStringArrayProperty(final String _key,final String[] _defaut){
+ final String s = getStringProperty(_key,null);
+ if (s == null) {
+ return _defaut;
+ }
+ return CtuluLibString.parseString(s, ";");
+ }
+
+ public void putStringArrayProperty(final String _key,final String[] _defaut){
+ putStringProperty(_key, CtuluLibString.arrayToString(_defaut, ";"));
+ }
+
+ /**
+ * Renvoie toutes les proprietes du projet y compris les valeurs par defaut.
+ */
+ public Enumeration allKeysWithDefaults(){
+ return values_.propertyNames();
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|