diff options
Diffstat (limited to 'js/components/layout/documents-tab.reel/documents-tab.js')
-rw-r--r-- | js/components/layout/documents-tab.reel/documents-tab.js | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/js/components/layout/documents-tab.reel/documents-tab.js b/js/components/layout/documents-tab.reel/documents-tab.js new file mode 100644 index 00000000..e874a73c --- /dev/null +++ b/js/components/layout/documents-tab.reel/documents-tab.js | |||
@@ -0,0 +1,45 @@ | |||
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 documentManagerModule = require("js/io/document/document-controller"); | ||
11 | |||
12 | exports.DocumentsTab = Montage.create(Component, { | ||
13 | |||
14 | openDocuments: { | ||
15 | value: [] | ||
16 | }, | ||
17 | |||
18 | prepareForDraw: { | ||
19 | enumerable: false, | ||
20 | value: function() { | ||
21 | // console.log("Change this to be inside the Ninja Reel"); | ||
22 | this.openDocuments = documentManagerModule.DocumentController._documents; | ||
23 | // this.eventManager.addEventListener( "appLoaded", this, false); | ||
24 | } | ||
25 | }, | ||
26 | |||
27 | handleAppLoaded: { | ||
28 | value: function() { | ||
29 | // this.openDocuments = this.application.ninja.currentDocument; | ||
30 | } | ||
31 | }, | ||
32 | |||
33 | draw: { | ||
34 | enumerable: false, | ||
35 | value: function() { | ||
36 | |||
37 | } | ||
38 | }, | ||
39 | |||
40 | handleClick: { | ||
41 | value: function(event) { | ||
42 | |||
43 | } | ||
44 | } | ||
45 | }); \ No newline at end of file | ||