{
    "type": "Ext.window.Window",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "designer|userAlias": "Restriction",
        "designer|userClassName": "Restriction",
        "height": null,
        "itemId": "Restriction",
        "layout": "fit",
        "modal": true,
        "title": "Create restriction",
        "width": 600
    },
    "designerId": "ec5b63ea-16ba-4e45-a58a-4d95627be0e8",
    "cn": [
        {
            "type": "Ext.form.Panel",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "bodyPadding": 5,
                "container|align": "stretch",
                "header": false,
                "itemId": "restrictionForm",
                "layout": "vbox",
                "title": null
            },
            "designerId": "3624646b-fc2e-4c30-aadf-4aa5fa9a91aa",
            "cn": [
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "container|align": "stretch",
                        "layout": "hbox",
                        "layout|flex": 1,
                        "layout|margins": "0 0 5 0"
                    },
                    "designerId": "40ee6255-1964-4b14-b0bd-c02c0e6be592",
                    "cn": [
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "allowBlank": false,
                                "allowOnlyWhitespace": false,
                                "anyMatch": true,
                                "editable": false,
                                "fieldLabel": "Scope",
                                "forceSelection": true,
                                "itemId": "fieldScope",
                                "labelSeparator": " ",
                                "labelWidth": 75,
                                "layout|flex": 1,
                                "name": "scope",
                                "queryMode": "local",
                                "store": "Scopes",
                                "valueField": "id"
                            },
                            "designerId": "9485669c-5035-4953-b81c-b47527b1265b"
                        },
                        {
                            "type": "Ext.form.Label",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "itemId": "fieldScopeLabel",
                                "layout|flex": 0.75,
                                "padding": "3 10 0 10",
                                "text": "My Label"
                            },
                            "designerId": "9e383341-c53f-4023-affa-01ca56752294"
                        }
                    ]
                },
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "container|align": "stretch",
                        "layout": "hbox",
                        "layout|flex": 1,
                        "layout|margins": "0 0 5 0",
                        "margin": null
                    },
                    "designerId": "ebde0c31-46cc-41e9-af5a-7482921e0e82",
                    "cn": [
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "allowBlank": false,
                                "allowOnlyWhitespace": false,
                                "anyMatch": true,
                                "editable": false,
                                "fieldLabel": "Type",
                                "forceSelection": true,
                                "itemId": "typeCombo",
                                "labelSeparator": " ",
                                "labelWidth": 75,
                                "layout|flex": 1,
                                "name": "type",
                                "queryMode": "local",
                                "store": "RestrictionTypes",
                                "valueField": "id"
                            },
                            "designerId": "ae30cd7d-a36d-4710-b8ab-7a1aebee3f0d"
                        },
                        {
                            "type": "Ext.toolbar.Spacer",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "layout|flex": 0.75
                            },
                            "designerId": "b32d0e90-21cf-4d4e-91db-9ea267346e69"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.ComboBox",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "allowBlank": false,
                        "allowOnlyWhitespace": false,
                        "anyMatch": true,
                        "fieldLabel": "Field",
                        "forceSelection": true,
                        "itemId": "fieldField",
                        "labelSeparator": " ",
                        "labelWidth": 75,
                        "layout|flex": 1,
                        "name": "field",
                        "queryMode": "local",
                        "store": "Fields",
                        "valueField": "id"
                    },
                    "designerId": "f8a33500-d789-4185-8b24-5753ea235a08"
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "allowBlank": false,
                        "allowOnlyWhitespace": false,
                        "enforceMaxLength": true,
                        "fieldLabel": "Low",
                        "itemId": "fieldLow",
                        "labelSeparator": " ",
                        "labelWidth": 75,
                        "layout|flex": 1,
                        "maxLength": 40,
                        "name": "low"
                    },
                    "designerId": "538b5161-5903-4c27-897c-6cfb994d0ed2"
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "enforceMaxLength": true,
                        "fieldLabel": "High",
                        "itemId": "fieldHigh",
                        "labelSeparator": " ",
                        "labelWidth": 75,
                        "layout|flex": 1,
                        "maxLength": 40,
                        "name": "high"
                    },
                    "designerId": "2ead8860-1f24-46a0-b47c-3808de301c6a"
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "fieldLabel": "Comment",
                        "labelSeparator": " ",
                        "labelWidth": 75,
                        "layout|flex": 1,
                        "name": "comment"
                    },
                    "designerId": "39bf5a80-e476-4603-af48-2dadb4198890"
                },
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "container|align": "stretch",
                        "layout": "hbox",
                        "layout|flex": 1
                    },
                    "designerId": "2f689c63-3ba6-4cec-ad95-17ded848913c",
                    "cn": [
                        {
                            "type": "Ext.toolbar.Spacer",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "layout|flex": 1
                            },
                            "designerId": "fc772381-8d5e-4b26-bcbe-faf6c7b6af0a"
                        },
                        {
                            "type": "Ext.button.Button",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "icon": "../gfx/save.png",
                                "itemId": "btnSave",
                                "layout|flex": null,
                                "padding": 5,
                                "scale": "medium",
                                "text": "Save"
                            },
                            "designerId": "10998beb-0d57-43f8-bdbf-fd3bdb65c3db"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Ext.container.Container",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "hidden": true,
                "itemId": "emptyContainer"
            },
            "designerId": "3a7d5392-1f4a-4e59-856c-87eeb5af627b"
        }
    ]
}