Importer.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. MWF.xApplication.process.FormDesigner.Module = MWF.xApplication.process.FormDesigner.Module || {};
  2. MWF.xDesktop.requireApp("process.FormDesigner", "Module.$Element", null, false);
  3. MWF.xApplication.process.FormDesigner.Module.Importer = MWF.FCImporter = new Class({
  4. Extends: MWF.xApplication.process.FormDesigner.Module.Button,
  5. Implements: [Options, Events],
  6. options: {
  7. "style": "default",
  8. "propertyPath": "../x_component_process_FormDesigner/Module/Importer/importer.html"
  9. },
  10. initialize: function(form, options){
  11. this.setOptions(options);
  12. this.path = "../x_component_process_FormDesigner/Module/Importer/";
  13. this.cssPath = "../x_component_process_FormDesigner/Module/Importer/"+this.options.style+"/css.wcss";
  14. this._loadCss();
  15. this.moduleType = "element";
  16. this.moduleName = "importer";
  17. this.form = form;
  18. this.container = null;
  19. this.containerNode = null;
  20. },
  21. // _checkView: function(callback){
  22. // if( this.property && this.property.viewFilter ){
  23. // if (this.json["queryStatement"] && this.json["queryStatement"]!="none"){
  24. // this.property.viewFilter.resetStatementData( this.json["queryStatement"].id );
  25. // }else{
  26. // this.property.viewFilter.resetStatementData();
  27. // }
  28. // }
  29. // }
  30. });