-/* ************************************************************************\r
-\r
- Copyright: 2008 Argeo\r
-\r
- License: \r
-\r
- Authors: Charles du Jeu\r
-\r
-************************************************************************ */\r
+/**\r
+ * This can be triggered at the end of a IO Request. In that case, it contains\r
+ * a data type as an identifier, and the request response itself.\r
+ * Can be used this way to listen for data changes from various parts of the application.\r
+ */\r
qx.Class.define("org.argeo.ria.event.ReloadEvent",\r
{\r
extend : qx.event.type.Event,\r
this.base(arguments);\r
},\r
members : {\r
+ /**\r
+ * Basic initialisation of event\r
+ * @param dataType {String} a unique data identifier\r
+ * @param content {mixed} the retrieved data\r
+ */\r
init: function(dataType, content){\r
this.setDataType(dataType);\r
this.setContent(content); \r
}\r
},\r
properties :{\r
- dataType : {init:null},\r
+ /**\r
+ * A unique data identifier \r
+ */\r
+ dataType : {init:null, check:"String"},\r
+ /**\r
+ * The new data content \r
+ */\r
content : {init:null}\r
}\r
});
\ No newline at end of file