//{block name="backend/magnalister/application"}
Ext.define('Shopware.apps.Magnalister', {
    /**
     * The name of the module. Used for internal purpose
     * @string
     */
    name:'Shopware.apps.Magnalister',
    /**
     * Extends from our special controller, which handles the
     * sub-application behavior and the event bus
     * @string
     */
    extend:'Enlight.app.SubApplication',

    bulkLoad:true,
    loadPath:'{url action=load}',

    /**
     * Required controllers for sub-application
     * @array
     */
    controllers: [ 'Main' ],
    /**
     * Required views for this sub-application
     * @array
     */
    views: [ 'main.Window' ],

    /**
     * @private
     * @return [object] mainWindow - the main application window based on Enlight.app.Window
     */
    launch: function() {
        var me = this,
        mainController = me.getController('Main');

        return mainController.mainWindow;
    }
});
//{/block} 