// Copyright (c) Pickware GmbH. All rights reserved.
// This file is part of software that is released under a proprietary license.
// You must not copy, modify, distribute, make publicly available, or execute
// its contents or parts thereof without express permission by the copyright
// holder, unless otherwise permitted by law.

Ext.define('Shopware.apps.ViisonPickwareCommonArticlePropertyTypes.view.TypeEditor', {

    extend: 'Enlight.app.Window',
    alias: 'widget.viison_pickware_common_article_property_types-type_editor',
    mixins: [
        'Shopware.apps.ViisonCommonApp.Mixin',
    ],
    viisonSnippetNamespace: 'backend/viison_pickware_common_article_property_types/main',
    layout: 'fit',
    modal: true,
    width: 400,
    height: 550,

    /**
     * @override
     */
    initComponent: function () {
        this.title = this.getViisonSnippet('type_editor/title');

        this.items = [
            {
                xtype: 'viison_pickware_common_article_property_types-type_editor-type_list',
            },
        ];

        this.callParent(arguments);
    },

});
