Lot of changes in the user editor
[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..5d5c97e4d8aee2b5029fabed726d029c23527c46 100644 (file)
@@ -1,11 +1,18 @@
 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
        },\r
        members : {\r
-               getNatureLabel : function(){return true},\r
                setData : function(dataMap, format){return true;}\r
        }\r
 });
\ No newline at end of file