Sha256: 46811c606c9d9c90938f4f0019a87fe4f67a0b472034198583232db2b5f58d73

Contents?: true

Size: 951 Bytes

Versions: 35

Compression:

Stored size: 951 Bytes

Contents

Ext.define("Compass.ErpApp.Desktop.Applications.<%=class_name %>",{
    extend:"Ext.ux.desktop.Module",
    id:'<%=file_name %>-win',
    init : function(){
        this.launcher = {
            text: '<%=description %>',
            iconCls:'<%=icon %>',
            handler: this.createWindow,
            scope: this
        }
    },

    createWindow : function(){
       var desktop = this.app.getDesktop();
        var win = desktop.getWindow('<%=file_name %>');
        if(!win){
            win = desktop.createWindow({
                id: '<%=file_name %>',
                title:'<%=description %>',
                width:1000,
                height:550,
                iconCls: '<%=icon %>',
                shim:false,
                animCollapse:false,
                constrainHeader:true,
                layout: 'fit',
                items:[]
            });
        }
        win.show();
    }
});

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
erp_app-4.2.0 lib/generators/admin_tool/templates/assets/javascripts/Module.js.erb
erp_app-4.0.0 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.16 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.15 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.14 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.13 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.12 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.11 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.10 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.9 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.8 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.7 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.6 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.5 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.4 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.3 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.2 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.0.16 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.0.15 lib/generators/desktop_application/templates/public/module.js.erb
erp_app-3.1.1 lib/generators/desktop_application/templates/public/module.js.erb