// 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.ViisonPickwareMobilePickProfiles.view.Main', {

    extend: 'Enlight.app.Window',
    alias: 'widget.viison_pickware_mobile_pick_profiles-main',
    cls: 'viison-common--window has--no-border',
    title: ViisonCommonApp.getSnippet('main/window_title', 'backend/viison_pickware_mobile_pick_profiles/main'),
    layout: 'fit',
    autoShow: true,
    width: 600,
    height: 400,
    border: false,

    /**
     * @override
     */
    initComponent: function () {
        this.items = [{
            xtype: 'viison_pickware_mobile_pick_profiles-main-list',
            store: this.pickProfileStore,
        }];

        this.callParent(arguments);
    },

});
