aboutsummaryrefslogtreecommitdiff
path: root/js/io/workflow/newProjectNavigator.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-02-22 16:26:41 -0800
committerArmen Kesablyan2012-02-22 16:26:41 -0800
commit0bd1cefea2ab350fad1a891bdc926053b799aafc (patch)
tree962f559fcc02a3dfeb297d59907e40fa153453f3 /js/io/workflow/newProjectNavigator.js
parent695bc5082f48dddf66ce31480a4faefc067b38bd (diff)
parent2d2b1af8b5c0d506fe6a1cf65614101fec145970 (diff)
downloadninja-0bd1cefea2ab350fad1a891bdc926053b799aafc.tar.gz
Merge branch 'refs/heads/master' into new-tool-icons
Diffstat (limited to 'js/io/workflow/newProjectNavigator.js')
-rw-r--r--js/io/workflow/newProjectNavigator.js75
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>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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
7var Montage = require("montage/core/core").Montage;
8var Component = require("montage/ui/component").Component;
9
10var modalDialogManagerModule = require("js/components/ui/modalDialog/modal-dialog-manager");
11var iconsListModule = require("js/components/ui/FilePicker/iconsList");
12
13var 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