aboutsummaryrefslogtreecommitdiff
path: root/js/data/menu-data.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-14 11:07:21 -0800
committerValerio Virgillito2012-02-14 11:07:21 -0800
commitf060190a3bffd9a16718f2ce0499699103d46372 (patch)
treea308fe7eacec2156c8212dff0892a3de925d5f9a /js/data/menu-data.js
parentf766cc203f30ea43ae8b83cf4b65d45cc4435ee9 (diff)
parent33bc9d62b8e6694500bf14d5b18187bd99a520a3 (diff)
downloadninja-f060190a3bffd9a16718f2ce0499699103d46372.tar.gz
Merge branch 'FileIO' of https://github.com/joseeight/ninja-internal into integration
Diffstat (limited to 'js/data/menu-data.js')
-rwxr-xr-x[-rw-r--r--]js/data/menu-data.js17
1 files changed, 10 insertions, 7 deletions
diff --git a/js/data/menu-data.js b/js/data/menu-data.js
index 34adc82d..3a065958 100644..100755
--- a/js/data/menu-data.js
+++ b/js/data/menu-data.js
@@ -15,7 +15,7 @@ exports.MenuData = Montage.create( Montage, {
15 { 15 {
16 "displayText" : "New Project", 16 "displayText" : "New Project",
17 "hasSubMenu" : false, 17 "hasSubMenu" : false,
18 "enabled": true, 18 "enabled": false,
19 "action": "executeNewProject" 19 "action": "executeNewProject"
20 }, 20 },
21 { 21 {
@@ -25,7 +25,7 @@ exports.MenuData = Montage.create( Montage, {
25 "action": "executeNewFile" 25 "action": "executeNewFile"
26 }, 26 },
27 { 27 {
28 "displayText" : "Open...", 28 "displayText" : "Open File",
29 "hasSubMenu" : false, 29 "hasSubMenu" : false,
30 "enabled": true, 30 "enabled": true,
31 "action": "executeFileOpen" 31 "action": "executeFileOpen"
@@ -37,17 +37,20 @@ exports.MenuData = Montage.create( Montage, {
37 { 37 {
38 "displayText" : "Save", 38 "displayText" : "Save",
39 "hasSubMenu" : false, 39 "hasSubMenu" : false,
40 "enabled": false 40 "enabled": true,
41 "action": "executeSave"
41 }, 42 },
42 { 43 {
43 "displayText" : "Save As", 44 "displayText" : "Save As",
44 "hasSubMenu" : false, 45 "hasSubMenu" : false,
45 "enabled": false 46 "enabled": true,
47 "action":"saveAs"
46 }, 48 },
47 { 49 {
48 "displayText" : "Save All", 50 "displayText" : "Save All",
49 "hasSubMenu" : false, 51 "hasSubMenu" : false,
50 "enabled": false 52 "enabled": true,
53 "action": "executeSaveAll"
51 }, 54 },
52 { 55 {
53 "displayText" : "", 56 "displayText" : "",
@@ -56,12 +59,12 @@ exports.MenuData = Montage.create( Montage, {
56 { 59 {
57 "displayText" : "Open Project", 60 "displayText" : "Open Project",
58 "hasSubMenu" : false, 61 "hasSubMenu" : false,
59 "enabled": true 62 "enabled": false
60 }, 63 },
61 { 64 {
62 "displayText" : "Open Recent", 65 "displayText" : "Open Recent",
63 "hasSubMenu" : false, 66 "hasSubMenu" : false,
64 "enabled": true 67 "enabled": false
65 }, 68 },
66 { 69 {
67 "displayText" : "Close Project", 70 "displayText" : "Close Project",