aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/selection-properties.reel/selection-properties.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/tools-properties/selection-properties.reel/selection-properties.js')
-rw-r--r--js/components/tools-properties/selection-properties.reel/selection-properties.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/js/components/tools-properties/selection-properties.reel/selection-properties.js b/js/components/tools-properties/selection-properties.reel/selection-properties.js
new file mode 100644
index 00000000..c25e96d1
--- /dev/null
+++ b/js/components/tools-properties/selection-properties.reel/selection-properties.js
@@ -0,0 +1,29 @@
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;
9var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties;
10
11exports.SelectionProperties = Montage.create(ToolProperties, {
12
13 transform: { value: null },
14 _controls: { value: false },
15
16 _subPrepare: {
17 value: function() {
18 this.transform.addEventListener("change", this, false);
19 }
20 },
21
22 handleChange: {
23 value: function(event) {
24 this._controls = this.transform.checked;
25 NJevent("toolOptionsChange", {source: "SelectionProperties", inTransformMode: this.transform.checked});
26 }
27 }
28
29}); \ No newline at end of file