changeset 352:5fbcbf330839

Added documenation
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 11:45:14 +0200
parents 8cb393ffe844
children b8bd8d9a93ab
files app/view/widgets/Betriebsart.js app/view/widgets/Datenbasis.js app/view/widgets/Datetime.js app/view/widgets/Messeinheit.js app/view/widgets/Messgroesse.js app/view/widgets/Messmethode.js app/view/widgets/Mst.js app/view/widgets/Netzbetreiber.js app/view/widgets/Ortdetail.js app/view/widgets/Probenart.js app/view/widgets/Probenzusatzwert.js app/view/widgets/Staat.js app/view/widgets/Statuswert.js app/view/widgets/Testdatensatz.js app/view/widgets/Uwb.js app/view/widgets/Verwaltungseinheit.js
diffstat 16 files changed, 49 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/widgets/Betriebsart.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Betriebsart.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Betriebsart
 var betriebsartStore = Ext.create('Ext.data.Store', {
     fields: ['betriebsartId', 'betriebsart'],
     data: [
@@ -7,6 +6,9 @@
     ]
 });
 
+/**
+ * Combobox for Betriebsart
+ */
 Ext.define('Lada.view.widgets.Betriebsart' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.betriebsart',
--- a/app/view/widgets/Datenbasis.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Datenbasis.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Datenbasis
 var datenbasisStore = Ext.create('Ext.data.Store', {
     fields: ['datenbasisId', 'beschreibung', 'datenbasis'],
     sorters: [{
@@ -16,6 +15,9 @@
     }
 });
 
+/**
+ * Combobox for Datenbasis
+ */
 Ext.define('Lada.view.widgets.Datenbasis' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.datenbasis',
--- a/app/view/widgets/Datetime.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Datetime.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Time and Dates
+/**
+ * Datetimepicker with german date format.
+ */
 Ext.define('Lada.view.widgets.Datetime' ,{
         extend: 'Ext.ux.form.DateTimeField',
         alias: 'widget.datetime',
--- a/app/view/widgets/Messeinheit.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Messeinheit.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Umweltbereich
+/**
+ * Combobox for Umweltbereich
+ */
 Ext.define('Lada.view.widgets.Messeinheit' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.messeinheit',
--- a/app/view/widgets/Messgroesse.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Messgroesse.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Umweltbereich
+/**
+ * Combobox for Messgroesse
+ */
 Ext.define('Lada.view.widgets.Messegroesse' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.messgroesse',
--- a/app/view/widgets/Messmethode.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Messmethode.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Messmethode
 var mmtStore = Ext.create('Ext.data.Store', {
     fields: ['mmtId', 'messmethhode'],
     sorters: [{
@@ -16,6 +15,9 @@
     }
 });
 
+/**
+ * Combobox for Messmethode
+ */
 Ext.define('Lada.view.widgets.Messmethode' ,{
         tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{mmtId} - {messmethhode}</div></tpl>',
         extend: 'Ext.form.ComboBox',
--- a/app/view/widgets/Mst.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Mst.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Messtelle
 var mstStore = Ext.create('Ext.data.Store', {
     fields: ['mstId', 'messStelle'],
     sorters: [{
@@ -16,6 +15,9 @@
     }
 });
 
+/**
+ * Combobox for Messstelle
+ */
 Ext.define('Lada.view.widgets.Mst' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.mst',
--- a/app/view/widgets/Netzbetreiber.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Netzbetreiber.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Netzbetreiber
 var netzbetreiberStore = Ext.create('Ext.data.Store', {
     fields: ['netzbetreiberId', 'netzbetreiber'],
     sorters: [{
@@ -16,6 +15,9 @@
     }
 });
 
+/**
+ * Combobox for Netzbetreiber
+ */
 Ext.define('Lada.view.widgets.Netzbetreiber' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.netzbetreiber',
--- a/app/view/widgets/Ortdetail.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Ortdetail.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Zusatzwert.
+/**
+ * Combobox for Ortdetails
+ */
 Ext.define('Lada.view.widgets.Ortdetail' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.ortdetail',
--- a/app/view/widgets/Probenart.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Probenart.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Probenart
 var probenartStore = Ext.create('Ext.data.Store', {
     fields: ['probenartId', 'probenart'],
     proxy: {
@@ -13,6 +12,9 @@
     }
 });
 
+/**
+ * Combobox for Probenart
+ */
 Ext.define('Lada.view.widgets.Probenart' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.probenart',
--- a/app/view/widgets/Probenzusatzwert.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Probenzusatzwert.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Zusatzwert.
+/**
+ * Combobox for Zusatzwert
+ */
 Ext.define('Lada.view.widgets.Zusatzwert' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.probenzusatzwert',
--- a/app/view/widgets/Staat.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Staat.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Umweltbereich
+/**
+ * Combobox for Staat
+ */
 Ext.define('Lada.view.widgets.Staat' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.staat',
--- a/app/view/widgets/Statuswert.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Statuswert.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Statuswerte
 var statuswerteStore = Ext.create('Ext.data.Store', {
     fields: ['id', 'status'],
     data: [
@@ -9,6 +8,9 @@
     ]
 });
 
+/**
+ * Combobox for Statuswert
+ */
 Ext.define('Lada.view.widgets.Statuswert' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.statuswert',
--- a/app/view/widgets/Testdatensatz.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Testdatensatz.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Testdatensatz
 var testdatensatzStore = Ext.create('Ext.data.Store', {
     fields: ['testdatensatzId', 'testdatensatz'],
     data: [
@@ -7,6 +6,10 @@
     ]
 });
 
+/**
+ * Combobox for Testdatensatz.
+ * This widget is also used a generic "Ja/Nein" combobox.
+ */
 Ext.define('Lada.view.widgets.Testdatensatz' ,{
         extend: 'Ext.form.ComboBox',
         editable: false,
--- a/app/view/widgets/Uwb.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Uwb.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,3 @@
-// Combobox for Umweltbereich
 var uwbStore = Ext.create('Ext.data.Store', {
     fields: ['umwId', 'umweltBereich'],
     sorters: [{
@@ -16,6 +15,9 @@
     }
 });
 
+/**
+ * Combobox for Umweltbereich
+ */
 Ext.define('Lada.view.widgets.Uwb' ,{
         tpl: '<tpl for="."><div class="x-combo-list-item  x-boundlist-item" >{umwId} - {umweltBereich}</div></tpl>',
         extend: 'Ext.form.ComboBox',
--- a/app/view/widgets/Verwaltungseinheit.js	Tue Aug 13 11:38:07 2013 +0200
+++ b/app/view/widgets/Verwaltungseinheit.js	Tue Aug 13 11:45:14 2013 +0200
@@ -1,4 +1,6 @@
-// Combobox for Verwaltungseinheit
+/**
+ * Combobox for Verwaltungseinheit
+ */
 Ext.define('Lada.view.widgets.Verwaltungseinheit' ,{
         extend: 'Ext.form.ComboBox',
         alias: 'widget.verwaltungseinheiten',

http://lada.wald.intevation.org