},
command : null
- },
+ }
+ /*,
+ "copytocollection" : {
+ shared : true,
+ selectionChange : function(viewId, xmlNode){
+ if(viewId != "applet") return;
+ if(!xmlNode){
+ this.setEnabled(false);
+ }else{
+ this.setEnabled(true);
+ }
+ }
+ },
"deletetest" : {
shared : true,
callback : function(e){
}
}
}
+ */
}
}
},
members :
{
- /**
- * Called at applet creation. Just registers viewPane.
- * @param viewPane {org.argeo.ria.components.ViewPane} The viewPane.
- */
init : function(viewPane, xmlNode){
this.setView(viewPane);
this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId()));
}
},
- /**
- * Load a given test : the data passed must be an XML node containing the test unique ID.
- * @param xmlNode {Element} The text xml description.
- */
load : function(){
if(!this.data) return;
if(this.loaded) return;