annotate app/store/StatusWerte.js @ 810:a5373ee662e2

Created a loading Animation for the Filterresultgrid
author Dustin Demuth <dustin@intevation.de>
date Wed, 27 May 2015 16:01:59 +0200
parents ad24af3fcf89
children 023e622f9551
rev   line source
799
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
3 *
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
7 */
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
8
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
9 /**
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
10 * Store for Status-Werte
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
11 * TODO i18n
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
12 */
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
13 Ext.define('Lada.store.StatusWerte', {
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
14 extend: 'Ext.data.Store',
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
15 fields: ['display', 'id'],
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
16 data: [{
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
17 display: 'unbekannt', id: 0
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
18 }, {
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
19 display: 'nicht vergeben', id: 1
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
20 }, {
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
21 display: 'plausibel', id: 2
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
22 }, {
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
23 display: 'nicht repräsentativ', id: 3
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
24 }, {
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
25 display: 'nicht plausibel', id: 4
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
26 }]
ad24af3fcf89 created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff changeset
27 });

http://lada.wald.intevation.org