Added 'order' attribute to INode interface
authorThierry Florac <thierry.florac@onf.fr>
Mon, 03 Dec 2018 10:27:22 +0100
changeset 288 d2798df7cb42
parent 287 b1d04fd782b6
child 292 b338586588ad
Added 'order' attribute to INode interface
src/pyams_utils/interfaces/tree.py
--- a/src/pyams_utils/interfaces/tree.py	Mon Dec 03 10:27:02 2018 +0100
+++ b/src/pyams_utils/interfaces/tree.py	Mon Dec 03 10:27:22 2018 +0100
@@ -13,18 +13,8 @@
 #
 ##############################################################################
 
-
-# import standard packages
-
-# import Zope3 interfaces
-
-# import local interfaces
-
-# import Zope3 packages
 from zope.interface import Interface, Attribute
 
-# import local packages
-
 
 class INode(Interface):
     """Tree node interface"""
@@ -35,6 +25,8 @@
 
     css_class = Attribute("Node's CSS class")
 
+    order = Attribute("Node's order")
+
     def get_level(self):
         """Get depth level of current node"""