comparison app.js @ 548:d47ee7439f44

Added new js files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:43:52 +0100
parents
children 9d4e4f07e751
comparison
equal deleted inserted replaced
547:f172b35a3b92 548:d47ee7439f44
1 /**
2 * Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
3 * Software engineering by Intevation GmbH
4 *
5 * This file is Free Software under the GNU GPL (v>=3)
6 * and comes with ABSOLUTELY NO WARRANTY! Check out
7 * the documentation coming with IMIS-Labordaten-Application for details.
8 */
9 Ext.Loader.setConfig({
10 enabled: true,
11 paths: {
12 'Ext.ux.form.DateTimeField': 'resources/lib/datetime/UX_DateTimeField.js',
13 'Ext.ux.DateTimeMenu': 'resources/lib/datetime/UX_DateTimeMenu.js',
14 'Ext.ux.DateTimePicker': 'resources/lib/datetime/UX_DateTimePicker.js',
15 'Ext.ux.form.TimePickerField': 'resources/lib/datetime/UX_TimePickerField.js',
16 'Ext.i18n': 'resources/lib/i18n/'
17 }
18 });
19
20 Ext.application({
21
22 // Name of the application. Do not change as this name is used in
23 // references!
24 name: 'Lada',
25
26 // Setting up translations. This is done using a ext-plgin which can be
27 // found on https://github.com/elmasse/Ext.i18n.Bundle
28 requires: [
29 'Lada.override.Table',
30 'Ext.i18n.Bundle',
31 'Ext.layout.container.Column',
32 'Lada.store.Datenbasis',
33 'Lada.store.Messeinheiten',
34 'Lada.store.Messgroessen',
35 'Lada.store.Messmethoden',
36 'Lada.store.Messstellen',
37 'Lada.store.Netzbetreiber',
38 'Lada.store.Locations',
39 'Lada.store.Pflichtmessgroessen',
40 'Lada.store.Probenarten',
41 'Lada.store.Probenzusaetze',
42 'Lada.store.Staaten',
43 'Lada.store.Umwelt',
44 'Lada.store.Verwaltungseinheiten'
45 ],
46 bundle: {
47 bundle: 'Lada',
48 lang: 'de-DE',
49 path: 'resources/i18n',
50 noCache: true
51 },
52
53 // Setting this variable to true triggers loading the Viewport.js
54 // file which sets ob the viewport.
55 autoCreateViewport: true,
56
57 // Start the application.
58 launch: function() {
59 Ext.create('Lada.store.Datenbasis', {
60 storeId: 'datenbasis'
61 });
62 Ext.create('Lada.store.Messeinheiten', {
63 storeId: 'messeinheiten'
64 });
65 Ext.create('Lada.store.Messgroessen', {
66 storeId: 'messgroessen'
67 });
68 Ext.create('Lada.store.Messmethoden', {
69 storeId: 'messmethoden'
70 });
71 Ext.create('Lada.store.Messstellen', {
72 storeId: 'messstellen'
73 });
74 Ext.create('Lada.store.Netzbetreiber', {
75 storeId: 'netzbetreiber'
76 });
77 Ext.create('Lada.store.Locations', {
78 storeId: 'locations'
79 });
80 Ext.create('Lada.store.Pflichtmessgroessen', {
81 storeId: 'pflichtmessgroessen'
82 });
83 Ext.create('Lada.store.Probenarten', {
84 storeId: 'probenarten'
85 });
86 Ext.create('Lada.store.Probenzusaetze', {
87 storeId: 'probenzusaetze'
88 });
89 Ext.create('Lada.store.Staaten', {
90 storeId: 'staaten'
91 });
92 Ext.create('Lada.store.Umwelt', {
93 storeId: 'umwelt'
94 });
95 Ext.create('Lada.store.Verwaltungseinheiten', {
96 storeId: 'verwaltungseinheiten'
97 });
98 },
99
100 // Define the controllers of the application. They will be initialized
101 // first before the application "launch" function is called.
102 controllers: [
103 'Lada.controller.Filter',
104 'Lada.controller.FilterResult',
105 'Lada.controller.ProbeForm',
106 'Lada.controller.OrtGrid'
107 ]
108 });

http://lada.wald.intevation.org