torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out raimund@497: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@343: /* torsten@343: * Window to create a Messung torsten@343: */ torsten@108: Ext.define('Lada.view.messungen.Create', { torsten@108: extend: 'Ext.window.Window', torsten@108: alias: 'widget.messungencreate', raimund@491: requires: [ raimund@491: 'Lada.view.messungen.CreateForm' raimund@491: ], torsten@108: torsten@108: title: 'Maske für Messungen', torsten@108: autoShow: true, torsten@108: autoScroll: true, torsten@108: modal: true, torsten@108: torsten@108: initComponent: function() { raimund@497: var form = Ext.create('Lada.view.messungen.CreateForm', raimund@497: this.initialConfig); raimund@491: this.buttons = [{ raimund@491: text: 'Speichern', raimund@491: scope: form, raimund@491: action: 'save' raimund@491: }, { raimund@491: text: 'Abbrechen', raimund@491: scope: this, raimund@491: handler: this.close raimund@491: }]; raimund@509: this.items = [{ raimund@509: border: 0, raimund@509: autoScroll: true, raimund@509: items: [form] raimund@509: }]; raimund@491: this.callParent(arguments); torsten@108: } torsten@108: });