From 5d7e470351fd150d5e70a97332fa2f2553797499 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Mon, 7 May 2012 11:09:45 -0700 Subject: Initial Setup of the binding Tool Signed-off-by: Armen Kesablyan --- .../layout/tools-list.reel/tools-list.html | 4 +++ .../tools-properties.reel/tools-properties.html | 10 ++++++- .../binding-properties.reel/binding-properties.css | 6 ++++ .../binding-properties.html | 35 ++++++++++++++++++++++ .../binding-properties.reel/binding-properties.js | 25 ++++++++++++++++ 5 files changed, 79 insertions(+), 1 deletion(-) create mode 100755 js/components/tools-properties/binding-properties.reel/binding-properties.css create mode 100755 js/components/tools-properties/binding-properties.reel/binding-properties.html create mode 100755 js/components/tools-properties/binding-properties.reel/binding-properties.js (limited to 'js/components') diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html index acee20b2..f9361dd6 100755 --- a/js/components/layout/tools-list.reel/tools-list.html +++ b/js/components/layout/tools-list.reel/tools-list.html @@ -112,6 +112,9 @@ "ZoomTool1": { "prototype": "js/tools/ZoomTool" }, + "BindingTool1": { + "prototype": "js/tools/BindingTool" + }, "disable": { "prototype": "montage/ui/condition.reel", @@ -151,6 +154,7 @@ "RotateStageTool3D": {"@": "RotateStageTool3D1"}, "PanTool": {"@": "PanTool1"}, "ZoomTool": {"@": "ZoomTool1"}, + "bindingTool": {"@": "BindingTool1"}, "components": [ {"@": "repetition1"} ] diff --git a/js/components/layout/tools-properties.reel/tools-properties.html b/js/components/layout/tools-properties.reel/tools-properties.html index 8dd0f713..90da0fbe 100755 --- a/js/components/layout/tools-properties.reel/tools-properties.html +++ b/js/components/layout/tools-properties.reel/tools-properties.html @@ -120,6 +120,12 @@ "element": {"#": "zoomProperties"} } }, + "bindingProperties1": { + "prototype": "js/components/tools-properties/binding-properties.reel", + "properties": { + "element": {"#": "bindingProperties"} + } + }, "disable": { "prototype": "montage/ui/condition.reel", @@ -155,7 +161,8 @@ "eraserProperties": {"@": "eraserProperties1"}, "rotateStageProperties": {"@": "rotateStageProperties1"}, "panProperties": {"@": "panProperties1"}, - "zoomProperties": {"@": "zoomProperties1"} + "zoomProperties": {"@": "zoomProperties1"}, + "bindingProperties": {"@": "bindingProperties1"} }, "bindings": { "currentSelectedTool": { @@ -188,6 +195,7 @@
+
diff --git a/js/components/tools-properties/binding-properties.reel/binding-properties.css b/js/components/tools-properties/binding-properties.reel/binding-properties.css new file mode 100755 index 00000000..7f1b0f7f --- /dev/null +++ b/js/components/tools-properties/binding-properties.reel/binding-properties.css @@ -0,0 +1,6 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + diff --git a/js/components/tools-properties/binding-properties.reel/binding-properties.html b/js/components/tools-properties/binding-properties.reel/binding-properties.html new file mode 100755 index 00000000..5a55d0a4 --- /dev/null +++ b/js/components/tools-properties/binding-properties.reel/binding-properties.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/js/components/tools-properties/binding-properties.reel/binding-properties.js b/js/components/tools-properties/binding-properties.reel/binding-properties.js new file mode 100755 index 00000000..8d30d855 --- /dev/null +++ b/js/components/tools-properties/binding-properties.reel/binding-properties.js @@ -0,0 +1,25 @@ +/* +This file contains proprietary software owned by Motorola Mobility, Inc.
+No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +var Montage = require("montage/core/core").Montage; +var Component = require("montage/ui/component").Component; +var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties; + +exports.BindingProperties = Montage.create(ToolProperties, { + + _subPrepare: { + value: function() { + + } + }, + + handleClick: { + value: function(event) { + + } + } + +}); \ No newline at end of file -- cgit v1.2.3 From e3efa52c409ef05c28bfc5f1f25a750b5132c3bd Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Wed, 9 May 2012 09:28:03 -0700 Subject: After merge file change Signed-off-by: Armen Kesablyan --- js/components/layout/tools-properties.reel/tools-properties.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/components') diff --git a/js/components/layout/tools-properties.reel/tools-properties.html b/js/components/layout/tools-properties.reel/tools-properties.html index 112cfcb0..9061cd12 100755 --- a/js/components/layout/tools-properties.reel/tools-properties.html +++ b/js/components/layout/tools-properties.reel/tools-properties.html @@ -1,4 +1,4 @@ - +