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@351: /* torsten@351: * Window to create and edit a Probenzusatzwert torsten@351: */ torsten@110: Ext.define('Lada.view.zusatzwerte.Create', { torsten@110: extend: 'Ext.window.Window', torsten@110: alias: 'widget.zusatzwertecreate', torsten@110: raimund@498: requires: [ raimund@498: 'Lada.view.zusatzwerte.CreateForm' raimund@498: ], raimund@498: torsten@110: title: 'Maske für Zusatzwerte', torsten@110: autoShow: true, torsten@110: autoScroll: true, torsten@110: modal: true, torsten@110: torsten@110: initComponent: function() { raimund@497: var form = Ext.create('Lada.view.zusatzwerte.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: }]; torsten@271: this.items = [form]; torsten@110: this.callParent(); torsten@110: } torsten@110: });