[Formed-commits] r295 - in trunk: . formed/formed/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Nov 27 17:53:43 CET 2008
Author: torsten
Date: 2008-11-27 17:53:42 +0100 (Thu, 27 Nov 2008)
New Revision: 295
Modified:
trunk/ChangeLog
trunk/formed/formed/model/data.py
Log:
Added new attribute "mark" for rules
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-11-10 11:33:03 UTC (rev 294)
+++ trunk/ChangeLog 2008-11-27 16:53:42 UTC (rev 295)
@@ -1,3 +1,7 @@
+2008-11-27 Torsten Irländer <torsten.irlaender at intevation.de>
+
+ * formed/formed/model/data.py: Added new attribute mark for rules
+
2008-11-10 Torsten Irländer <torsten.irlaender at intevation.de>
Implemented radio-matrix elements. radio elelement having the same
Modified: trunk/formed/formed/model/data.py
===================================================================
--- trunk/formed/formed/model/data.py 2008-11-10 11:33:03 UTC (rev 294)
+++ trunk/formed/formed/model/data.py 2008-11-27 16:53:42 UTC (rev 295)
@@ -255,6 +255,7 @@
def __init__(self):
Leaf.__init__(self)
self.attributes["expr"] = ""
+ self.attributes["mark"] = ""
self.expr = None
def shallowCopy(self):
@@ -273,4 +274,11 @@
def getExpr(self):
return self.expr
+ def getMark(self):
+ return self.getAttribute("mark")
+
+ def setMark(self, mark):
+ self.setAttribute("mark", mark)
+
+
# vim:set ts=4 sw=4 si et sta sts=4:
More information about the Formed-commits
mailing list