SourceSelectionPanel.js
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Ext.define('treps.view.Steps.SourceSelection.SourceSelectionPanel' ,{
extend: 'Ext.form.Panel',
alias: 'widget.sourceselection_panel',
requires: [
'treps.view.Steps.SourceSelection.LocalFilePanel',
'treps.view.Steps.SourceSelection.WebFilePanel',
'treps.view.Steps.SourceSelection.SAMPDataPanel',
'treps.view.Steps.SourceSelection.ManualDataPanel'
],
controllers: ['Steps.SourceSelectionStep'],
initComponent: function() {
this.callParent(arguments);
},
tools: [
{
type: 'help',
pageId: 'select'
}
],
layout: 'accordion',
items: [
{
title: 'Select a Local File',
layout: 'fit',
items: [
{
xtype: 'localfile_panel'
}
]
},
{
title: 'Select a Web File',
layout: 'fit',
items: [
{
xtype: 'webfile_panel'
}
]
},
{
title: 'Data from SAMP Protocol',
layout: 'fit',
items: [
{
xtype: 'sampdata_panel'
}
]
},
{
title: 'Data from Manual Edition',
layout: 'fit',
items: [
{
xtype: 'manualdata_panel'
}
]
}
]
});