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 / CoworkerNatureImpl.js
index da11c72472c7cbd97e3402591290dc7a0c7586a1..a495563e603cb1fd53ed67c6881148f9e22a811d 100644 (file)
@@ -1,10 +1,9 @@
 qx.Class.define("org.argeo.security.ria.components.CoworkerNatureImpl", {\r
        extend : org.argeo.security.ria.components.SimpleUserNatureImpl,\r
-       properties : {\r
-               natureType : {\r
-                       refine : true,\r
-                       init : "Coworker"\r
-               }\r
+       statics : {\r
+               NATURE_TYPE : "org.argeo.security.nature.CoworkerNature",\r
+               NATURE_LABEL : "Co-Worker",\r
+               NATURE_ICON : ""\r
        },\r
        \r
        construct : function(){\r
@@ -39,10 +38,6 @@ qx.Class.define("org.argeo.security.ria.components.CoworkerNatureImpl", {
                                this.add(this.fields[key], {row:j,column:1});\r
                                j++;\r
                        }                       \r
-               },\r
-               \r
-               getNatureLabel : function(){\r
-                       return "Co-Worker";\r
-               }\r
+               }               \r
        }\r
 });
\ No newline at end of file