Mercurial > lada > lada-client
annotate app/store/StatusWerte.js @ 963:6a6f2c6fe8ee
More work done on StatusWerte and Statusstufe. A Messung will also open when the owner attribute is true. Stauswerte and StatusStufen are loaded at application startup. Statusgrid and Messunggrid now use these stores, which were registered at the store manager.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 12 Nov 2015 12:13:31 +0100 |
parents | 023e622f9551 |
children | a2c2039bb5d9 |
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 */ |
ad24af3fcf89
created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
12 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
|
13 extend: 'Ext.data.Store', |
945
023e622f9551
Added the ability to work with "StatusWerten" which are delivered by the lada-server.
Dustin Demuth <dustin@intevation.de>
parents:
799
diff
changeset
|
14 model: 'Lada.model.StatusWerte', |
023e622f9551
Added the ability to work with "StatusWerten" which are delivered by the lada-server.
Dustin Demuth <dustin@intevation.de>
parents:
799
diff
changeset
|
15 autoLoad: true, |
799
ad24af3fcf89
created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
16 }); |