// 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.

// {namespace name=backend/viison_pickware_common_device_management/main}
Ext.define('Shopware.apps.ViisonPickwareCommonDeviceManagement.view.Main', {

    extend: 'Enlight.app.Window',
    alias: 'widget.viison_pickware_common_device_management-main',
    layout: 'border',
    autoShow: true,
    width: 650,
    height: 650,
    border: false,
    maximizable: false,
    minimizable: false,
    title: '{s name="window/title"}{/s}',

    /**
     * @Override
     */
    initComponent: function () {
        this.items = [{
            xtype: 'viison_pickware_common_device_management-main-list',
            region: 'center',
            store: this.pickwareDeviceStore,
        }];

        this.callParent(arguments);
    },

});
