]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/source/class/org/argeo/ria/components/ILoadStatusable.js
Handle "toggle" command, clean modal layout, handle separators in submenus.
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / source / class / org / argeo / ria / components / ILoadStatusable.js
index 11f4e10ec6ba812da22c5583cd3e3b1a2be33dec..dcb95547f00a6acdb2d054c9a221badee0a59168 100644 (file)
@@ -1,12 +1,19 @@
 /**\r
- * @author Charles du Jeu\r
  * \r
+ * Any component implementing this interface will generally be a user-interface indicating \r
+ * a "loading" status (button enabled/disabled, animated loading gif, etc...).\r
+ * The RequestManager can handle such an array of ILoadStatusable at the beginning/end of a Request.\r
+ * \r
+ * @author Charles du Jeu\r
  */\r
 qx.Interface.define("org.argeo.ria.components.ILoadStatusable", {\r
        \r
        members : {\r
-               setOnLoad : function(status){\r
-                       return true;\r
-               }\r
+               /**\r
+                * Sets the current status of the component.\r
+                * @param status {boolean} load status\r
+                * @return {Boolean}\r
+                */\r
+               setOnLoad : function(status){return true;}\r
        }\r
 });
\ No newline at end of file