view app/view/form/Messung.js @ 669:8756f7e423fb openid

Cosmetics.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Mar 2015 14:30:06 +0100
parents 4c97717b92da
children 8a156a7fbe67
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out
 * the documentation coming with IMIS-Labordaten-Application for details.
 */

/*
 * Formular to edit a Messung
 */
Ext.define('Lada.view.form.Messung', {
    extend: 'Ext.form.Panel',
    alias: 'widget.messungform',
    requires: [
        'Lada.view.widget.Datenbasis',
        'Lada.view.widget.base.TextField',
        'Lada.view.widget.base.Datetime',
        'Lada.view.widget.base.FieldSet',
        'Lada.model.Messung'
    ],

    model: 'Lada.model.Messung',
    minWidth: 650,
    margin: 5,
    border: 0,

    recordId: null,

    trackResetOnLoad: true,

    initComponent: function() {
        this.items = [{
            xtype: 'fieldset',
            title: 'Allgemein'
        }];
        this.callParent(arguments);
    },

    setRecord: function(record) {
        this.getForm().loadRecord(record);
    },

    setMessages: function() {
        // TODO this is a stub
    },

    clearMessages: function() {
        // TODO this is a stub
    },

    setReadonly: function() {
        // TODO this is a stub
    }
});

http://lada.wald.intevation.org