author | Eugene Ostroukhov <eugeneo@symbian.org> |
Tue, 16 Mar 2010 18:01:11 -0700 | |
changeset 273 | b1f63c2c240c |
parent 211 | 7b148352159e |
permissions | -rw-r--r-- |
210
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
1 |
/** |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
2 |
* Copyright (c) 2009-2010 Symbian Foundation and/or its subsidiary(-ies). |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
3 |
* All rights reserved. |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
8 |
* |
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
9 |
* Initial Contributors: |
273
b1f63c2c240c
Bug 2072 - Update .js files with EPL
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
211
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
b1f63c2c240c
Bug 2072 - Update .js files with EPL
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
211
diff
changeset
|
11 |
* |
210
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
12 |
* Contributors: |
273
b1f63c2c240c
Bug 2072 - Update .js files with EPL
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
211
diff
changeset
|
13 |
* |
b1f63c2c240c
Bug 2072 - Update .js files with EPL
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
211
diff
changeset
|
14 |
* Description: |
b1f63c2c240c
Bug 2072 - Update .js files with EPL
Eugene Ostroukhov <eugeneo@symbian.org>
parents:
211
diff
changeset
|
15 |
* |
210
0f7abfd6ae62
Fixed bug 2072: update .js files with EPL
tasneems@symbian.org
parents:
73
diff
changeset
|
16 |
*/ |
73 | 17 |
|
18 |
/////////////////////////////////////////////////////////////////////////////// |
|
19 |
// This script includes the WRTKit for use in a widget. |
|
20 |
||
21 |
// WRTKit version (major.minor.revision, e.g. 1.0.0). |
|
22 |
var WRTKIT_VERSION_MAJOR = 1; |
|
23 |
var WRTKIT_VERSION_MINOR = 0; |
|
24 |
var WRTKIT_VERSION_REVISION = 0; |
|
25 |
var WRTKIT_RESOURCE_DIRECTORY = "WRTKit/Resources/"; |
|
26 |
||
27 |
// Include util script files. |
|
28 |
includeScript("WRTKit/Utils/Logger.js"); |
|
29 |
||
30 |
// Include UI visual definition. |
|
31 |
includeStyleSheet("WRTKit/Resources/UI.css"); |
|
32 |
||
33 |
// Include all UI toolkit script files. |
|
34 |
var UI_NO_INIT_ID = "UI_NO_INIT_ID"; |
|
35 |
||
36 |
includeScript("WRTKit/UI/UIInit.js"); |
|
37 |
includeScript("WRTKit/UI/UIElement.js"); |
|
38 |
includeScript("WRTKit/UI/Scrollbar.js"); |
|
39 |
includeScript("WRTKit/UI/NotificationPopup.js"); |
|
40 |
includeScript("WRTKit/UI/UIManager.js"); |
|
41 |
includeScript("WRTKit/UI/View.js"); |
|
42 |
includeScript("WRTKit/UI/ListView.js"); |
|
43 |
includeScript("WRTKit/UI/Control.js"); |
|
44 |
includeScript("WRTKit/UI/Separator.js"); |
|
45 |
includeScript("WRTKit/UI/Label.js"); |
|
46 |
includeScript("WRTKit/UI/ContentPanel.js"); |
|
47 |
includeScript("WRTKit/UI/TextEntryControl.js"); |
|
48 |
includeScript("WRTKit/UI/TextField.js"); |
|
49 |
includeScript("WRTKit/UI/TextArea.js"); |
|
50 |
includeScript("WRTKit/UI/SelectionControl.js"); |
|
51 |
includeScript("WRTKit/UI/SelectionMenu.js"); |
|
52 |
includeScript("WRTKit/UI/SelectionList.js"); |
|
53 |
includeScript("WRTKit/UI/ActionControl.js"); |
|
54 |
includeScript("WRTKit/UI/FormButton.js"); |
|
55 |
includeScript("WRTKit/UI/NavigationButton.js"); |
|
56 |
includeScript("WRTKit/UI/Ajax.js"); |
|
57 |
||
58 |
// Includes a script file by writing a script tag. |
|
59 |
function includeScript(src) { |
|
60 |
document.write("<script type=\"text/javascript\" src=\"" + src + "\"></script>"); |
|
61 |
} |
|
62 |
||
63 |
// Includes a style sheet by writing a style tag. |
|
64 |
function includeStyleSheet(src) { |
|
65 |
document.write("<style type=\"text/css\"> @import url(\"" + src + "\"); </style>"); |
|
66 |
} |