Roles management working good
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.ria / src / argeo-ria-lib / security / class / org / argeo / security / ria / components / INaturePane.js
index 038a26d1acb9f5a4df2cb388a035621e79165edf..1938fa727bd3e75913a24c82f5c75e50b856956d 100644 (file)
@@ -1,11 +1,22 @@
 qx.Interface.define("org.argeo.security.ria.components.INaturePane", {\r
        extend  : org.argeo.security.ria.components.IUserDataPane,\r
+       statics : {\r
+               NATURE_TYPE : "",\r
+               NATURE_LABEL : "",\r
+               NATURE_ICON : ""\r
+       },\r
        properties : {\r
-               natureUuid : {},\r
-               natureType : {}\r
+               editMode : {\r
+                       init : true,\r
+                       apply : "_applyEditMode",                       \r
+                       event : "changeEditMode"\r
+               },\r
+               isNew   : {\r
+                       init : false,\r
+                       check : "Boolean"\r
+               }\r
        },\r
        members : {\r
-               getNatureLabel : function(){return true},\r
                setData : function(dataMap, format){return true;}\r
        }\r
 });
\ No newline at end of file