diff options
Diffstat (limited to 'js/io/workflow/newProjectNavigator.js')
-rw-r--r-- | js/io/workflow/newProjectNavigator.js | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/js/io/workflow/newProjectNavigator.js b/js/io/workflow/newProjectNavigator.js deleted file mode 100644 index 9870ba49..00000000 --- a/js/io/workflow/newProjectNavigator.js +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | var Montage = require("montage/core/core").Montage; | ||
8 | var Component = require("montage/ui/component").Component; | ||
9 | |||
10 | var modalDialogManagerModule = require("js/components/ui/modalDialog/modal-dialog-manager"); | ||
11 | var iconsListModule = require("js/components/ui/FilePicker/iconsList"); | ||
12 | |||
13 | var NewProjectNavigator = exports.NewProjectNavigator = Montage.create(Component, { | ||
14 | |||
15 | willDraw: { | ||
16 | enumerable: false, | ||
17 | value: function() { | ||
18 | |||
19 | } | ||
20 | }, | ||
21 | draw: { | ||
22 | enumerable: false, | ||
23 | value: function() { | ||
24 | |||
25 | } | ||
26 | }, | ||
27 | didDraw: { | ||
28 | enumerable: false, | ||
29 | value: function() { | ||
30 | |||
31 | var that = this; | ||
32 | |||
33 | //hack instead of repetition for now | ||
34 | // if((this.choicesData !== null) && (this.choicesData.hasChilden === true)){ | ||
35 | // this.choicesData.root.children.forEach(function(el){ | ||
36 | // | ||
37 | // }, this); | ||
38 | // } | ||
39 | |||
40 | //Draw icon list | ||
41 | var iconList = iconsListModule.IconsList.create(); | ||
42 | iconList.element = this.element.getElementsByClassName("right-top")[0]; | ||
43 | iconList.needsDraw = true; | ||
44 | |||
45 | //test | ||
46 | // setTimeout(function(){ | ||
47 | // iconList.iconsViewDataObject = [ | ||
48 | // { | ||
49 | // "id":"tete", | ||
50 | // "name":"fsvsf", | ||
51 | // "uri":null, | ||
52 | // "fileType":null, | ||
53 | // "hasChilden":false, | ||
54 | // "hasIcon": false, | ||
55 | // "iconUrl":null | ||
56 | // }, | ||
57 | // { | ||
58 | // "id":"ouou", | ||
59 | // "name":"wefwfw", | ||
60 | // "uri":null, | ||
61 | // "fileType":null, | ||
62 | // "hasChilden":false, | ||
63 | // "hasIcon": false, | ||
64 | // "iconUrl":null | ||
65 | // }]; | ||
66 | // | ||
67 | // },5000); | ||
68 | |||
69 | |||
70 | |||
71 | |||
72 | } | ||
73 | } | ||
74 | |||
75 | }); \ No newline at end of file | ||