ViewSelector.js 922 B

12345678910111213141516171819202122232425
  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.ViewSelector = MWF.FCViewSelector = 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/ViewSelector/ViewSelector.html"
  9. },
  10. initialize: function(form, options){
  11. this.setOptions(options);
  12. this.path = "../x_component_process_FormDesigner/Module/ViewSelector/";
  13. this.cssPath = "../x_component_process_FormDesigner/Module/ViewSelector/"+this.options.style+"/css.wcss";
  14. this._loadCss();
  15. this.moduleType = "element";
  16. this.moduleName = "viewSelector";
  17. this.form = form;
  18. this.container = null;
  19. this.containerNode = null;
  20. }
  21. });