Mercurial > lada > lada-client
annotate app/view/Viewport.js @ 28:4d60b9ebce15
Renamed sql modul into search. Further display The query selection as Combobox
instead of a grid.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 16 May 2013 17:55:53 +0200 |
parents | f964a50bfe57 |
children | 897e3100c6da |
rev | line source |
---|---|
12
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.view.Viewport' ,{ |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.container.Viewport', |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 requires: [ |
28
4d60b9ebce15
Renamed sql modul into search. Further display The query selection as Combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
25
diff
changeset
|
4 'Lada.view.search.List', |
4d60b9ebce15
Renamed sql modul into search. Further display The query selection as Combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
25
diff
changeset
|
5 'Lada.view.search.Variables', |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
6 'Lada.view.proben.List' |
12
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 ], |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 initComponent: function() { |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 console.log('Setting up Viewport'); |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 this.items = { |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
11 xtype: 'panel', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
12 title: '<center>Probenauswahlmaske</center>', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
13 bodyPadding: '10 10', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
14 items: [ |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
15 { |
28
4d60b9ebce15
Renamed sql modul into search. Further display The query selection as Combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
25
diff
changeset
|
16 xtype: 'queryselector', |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
17 margin: '0 0 10 0' |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
18 }, |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
19 // Variables settings for the current selected sql statement. |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
20 //{ |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
21 // id: 'variables', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
22 // xtype: 'variables' |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
23 //}, |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
24 // Resultlist for the query. |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
25 { |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
26 id: 'result', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
27 xtype: 'probenlist' |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
28 } |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
29 ] |
12
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
30 }; |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 this.callParent(arguments); |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 } |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
33 }); |