aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/tools-list.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/layout/tools-list.reel')
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.html14
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.js6
2 files changed, 0 insertions, 20 deletions
diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html
index 25aac8fb..cbbcace4 100755
--- a/js/components/layout/tools-list.reel/tools-list.html
+++ b/js/components/layout/tools-list.reel/tools-list.html
@@ -55,9 +55,6 @@
55 "SelectionTool1": { 55 "SelectionTool1": {
56 "prototype": "js/tools/SelectionTool" 56 "prototype": "js/tools/SelectionTool"
57 }, 57 },
58 "SubselectionTool1": {
59 "prototype": "js/tools/SubSelectTool"
60 },
61 "Rotate3DTool1": { 58 "Rotate3DTool1": {
62 "prototype": "js/tools/RotateObject3DTool" 59 "prototype": "js/tools/RotateObject3DTool"
63 }, 60 },
@@ -85,9 +82,6 @@
85 "LineTool1": { 82 "LineTool1": {
86 "prototype": "js/tools/LineTool" 83 "prototype": "js/tools/LineTool"
87 }, 84 },
88 "PencilTool1": {
89 "prototype": "js/tools/PencilTool"
90 },
91 "BrushTool1": { 85 "BrushTool1": {
92 "prototype": "js/tools/BrushTool" 86 "prototype": "js/tools/BrushTool"
93 }, 87 },
@@ -97,9 +91,6 @@
97 "InkBottleTool1": { 91 "InkBottleTool1": {
98 "prototype": "js/tools/InkBottleTool" 92 "prototype": "js/tools/InkBottleTool"
99 }, 93 },
100 "EyedropperTool1": {
101 "prototype": "js/tools/EyedropperTool"
102 },
103 "EraserTool1": { 94 "EraserTool1": {
104 "prototype": "js/tools/EraserTool" 95 "prototype": "js/tools/EraserTool"
105 }, 96 },
@@ -135,7 +126,6 @@
135 "properties": { 126 "properties": {
136 "element": {"#": "toolsList"}, 127 "element": {"#": "toolsList"},
137 "SelectionTool": {"@": "SelectionTool1"}, 128 "SelectionTool": {"@": "SelectionTool1"},
138 "SubselectionTool": {"@": "SubselectionTool1"},
139 "Rotate3DTool": {"@": "Rotate3DTool1"}, 129 "Rotate3DTool": {"@": "Rotate3DTool1"},
140 "Translate3DTool": {"@": "Translate3DTool1"}, 130 "Translate3DTool": {"@": "Translate3DTool1"},
141 "TagTool": {"@": "TagTool1"}, 131 "TagTool": {"@": "TagTool1"},
@@ -145,11 +135,9 @@
145 "OvalTool": {"@": "OvalTool1"}, 135 "OvalTool": {"@": "OvalTool1"},
146 "RectTool": {"@": "RectTool1"}, 136 "RectTool": {"@": "RectTool1"},
147 "LineTool": {"@": "LineTool1"}, 137 "LineTool": {"@": "LineTool1"},
148 "PencilTool": {"@": "PencilTool1"},
149 "BrushTool": {"@": "BrushTool1"}, 138 "BrushTool": {"@": "BrushTool1"},
150 "FillTool": {"@": "FillTool1"}, 139 "FillTool": {"@": "FillTool1"},
151 "InkBottleTool": {"@": "InkBottleTool1"}, 140 "InkBottleTool": {"@": "InkBottleTool1"},
152 "EyedropperTool": {"@": "EyedropperTool1"},
153 "EraserTool": {"@": "EraserTool1"}, 141 "EraserTool": {"@": "EraserTool1"},
154 "RotateStageTool3D": {"@": "RotateStageTool3D1"}, 142 "RotateStageTool3D": {"@": "RotateStageTool3D1"},
155 "PanTool": {"@": "PanTool1"}, 143 "PanTool": {"@": "PanTool1"},
@@ -173,8 +161,6 @@
173 <hr /> 161 <hr />
174 </div> 162 </div>
175 </div> 163 </div>
176 <!-- TODO: Remove and add as a component -->
177 <div id="colortoolbar"></div>
178 <div data-montage-id="disabledCondition" class="panelDisabled"></div> 164 <div data-montage-id="disabledCondition" class="panelDisabled"></div>
179 </div> 165 </div>
180 166
diff --git a/js/components/layout/tools-list.reel/tools-list.js b/js/components/layout/tools-list.reel/tools-list.js
index d68e8a56..a10b6c3e 100755
--- a/js/components/layout/tools-list.reel/tools-list.js
+++ b/js/components/layout/tools-list.reel/tools-list.js
@@ -10,7 +10,6 @@ var Component = require("montage/ui/component").Component;
10exports.ToolsList = Montage.create(Component, { 10exports.ToolsList = Montage.create(Component, {
11 11
12 SelectionTool: { value: null }, 12 SelectionTool: { value: null },
13 SubselectionTool: { value: null },
14 Rotate3DTool: { value: null }, 13 Rotate3DTool: { value: null },
15 Translate3DTool: { value: null }, 14 Translate3DTool: { value: null },
16 TagTool: { value: null }, 15 TagTool: { value: null },
@@ -20,11 +19,9 @@ exports.ToolsList = Montage.create(Component, {
20 OvalTool: { value: null }, 19 OvalTool: { value: null },
21 RectTool: { value: null }, 20 RectTool: { value: null },
22 LineTool: { value: null }, 21 LineTool: { value: null },
23 PencilTool: { value: null },
24 BrushTool: { value: null }, 22 BrushTool: { value: null },
25 FillTool: { value: null }, 23 FillTool: { value: null },
26 InkBottleTool: { value: null }, 24 InkBottleTool: { value: null },
27 EyedropperTool: { value: null },
28 EraserTool: { value: null }, 25 EraserTool: { value: null },
29 RotateStageTool3D: { value: null }, 26 RotateStageTool3D: { value: null },
30 PanTool: { value: null }, 27 PanTool: { value: null },
@@ -53,7 +50,6 @@ exports.ToolsList = Montage.create(Component, {
53 this.PenTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;//this.application.Ninja.toolsProperties.penProperties; 50 this.PenTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;//this.application.Ninja.toolsProperties.penProperties;
54 51
55 this.SelectionTool.options = this.application.ninja.toolsProperties.selectionProperties; 52 this.SelectionTool.options = this.application.ninja.toolsProperties.selectionProperties;
56 this.SubselectionTool.options = this.application.ninja.toolsProperties.subSelectionProperties;
57 53
58 this.Rotate3DTool.options = this.application.ninja.toolsProperties.rotate3DProperties; 54 this.Rotate3DTool.options = this.application.ninja.toolsProperties.rotate3DProperties;
59 this.Translate3DTool.options = this.application.ninja.toolsProperties.rotate3DProperties; 55 this.Translate3DTool.options = this.application.ninja.toolsProperties.rotate3DProperties;
@@ -68,10 +64,8 @@ exports.ToolsList = Montage.create(Component, {
68 this.OvalTool.options = this.application.ninja.toolsProperties.shapeProperties.ovalProperties; 64 this.OvalTool.options = this.application.ninja.toolsProperties.shapeProperties.ovalProperties;
69 this.RectTool.options = this.application.ninja.toolsProperties.shapeProperties.rectProperties; 65 this.RectTool.options = this.application.ninja.toolsProperties.shapeProperties.rectProperties;
70 this.LineTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties; 66 this.LineTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;
71 this.PencilTool.options = this.application.ninja.toolsProperties.pencilProperties;
72 this.BrushTool.options = this.application.ninja.toolsProperties.brushProperties; 67 this.BrushTool.options = this.application.ninja.toolsProperties.brushProperties;
73 68
74 this.EyedropperTool.options = this.application.ninja.toolsProperties.eyedropperProperties;
75 this.EraserTool.options = this.application.ninja.toolsProperties.eraserProperties; 69 this.EraserTool.options = this.application.ninja.toolsProperties.eraserProperties;
76 this.RotateStageTool3D.options = this.application.ninja.toolsProperties.rotateStageProperties; 70 this.RotateStageTool3D.options = this.application.ninja.toolsProperties.rotateStageProperties;
77 this.PanTool.options = this.application.ninja.toolsProperties.panProperties; 71 this.PanTool.options = this.application.ninja.toolsProperties.panProperties;