dustin@581: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz dustin@581: * Software engineering by Intevation GmbH dustin@581: * dustin@581: * This file is Free Software under the GNU GPL (v>=3) dustin@581: * and comes with ABSOLUTELY NO WARRANTY! Check out dustin@581: * the documentation coming with IMIS-Labordaten-Application for details. dustin@581: */ dustin@581: dustin@581: /* dustin@581: * Formular to edit a Messung dustin@581: */ dustin@581: Ext.define('Lada.view.form.Messung', { dustin@581: extend: 'Ext.form.Panel', dustin@581: alias: 'widget.messungform', dustin@581: requires: [ dustin@581: 'Lada.view.widget.Datenbasis', dustin@581: 'Lada.view.widget.base.TextField', dustin@581: 'Lada.view.widget.base.Datetime', dustin@581: 'Lada.view.widget.base.FieldSet', dustin@581: 'Lada.model.Messung' dustin@581: ], dustin@581: dustin@581: model: 'Lada.model.Messung', dustin@581: minWidth: 650, dustin@581: margin: 5, dustin@581: border: 0, dustin@581: dustin@581: recordId: null, dustin@581: dustin@581: trackResetOnLoad: true, dustin@581: dustin@581: initComponent: function(){ dustin@581: this.items = [{ dustin@581: xtype: 'fieldset', dustin@581: title: 'Allgemein' dustin@581: }]; dustin@581: this.callParent(arguments); dustin@581: }, dustin@581: dustin@581: setRecord: function(record){ dustin@581: this.getForm().loadRecord(record); dustin@581: }, dustin@581: dustin@581: setMessages: function() { dustin@581: //todo this is a stub dustin@581: }, dustin@581: dustin@581: clearMessages: function() { dustin@581: //todo this is a stub dustin@581: }, dustin@581: dustin@581: setReadonlye: function(){ dustin@581: //todo this is a stub dustin@581: } dustin@581: }); dustin@581: