]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/src/main/webapp/source/class/org/argeo/ria/event/ReloadEvent.js
Initialize menuClones in the constructor
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / source / class / org / argeo / ria / event / ReloadEvent.js
1 /**
2 * This can be triggered at the end of a IO Request. In that case, it contains
3 * a data type as an identifier, and the request response itself.
4 * Can be used this way to listen for data changes from various parts of the application.
5 */
6 qx.Class.define("org.argeo.ria.event.ReloadEvent",
7 {
8 extend : qx.event.type.Event,
9
10 construct : function(){
11 this.base(arguments);
12 },
13 members : {
14 /**
15 * Basic initialisation of event
16 * @param dataType {String} a unique data identifier
17 * @param content {mixed} the retrieved data
18 */
19 init: function(dataType, content){
20 this.setDataType(dataType);
21 this.setContent(content);
22 }
23 },
24 properties :{
25 /**
26 * A unique data identifier
27 */
28 dataType : {init:null, check:"String"},
29 /**
30 * The new data content
31 */
32 content : {init:null}
33 }
34 });