Mercurial > lada > lada-client
comparison app/view/Viewport.js @ 978:7f5219b8e1bf stammdatengrids
Renamed the ProbePlanungSwitcher to a more generic ModeSwitcher and refactored the application
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 03 Dec 2015 09:38:43 +0100 |
parents | fb99332bb48e |
children | 7867752a0d58 |
comparison
equal
deleted
inserted
replaced
977:56470a075e6e | 978:7f5219b8e1bf |
---|---|
14 * initComponent function. | 14 * initComponent function. |
15 */ | 15 */ |
16 Ext.define('Lada.view.Viewport', { | 16 Ext.define('Lada.view.Viewport', { |
17 extend: 'Ext.container.Viewport', | 17 extend: 'Ext.container.Viewport', |
18 requires: [ | 18 requires: [ |
19 'Lada.view.ProbenPlanungSwitcher', | 19 'Lada.view.ModeSwitcher', |
20 'Lada.view.FilterPanel' | 20 'Lada.view.FilterPanel' |
21 ], | 21 ], |
22 layout: 'fit', | 22 layout: 'fit', |
23 initComponent: function() { | 23 initComponent: function() { |
24 var i18n = Lada.getApplication().bundle; | 24 var i18n = Lada.getApplication().bundle; |
57 id: 'groupinfo', | 57 id: 'groupinfo', |
58 text: '' | 58 text: '' |
59 }] | 59 }] |
60 }], | 60 }], |
61 items: [{ | 61 items: [{ |
62 xtype: 'probenplanungswitcher', | 62 xtype: 'modeswitcher', |
63 margin: '0, 10, 0, 10' | 63 margin: '0, 10, 0, 10' |
64 }, { | 64 }, { |
65 // Auswahl einer Abfrage. | 65 // Auswahl einer Abfrage. |
66 xtype: 'filterpanel', | 66 xtype: 'filterpanel', |
67 margin: '0, 10, 0, 10' | 67 margin: '0, 10, 0, 10' |