{
    "type": "Ext.app.Application",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "controllers": [
            "Content",
            "Data",
            "CRUD"
        ],
        "models": [
            "restriction",
            "idtext"
        ],
        "name": "MyApp",
        "stores": [
            "restrictions",
            "RestrictionTypes",
            "Scopes",
            "Fields"
        ],
        "views": [
            "MyPanel",
            "Restriction"
        ]
    },
    "designerId": "application",
    "cn": [
        {
            "type": "basicfunction",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "fn": "getParams",
                "implHandler": [
                    "return Ext.Object.fromQueryString(document.location.search);"
                ]
            },
            "designerId": "bd955ba0-cc3f-4a2f-b4e1-e0f286c24b75"
        },
        {
            "type": "fixedfunction",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "fn": "launch",
                "implHandler": [
                    "this.msgCt = Ext.DomHelper.insertFirst(document.body, {id:'msg-div'}, true);\r",
                    "Ext.define('Monitoring.overrides.Connection', {\r",
                    "  override: 'Ext.data.Connection',\r",
                    "  constructor: function() {\r",
                    "    delete this.timeout;\r",
                    "    this.callParent(arguments);\r",
                    "  }\r",
                    "});\r",
                    "Ext.define('Monitoring.overrides.ProxyServer', {\r",
                    "  override: 'Ext.data.proxy.Server',\r",
                    "  constructor: function() {\r",
                    "    delete this.timeout;\r",
                    "    this.callParent(arguments);\r",
                    "  }\r",
                    "});\r",
                    "Ext.Ajax.timeout= 90000;\r",
                    "Ext.override(Ext.data.proxy.Server, { timeout: Ext.Ajax.timeout });\r",
                    "Ext.override(Ext.data.Connection, { timeout: Ext.Ajax.timeout });\r",
                    ""
                ]
            },
            "designerId": "fe19bda5-850c-4f7f-a5ed-b6eb1b761a7e"
        },
        {
            "type": "basicfunction",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "designer|params": [
                    "title",
                    "message"
                ],
                "fn": "message",
                "implHandler": [
                    "var s = Ext.String.format.apply(String, Array.prototype.slice.call(arguments, 1));\r",
                    "var m = Ext.DomHelper.append(this.msgCt, '<div class=\"msg\"><h3>' + title + '</h3><p>' + s + '</p></div>', true);\r",
                    "m.hide();\r",
                    "m.slideIn('t').ghost(\"t\", { delay: 2000, remove: true});"
                ]
            },
            "designerId": "d4fcd9c4-60e4-4058-b913-d6536a0b1ba6"
        }
    ]
}