diff options
Diffstat (limited to 'js/mediators')
-rwxr-xr-x[-rw-r--r--] | js/mediators/drag-drop-mediator.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/mediators/element-mediator.js | 0 | ||||
-rw-r--r-- | js/mediators/io-mediator.js | 52 | ||||
-rwxr-xr-x[-rw-r--r--] | js/mediators/keyboard-mediator.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/mediators/mouse-mediator.js | 0 |
5 files changed, 52 insertions, 0 deletions
diff --git a/js/mediators/drag-drop-mediator.js b/js/mediators/drag-drop-mediator.js index 07e4a50c..07e4a50c 100644..100755 --- a/js/mediators/drag-drop-mediator.js +++ b/js/mediators/drag-drop-mediator.js | |||
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index a6f31703..a6f31703 100644..100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js | |||
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js new file mode 100644 index 00000000..f778c849 --- /dev/null +++ b/js/mediators/io-mediator.js | |||
@@ -0,0 +1,52 @@ | |||
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 | //////////////////////////////////////////////////////////////////////// | ||
8 | // | ||
9 | var Montage = require("montage/core/core").Montage, | ||
10 | FileIo = require("js/io/system/fileio").FileIo, | ||
11 | ProjectIo = require("js/io/system/projectio").ProjectIo; | ||
12 | //////////////////////////////////////////////////////////////////////// | ||
13 | // | ||
14 | exports.IoMediator = Montage.create(Object.prototype, { | ||
15 | //////////////////////////////////////////////////////////////////// | ||
16 | // | ||
17 | fileNew: { | ||
18 | enumerable: false, | ||
19 | value: function (file, template, callback) { | ||
20 | // | ||
21 | |||
22 | } | ||
23 | }, | ||
24 | //////////////////////////////////////////////////////////////////// | ||
25 | // | ||
26 | fileOpen: { | ||
27 | enumerable: false, | ||
28 | value: function (file, callback) { | ||
29 | // | ||
30 | } | ||
31 | }, | ||
32 | //////////////////////////////////////////////////////////////////// | ||
33 | // | ||
34 | fileSave: { | ||
35 | enumerable: false, | ||
36 | value: function (file, callback) { | ||
37 | // | ||
38 | } | ||
39 | }, | ||
40 | //////////////////////////////////////////////////////////////////// | ||
41 | // | ||
42 | fileSaveAs: { | ||
43 | enumerable: false, | ||
44 | value: function (file, copy, callback) { | ||
45 | // | ||
46 | } | ||
47 | } | ||
48 | //////////////////////////////////////////////////////////////////// | ||
49 | //////////////////////////////////////////////////////////////////// | ||
50 | }); | ||
51 | //////////////////////////////////////////////////////////////////////// | ||
52 | //////////////////////////////////////////////////////////////////////// \ No newline at end of file | ||
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js index 144932c0..144932c0 100644..100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
diff --git a/js/mediators/mouse-mediator.js b/js/mediators/mouse-mediator.js index cef6c6c4..cef6c6c4 100644..100755 --- a/js/mediators/mouse-mediator.js +++ b/js/mediators/mouse-mediator.js | |||