[Lada-commits] [PATCH] Have consistent requires in classes

Wald Commits scm-commit at wald.intevation.org
Thu Nov 6 10:58:34 CET 2014


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1415267943 -3600
# Node ID c1b77fb96b01fd7bc69223de8e9923310fedbfc1
# Parent  7c0653e8d9f7a3d78c2e4786d259f2383f0ca550
Have consistent requires in classes.

diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/kommentare/CreateForm.js
--- a/app/view/kommentare/CreateForm.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/kommentare/CreateForm.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,6 +11,12 @@
  */
 Ext.define('Lada.view.kommentare.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
+    requires: [
+        'Lada.view.widgets.Mst',
+        'Lada.view.widgets.Datetime',
+        'Ext.form.field.TextArea'
+    ],
+
     model: 'Lada.model.Kommentar',
 
     initComponent: function() {
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/kommentare/List.js
--- a/app/view/kommentare/List.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/kommentare/List.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.grid.Panel',
     alias: 'widget.kommentarelist',
 
+    requires: [
+        'Ext.toolbar.Toolbar'
+    ],
+
     store: 'KommentareP',
     viewConfig: {
         maxHeight: 350,
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/messungen/CreateForm.js
--- a/app/view/messungen/CreateForm.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/messungen/CreateForm.js	Thu Nov 06 10:59:03 2014 +0100
@@ -12,6 +12,7 @@
 Ext.define('Lada.view.messungen.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
     requires: [
+        'Lada.view.widgets.Datetime',
         'Lada.view.widgets.Messmethode',
         'Lada.view.widgets.Testdatensatz'
     ],
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/messwerte/Create.js
--- a/app/view/messwerte/Create.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/messwerte/Create.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.window.Window',
     alias: 'widget.messwertecreate',
 
+    requires: [
+        'Lada.view.messwerte.CreateForm'
+    ],
+
     title: 'Maske für Messwerte',
     autoShow: true,
     autoScroll: true,
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/messwerte/List.js
--- a/app/view/messwerte/List.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/messwerte/List.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.messwerte.List', {
     extend: 'Ext.grid.Panel',
-    require: ['Lada.store.StaMesseinheit'],
     alias: 'widget.messwertelist',
 
     store: 'Messwerte',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/mkommentare/Create.js
--- a/app/view/mkommentare/Create.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/mkommentare/Create.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.window.Window',
     alias: 'widget.mkommentarecreate',
 
+    requires: [
+        'Lada.view.mkommentare.CreateForm'
+    ],
+
     title: 'Maske für Messungskommentare',
     // Make size of the dialog dependend of the available space.
     // TODO: Handle resizing the browser window.
@@ -20,9 +24,6 @@
     autoScroll: true,
     modal: true,
 
-    requires: [
-        'Lada.view.mkommentare.CreateForm'
-    ],
     initComponent: function() {
         var form = Ext.create('Lada.view.mkommentare.CreateForm',
             this.initialConfig);
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/mkommentare/CreateForm.js
--- a/app/view/mkommentare/CreateForm.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/mkommentare/CreateForm.js	Thu Nov 06 10:59:03 2014 +0100
@@ -12,6 +12,11 @@
 Ext.define('Lada.view.mkommentare.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
 
+    requires: [
+        'Lada.view.widgets.Mst',
+        'Lada.view.widgets.Datetime'
+    ],
+
     model: 'Lada.model.KommentarM',
 
     initComponent: function() {
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/orte/CreateOrt.js
--- a/app/view/orte/CreateOrt.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/orte/CreateOrt.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,11 @@
     extend: 'Ext.window.Window',
     alias: 'widget.createortdetail',
 
+    requires: [
+        'Lada.view.widgets.Staat',
+        'Lada.view.widgets.Verwaltungseinheit'
+    ],
+
     title: 'Neuer Ort',
 
     /**
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/proben/Create.js
--- a/app/view/proben/Create.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/proben/Create.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.window.Window',
     alias: 'widget.probencreate',
 
+    requires: [
+        'Lada.view.proben.CreateForm'
+    ],
+
     title: 'Maske für §3-Proben',
     // Make size of the dialog dependend of the available space.
     // TODO: Handle resizing the browser window.
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/proben/CreateForm.js
--- a/app/view/proben/CreateForm.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/proben/CreateForm.js	Thu Nov 06 10:59:03 2014 +0100
@@ -12,6 +12,7 @@
 Ext.define('Lada.view.proben.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
     requires: [
+        'Lada.view.widgets.Mst',
         'Lada.view.widgets.Datenbasis',
         'Lada.view.widgets.Netzbetreiber',
         'Lada.view.widgets.Betriebsart',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/proben/Edit.js
--- a/app/view/proben/Edit.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/proben/Edit.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,9 +11,12 @@
  */
 Ext.define('Lada.view.proben.Edit', {
     extend: 'Ext.window.Window',
-    require: ['Lada.view.proben.EditForm'],
     alias: 'widget.probenedit',
 
+    requires: [
+        'Lada.view.proben.EditForm'
+    ],
+
     title: 'Maske für §3-Proben',
     // Make size of the dialog dependend of the available space.
     // TODO: Handle resizing the browser window.
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/proben/Import.js
--- a/app/view/proben/Import.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/proben/Import.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.window.Window',
     alias: 'widget.probenimport',
 
+    requires: [
+        'Lada.view.proben.ImportForm'
+    ],
+
     title: 'Maske für §3-Proben Import',
     autoShow: true,
     autoScroll: true,
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/search/List.js
--- a/app/view/search/List.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/search/List.js	Thu Nov 06 10:59:03 2014 +0100
@@ -12,7 +12,11 @@
 Ext.define('Lada.view.search.List', {
     extend: 'Ext.form.FieldSet',
     alias: 'widget.queryselector',
-    require: ['Ext.layout.container.Column'],
+
+    require: [
+        'Ext.layout.container.Column'
+    ],
+
     title: 'SQL-Auswahl',
     initComponent: function() {
         this.layout = 'column';
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/status/Create.js
--- a/app/view/status/Create.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/status/Create.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.window.Window',
     alias: 'widget.statuscreate',
 
+    requires: [
+        'Lada.view.status.CreateForm'
+    ],
+
     title: 'Maske für den Messstatus',
     autoShow: true,
     autoScroll: true,
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/status/CreateForm.js
--- a/app/view/status/CreateForm.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/status/CreateForm.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,7 +13,8 @@
     extend: 'Lada.view.widgets.LadaForm',
     requires: [
         'Lada.view.widgets.Mst',
-        'Lada.view.widgets.Statuswert'
+        'Lada.view.widgets.Statuswert',
+        'Lada.view.widgets.Datetime'
     ],
 
     model: 'Lada.model.Status',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Messeinheit.js
--- a/app/view/widgets/Messeinheit.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Messeinheit.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Messeinheit', {
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaMesseinheiten'],
     alias: 'widget.messeinheit',
     store: 'StaMesseinheiten',
     displayField: 'einheit',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Messgroesse.js
--- a/app/view/widgets/Messgroesse.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Messgroesse.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Messgroesse', {
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaMessgroessen'],
     alias: 'widget.messgroesse',
     store: 'StaMessgroessen',
     displayField: 'messgroesse',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Messmethode.js
--- a/app/view/widgets/Messmethode.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Messmethode.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Messmethode', {
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaMessmethoden'],
     alias: 'widget.messmethode',
     store: 'StaMessmethoden',
     displayField: 'messmethode',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Mst.js
--- a/app/view/widgets/Mst.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Mst.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Mst', {
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaMessstellen'],
     alias: 'widget.mst',
     store: 'StaMessstellen',
     displayField: 'messStelle',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Netzbetreiber.js
--- a/app/view/widgets/Netzbetreiber.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Netzbetreiber.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Netzbetreiber', {
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaNetzbetreiber'],
     alias: 'widget.netzbetreiber',
     store: 'StaNetzbetreiber',
     displayField: 'netzbetreiber',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Probenzusatzwert.js
--- a/app/view/widgets/Probenzusatzwert.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Probenzusatzwert.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Probenzusatzwert', {
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaProbenzusaetze'],
     alias: 'widget.probenzusatzwert',
     store: 'StaProbenzusaetze',
     displayField: 'beschreibung',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Uwb.js
--- a/app/view/widgets/Uwb.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Uwb.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Uwb' ,{
     extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaUmwelt'],
     alias: 'widget.uwb',
     store: 'StaUmwelt',
     displayField: 'id',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/widgets/Verwaltungseinheit.js
--- a/app/view/widgets/Verwaltungseinheit.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/widgets/Verwaltungseinheit.js	Thu Nov 06 10:59:03 2014 +0100
@@ -11,7 +11,6 @@
  */
 Ext.define('Lada.view.widgets.Verwaltungseinheit', {
     extend: 'Ext.form.field.ComboBox',
-    require: ['Lada.store.StaVerwaltungseinheiten'],
     alias: 'widget.verwaltungseinheiten',
     store: 'StaVerwaltungseinheiten',
     displayField: 'bezeichnung',
diff -r 7c0653e8d9f7 -r c1b77fb96b01 app/view/zusatzwerte/Create.js
--- a/app/view/zusatzwerte/Create.js	Thu Nov 06 10:38:17 2014 +0100
+++ b/app/view/zusatzwerte/Create.js	Thu Nov 06 10:59:03 2014 +0100
@@ -13,6 +13,10 @@
     extend: 'Ext.window.Window',
     alias: 'widget.zusatzwertecreate',
 
+    requires: [
+        'Lada.view.zusatzwerte.CreateForm'
+    ],
+
     title: 'Maske für Zusatzwerte',
     autoShow: true,
     autoScroll: true,


More information about the Lada-commits mailing list