git_sitools_idoc / Module_DatasetExplorerOchart_sitools2v3 / DatasetExplorerOchartTreeStore.js @ 2830ca05
1 | 3c601d2d | shye0000 | /*******************************************************************************
|
---|---|---|---|
2 | * Copyright 2010-2014 CNES - CENTRE NATIONAL d'ETUDES SPATIALES
|
||
3 | *
|
||
4 | * This file is part of SITools2.
|
||
5 | *
|
||
6 | * SITools2 is free software: you can redistribute it and/or modify it under the
|
||
7 | * terms of the GNU General Public License as published by the Free Software
|
||
8 | * Foundation, either version 3 of the License, or (at your option) any later
|
||
9 | * version.
|
||
10 | *
|
||
11 | * SITools2 is distributed in the hope that it will be useful, but WITHOUT ANY
|
||
12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||
13 | * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||
14 | *
|
||
15 | * You should have received a copy of the GNU General Public License along with
|
||
16 | * SITools2. If not, see <http://www.gnu.org/licenses/>.
|
||
17 | ******************************************************************************/
|
||
18 | /*global Ext, sitools, window */
|
||
19 | |||
20 | Ext.define('sitools.user.store.DatasetExplorerOchartTreeStore', {
|
||
21 | extend : 'Ext.data.TreeStore', |
||
22 | model : 'sitools.user.model.DatasetExplorerOchartTreeModel', |
||
23 | storeId : 'datasetExplorerOchartTreeStore', |
||
24 | root: {
|
||
25 | "text": "Solar Projects", |
||
26 | "leaf": false, |
||
27 | "type": "rootnode", |
||
28 | expanded: true |
||
29 | }, |
||
30 | proxy : {
|
||
31 | type : 'memory', |
||
32 | reader : {
|
||
33 | type : 'json' |
||
34 | } |
||
35 | } |
||
36 | }); |