TimeTableModule.js
1.31 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
/**
* Project : AMDA-NG
* Name : TimeTableModule.js
* @class amdaDesktop.TimeTableModule
* @extends amdaDesktop.InteractiveModule
* @brief Time Table Module controller definition
* @author Myriam
* @version $Id: TimeTableModule.js 1605 2013-06-11 13:38:47Z myriam $
******************************************************************************
* FT Id : Date : Name - Description
******************************************************************************
* 08/06/2011: Myriam - Migration extjs4
*/
Ext.define('amdaDesktop.TimeTableModule', {
extend: 'amdaDesktop.InteractiveModule',
requires: [
'amdaUI.TimeTableUI'
],
contentId : 'timeTableUi',
/**
* @cfg {String} data models
* @required
*/
nodeDataModel : 'amdaModel.TimeTableNode',
/**
* @cfg {String} window definitions
* @required
*/
width : 850,
height: 650,
uiType : 'panelTimeTable',
helpTitle : 'Help on Time Table Module',
helpFile : 'timetableHelp',
/**
* @override
*/
createWindow : function(onshowfn) {
this.callParent(arguments);
var win = this.app.getDesktop().getWindow(this.id);
if (win) {
/* Reset if form in form ( OperationsTT in TimeTable ) */
this.getUiContent().down('form').getForm().reset();
}
}
});