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@348: /* torsten@348: * Window to create a Probe torsten@348: */ torsten@65: Ext.define('Lada.view.proben.Create', { torsten@65: extend: 'Ext.window.Window', torsten@65: alias: 'widget.probencreate', torsten@65: raimund@498: requires: [ raimund@498: 'Lada.view.proben.CreateForm' raimund@498: ], raimund@498: raimund@532: title: 'Neue ยง3-Probe', torsten@65: autoShow: true, torsten@65: modal: true, raimund@505: layout: 'fit', raimund@497: torsten@65: initComponent: function() { raimund@491: this.buttons = [{ raimund@491: text: 'Speichern', raimund@491: action: 'save' raimund@491: }, { raimund@491: text: 'Abbrechen', raimund@491: scope: this, raimund@491: handler: this.close raimund@491: }]; raimund@505: this.width = 700; torsten@271: var form = Ext.create('Lada.view.proben.CreateForm'); raimund@505: this.items = [{ raimund@505: border: 0, raimund@505: autoScroll: true, raimund@505: items: [form] raimund@505: }]; raimund@497: this.callParent(arguments); torsten@65: } torsten@65: });