1098 " |
1098 " |
1099 |
1099 |
1100 <resource: #menu> |
1100 <resource: #menu> |
1101 |
1101 |
1102 ^ |
1102 ^ |
1103 #(#Menu |
1103 #(Menu |
1104 #( |
1104 ( |
1105 #(#MenuItem |
1105 (MenuItem |
1106 #activeHelpKey: #fileNew |
1106 activeHelpKey: fileNew |
1107 #label: 'New' |
1107 label: 'New' |
1108 #itemValue: #doNew |
1108 itemValue: doNew |
1109 #translateLabel: true |
1109 translateLabel: true |
1110 #isButton: true |
1110 isButton: true |
1111 #labelImage: #(#ResourceRetriever #ToolbarIconLibrary #newMenu24x24Icon) |
1111 labelImage: (ResourceRetriever ToolbarIconLibrary newMenu24x24Icon) |
1112 ) |
1112 ) |
1113 #(#MenuItem |
1113 (MenuItem |
1114 #activeHelpKey: #fileLoad |
1114 activeHelpKey: fileLoad |
1115 #label: 'Load' |
1115 label: 'Load' |
1116 #itemValue: #doLoad |
1116 itemValue: doLoad |
1117 #translateLabel: true |
1117 translateLabel: true |
1118 #isButton: true |
1118 isButton: true |
1119 #submenuChannel: #menuHistory |
1119 submenuChannel: menuHistory |
1120 #labelImage: #(#ResourceRetriever #ToolbarIconLibrary #load22x22Icon) |
1120 labelImage: (ResourceRetriever ToolbarIconLibrary load22x22Icon) |
1121 ) |
1121 ) |
1122 #(#MenuItem |
1122 (MenuItem |
1123 #activeHelpKey: #fileSave |
1123 activeHelpKey: fileSave |
1124 #label: 'Save' |
1124 label: 'Save' |
1125 #itemValue: #doSave |
1125 itemValue: doSave |
1126 #translateLabel: true |
1126 translateLabel: true |
1127 #isButton: true |
1127 isButton: true |
1128 #labelImage: #(#ResourceRetriever #ToolbarIconLibrary #save22x22Icon) |
1128 labelImage: (ResourceRetriever ToolbarIconLibrary saveAsMethod22x22Icon) |
1129 ) |
1129 ) |
1130 #(#MenuItem |
1130 (MenuItem |
1131 #label: '' |
1131 label: '' |
1132 ) |
1132 ) |
1133 #(#MenuItem |
1133 (MenuItem |
1134 #activeHelpKey: #editCut |
1134 activeHelpKey: editCut |
1135 #enabled: #hasSelectionChannel |
1135 enabled: hasSelectionChannel |
1136 #label: 'Cut' |
1136 label: 'Cut' |
1137 #itemValue: #doCut |
1137 itemValue: doCut |
1138 #translateLabel: true |
1138 translateLabel: true |
1139 #isButton: true |
1139 isButton: true |
1140 #labelImage: #(#ResourceRetriever #ToolbarIconLibrary #cut22x22Icon) |
1140 labelImage: (ResourceRetriever ToolbarIconLibrary cut22x22Icon) |
1141 ) |
1141 ) |
1142 #(#MenuItem |
1142 (MenuItem |
1143 #activeHelpKey: #editCopy |
1143 activeHelpKey: editCopy |
1144 #enabled: #hasSelectionChannel |
1144 enabled: hasSelectionChannel |
1145 #label: 'Copy' |
1145 label: 'Copy' |
1146 #itemValue: #doCopy |
1146 itemValue: doCopy |
1147 #translateLabel: true |
1147 translateLabel: true |
1148 #isButton: true |
1148 isButton: true |
1149 #labelImage: #(#ResourceRetriever #ToolbarIconLibrary #copy22x22Icon) |
1149 labelImage: (ResourceRetriever ToolbarIconLibrary copy22x22Icon) |
1150 ) |
1150 ) |
1151 #(#MenuItem |
1151 (MenuItem |
1152 #activeHelpKey: #editPaste |
1152 activeHelpKey: editPaste |
1153 #enabled: #valueOfCanPaste |
1153 enabled: valueOfCanPaste |
1154 #label: 'Paste' |
1154 label: 'Paste' |
1155 #itemValue: #doPaste |
1155 itemValue: doPaste |
1156 #translateLabel: true |
1156 translateLabel: true |
1157 #isButton: true |
1157 isButton: true |
1158 #labelImage: #(#ResourceRetriever #ToolbarIconLibrary #paste22x22Icon) |
1158 labelImage: (ResourceRetriever ToolbarIconLibrary paste22x22Icon) |
1159 ) |
1159 ) |
1160 #(#MenuItem |
1160 (MenuItem |
1161 #label: '' |
1161 label: '' |
1162 ) |
1162 ) |
1163 #(#MenuItem |
1163 (MenuItem |
1164 #activeHelpKey: #addMenuSeparator |
1164 activeHelpKey: addMenuSeparator |
1165 #enabled: #hasSingleSelectionChannel |
1165 enabled: hasSingleSelectionChannel |
1166 #label: 'Add Separator' |
1166 label: 'Add Separator' |
1167 #itemValue: #doCreateSep |
1167 itemValue: doCreateSep |
1168 #translateLabel: true |
1168 translateLabel: true |
1169 #isButton: true |
1169 isButton: true |
1170 #labelImage: #(#ResourceRetriever #'MenuEditor::Item' #iconSeparator) |
1170 labelImage: (ResourceRetriever #'MenuEditor::Item' iconSeparator) |
1171 ) |
1171 ) |
1172 #(#MenuItem |
1172 (MenuItem |
1173 #activeHelpKey: #addMenuItem |
1173 activeHelpKey: addMenuItem |
1174 #enabled: #hasSingleSelectionChannel |
1174 enabled: hasSingleSelectionChannel |
1175 #label: 'Add Item' |
1175 label: 'Add Item' |
1176 #itemValue: #doCreateItem |
1176 itemValue: doCreateItem |
1177 #translateLabel: true |
1177 translateLabel: true |
1178 #isButton: true |
1178 isButton: true |
1179 #labelImage: #(#ResourceRetriever #'MenuEditor::Item' #iconItem) |
1179 labelImage: (ResourceRetriever #'MenuEditor::Item' iconItem) |
1180 ) |
1180 ) |
1181 #(#MenuItem |
1181 (MenuItem |
1182 #activeHelpKey: #addSubMenu |
1182 activeHelpKey: addSubMenu |
1183 #enabled: #hasSingleSelectionChannel |
1183 enabled: hasSingleSelectionChannel |
1184 #label: 'Add Menu' |
1184 label: 'Add Menu' |
1185 #itemValue: #doCreateMenu |
1185 itemValue: doCreateMenu |
1186 #translateLabel: true |
1186 translateLabel: true |
1187 #isButton: true |
1187 isButton: true |
1188 #submenuChannel: #standardMenus |
1188 submenuChannel: standardMenus |
1189 #labelImage: #(#ResourceRetriever #'MenuEditor::Item' #iconMenu) |
1189 labelImage: (ResourceRetriever #'MenuEditor::Item' iconMenu) |
1190 ) |
1190 ) |
1191 #(#MenuItem |
1191 (MenuItem |
1192 #activeHelpKey: #addSubMenuLink |
1192 activeHelpKey: addSubMenuLink |
1193 #enabled: #hasSingleSelectionChannel |
1193 enabled: hasSingleSelectionChannel |
1194 #label: 'Add Linked Menu' |
1194 label: 'Add Linked Menu' |
1195 #itemValue: #doCreateLinkedMenu |
1195 itemValue: doCreateLinkedMenu |
1196 #translateLabel: true |
1196 translateLabel: true |
1197 #isButton: true |
1197 isButton: true |
1198 #labelImage: #(#ResourceRetriever #'MenuEditor::Item' #iconLinkedMenu) |
1198 labelImage: (ResourceRetriever #'MenuEditor::Item' iconLinkedMenu) |
1199 ) |
1199 ) |
1200 #(#MenuItem |
1200 (MenuItem |
1201 #label: '' |
1201 label: '' |
1202 ) |
1202 ) |
1203 #(#MenuItem |
1203 (MenuItem |
1204 #activeHelpKey: #addDelayedMenu |
1204 activeHelpKey: addDelayedMenu |
1205 #enabled: #canCreateDelayedMenuChannel |
1205 enabled: canCreateDelayedMenuChannel |
1206 #label: 'Add Delayed Menu' |
1206 label: 'Add Delayed Menu' |
1207 #itemValue: #doCreateDelayedMenu: |
1207 itemValue: doCreateDelayedMenu: |
1208 #translateLabel: true |
1208 translateLabel: true |
1209 #isButton: true |
1209 isButton: true |
1210 #labelImage: #(#ResourceRetriever #'MenuEditor::Item' #iconDelayedMenu) |
1210 labelImage: (ResourceRetriever #'MenuEditor::Item' iconDelayedMenu) |
1211 #argument: #menu |
1211 argument: menu |
1212 ) |
1212 ) |
1213 #(#MenuItem |
1213 (MenuItem |
1214 #activeHelpKey: #addDelayedSubMenuLink |
1214 activeHelpKey: addDelayedSubMenuLink |
1215 #enabled: #canCreateDelayedMenuChannel |
1215 enabled: canCreateDelayedMenuChannel |
1216 #label: 'Add Delayed Linked Menu' |
1216 label: 'Add Delayed Linked Menu' |
1217 #itemValue: #doCreateDelayedMenu: |
1217 itemValue: doCreateDelayedMenu: |
1218 #translateLabel: true |
1218 translateLabel: true |
1219 #isButton: true |
1219 isButton: true |
1220 #labelImage: #(#ResourceRetriever #'MenuEditor::Item' #iconDelayedLinkedMenu) |
1220 labelImage: (ResourceRetriever #'MenuEditor::Item' iconDelayedLinkedMenu) |
1221 #argument: #linkedMenu |
1221 argument: linkedMenu |
1222 ) |
1222 ) |
1223 #(#MenuItem |
1223 (MenuItem |
1224 #activeHelpKey: #editMoveUp |
1224 activeHelpKey: editMoveUp |
1225 #enabled: #valueOfEnableMovingUpOrDown |
1225 enabled: valueOfEnableMovingUpOrDown |
1226 #label: 'Move Up' |
1226 label: 'Move Up' |
1227 #itemValue: #doMoveUpOrDown: |
1227 itemValue: doMoveUpOrDown: |
1228 #translateLabel: true |
1228 translateLabel: true |
1229 #isButton: true |
1229 isButton: true |
1230 #startGroup: #right |
1230 startGroup: right |
1231 #labelImage: #(#ResourceRetriever #Icon #upIcon) |
1231 labelImage: (ResourceRetriever Icon upIcon) |
1232 #argument: #up |
1232 argument: up |
1233 ) |
1233 ) |
1234 #(#MenuItem |
1234 (MenuItem |
1235 #activeHelpKey: #editMoveDown |
1235 activeHelpKey: editMoveDown |
1236 #enabled: #valueOfEnableMovingUpOrDown |
1236 enabled: valueOfEnableMovingUpOrDown |
1237 #label: 'Move Down' |
1237 label: 'Move Down' |
1238 #itemValue: #doMoveUpOrDown: |
1238 itemValue: doMoveUpOrDown: |
1239 #translateLabel: true |
1239 translateLabel: true |
1240 #isButton: true |
1240 isButton: true |
1241 #labelImage: #(#ResourceRetriever #Icon #downIcon) |
1241 labelImage: (ResourceRetriever Icon downIcon) |
1242 #argument: #down |
1242 argument: down |
1243 ) |
1243 ) |
1244 #(#MenuItem |
1244 (MenuItem |
1245 #activeHelpKey: #editMoveIn |
1245 activeHelpKey: editMoveIn |
1246 #enabled: #valueOfEnableMovingIn |
1246 enabled: valueOfEnableMovingIn |
1247 #label: 'Move In' |
1247 label: 'Move In' |
1248 #itemValue: #doMoveIn: |
1248 itemValue: doMoveIn: |
1249 #translateLabel: true |
1249 translateLabel: true |
1250 #isButton: true |
1250 isButton: true |
1251 #labelImage: #(#ResourceRetriever #Icon #downRightIcon) |
1251 labelImage: (ResourceRetriever Icon downRightIcon) |
1252 #argument: #inNext |
1252 argument: inNext |
1253 ) |
1253 ) |
1254 #(#MenuItem |
1254 (MenuItem |
1255 #activeHelpKey: #editMoveInAbove |
1255 activeHelpKey: editMoveInAbove |
1256 #enabled: #valueOfEnableMovingInAbove |
1256 enabled: valueOfEnableMovingInAbove |
1257 #label: 'Move In Above' |
1257 label: 'Move In Above' |
1258 #itemValue: #doMoveIn: |
1258 itemValue: doMoveIn: |
1259 #translateLabel: true |
1259 translateLabel: true |
1260 #isButton: true |
1260 isButton: true |
1261 #labelImage: #(#ResourceRetriever #Icon #upRightIcon) |
1261 labelImage: (ResourceRetriever Icon upRightIcon) |
1262 #argument: #inPrev |
1262 argument: inPrev |
1263 ) |
1263 ) |
1264 #(#MenuItem |
1264 (MenuItem |
1265 #activeHelpKey: #editMoveOut |
1265 activeHelpKey: editMoveOut |
1266 #enabled: #valueOfEnableMovingOut |
1266 enabled: valueOfEnableMovingOut |
1267 #label: 'Move Out' |
1267 label: 'Move Out' |
1268 #itemValue: #doMoveOut |
1268 itemValue: doMoveOut |
1269 #translateLabel: true |
1269 translateLabel: true |
1270 #isButton: true |
1270 isButton: true |
1271 #labelImage: #(#ResourceRetriever #Icon #leftDownIcon) |
1271 labelImage: (ResourceRetriever Icon leftDownIcon) |
1272 ) |
1272 ) |
1273 ) |
1273 ) |
1274 nil |
1274 nil |
1275 nil |
1275 nil |
1276 ) |
1276 ) |