git_sitools_idoc / Module_DatasetExplorerOchart_sitools2v3 / DatasetExplorerOchartTreeModel.js @ 2830ca05
1 |
/*******************************************************************************
|
---|---|
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.model.DatasetExplorerOchartTreeModel', {
|
21 |
extend : 'Ext.data.Model', |
22 |
|
23 |
fields : [ {
|
24 |
name : 'text' |
25 |
}, { |
26 |
name : 'type' |
27 |
}, { |
28 |
name : 'leaf', |
29 |
type : 'boolean' |
30 |
}, { |
31 |
name : 'description' |
32 |
}, { |
33 |
name : 'datasetId' |
34 |
}, { |
35 |
name : 'nbRecord' |
36 |
}, { |
37 |
name : 'imageDs' |
38 |
}, { |
39 |
name : 'readme' |
40 |
}, { |
41 |
name : 'authorized' |
42 |
}, { |
43 |
name : 'status' |
44 |
}, { |
45 |
name : 'visible', |
46 |
type : 'boolean' |
47 |
}, { |
48 |
name : 'url' |
49 |
}, { |
50 |
name : 'image' |
51 |
}] |
52 |
}); |