MenuEditor.st
changeset 1886 319fd72c588c
parent 1881 dde52f4278c0
child 1891 b2bdebd72f53
equal deleted inserted replaced
1885:a09ede39c43f 1886:319fd72c588c
   437 
   437 
   438 #editPaste
   438 #editPaste
   439 'Paste Item'
   439 'Paste Item'
   440 
   440 
   441 #fileLoad
   441 #fileLoad
   442 'Load Spec from Method'
   442 'Load Menuspec from Method'
   443 
   443 
   444 #fileSave
   444 #fileSave
   445 'Save Spec As Method'
   445 'Save Menuspec as Method'
   446 
   446 
   447 #fileSaveAs
   447 #fileSaveAs
   448 'Save Spec As'
   448 'Save Menuspec as Method...'
   449 
   449 
   450 #addMenuSeparator
   450 #addMenuSeparator
   451 'Add Separator'
   451 'Add Separator'
   452 
   452 
   453 #addMenuItem
   453 #addMenuItem
   464 
   464 
   465 #addSubMenuLink
   465 #addSubMenuLink
   466 'Add Linked Submenu'
   466 'Add Linked Submenu'
   467 
   467 
   468 #fileNew
   468 #fileNew
   469 'New Spec'
   469 'New Menuspec'
   470 )
   470 )
   471 ! !
   471 ! !
   472 
   472 
   473 !MenuEditor class methodsFor:'image specs'!
   473 !MenuEditor class methodsFor:'image specs'!
   474 
   474 
  1134             activeHelpKey: fileNew
  1134             activeHelpKey: fileNew
  1135             label: 'New'
  1135             label: 'New'
  1136             itemValue: doNew
  1136             itemValue: doNew
  1137             translateLabel: true
  1137             translateLabel: true
  1138             isButton: true
  1138             isButton: true
  1139             labelImage: (ResourceRetriever ToolbarIconLibrary newMenu24x24Icon)
  1139             labelImage: (ResourceRetriever ToolbarIconLibrary newMenuIcon)
  1140           )
  1140           )
  1141          (MenuItem
  1141          (MenuItem
  1142             activeHelpKey: fileLoad
  1142             activeHelpKey: fileLoad
  1143             label: 'Load'
  1143             label: 'Load'
  1144             itemValue: doLoad
  1144             itemValue: doLoad
  1145             translateLabel: true
  1145             translateLabel: true
  1146             isButton: true
  1146             isButton: true
  1147             submenuChannel: menuHistory
  1147             submenuChannel: menuHistory
  1148             labelImage: (ResourceRetriever ToolbarIconLibrary loadFromMethod22x22Icon)
  1148             labelImage: (ResourceRetriever ToolbarIconLibrary loadFromMethodIcon)
  1149             keepLinkedMenu: true
  1149             keepLinkedMenu: true
  1150           )
  1150           )
  1151          (MenuItem
  1151          (MenuItem
  1152             activeHelpKey: fileSave
  1152             activeHelpKey: fileSave
  1153             label: 'Save'
  1153             label: 'Save'
  1154             itemValue: doSave
  1154             itemValue: doSave
  1155             translateLabel: true
  1155             translateLabel: true
  1156             isButton: true
  1156             isButton: true
  1157             labelImage: (ResourceRetriever ToolbarIconLibrary saveAsMethod22x22Icon)
  1157             labelImage: (ResourceRetriever ToolbarIconLibrary saveAsMethodIcon)
  1158           )
  1158           )
  1159          (MenuItem
  1159          (MenuItem
  1160             label: ''
  1160             label: ''
  1161           )
  1161           )
  1162          (MenuItem
  1162          (MenuItem
  1164             enabled: hasSelectionChannel
  1164             enabled: hasSelectionChannel
  1165             label: 'Cut'
  1165             label: 'Cut'
  1166             itemValue: doCut
  1166             itemValue: doCut
  1167             translateLabel: true
  1167             translateLabel: true
  1168             isButton: true
  1168             isButton: true
  1169             labelImage: (ResourceRetriever ToolbarIconLibrary cutMenuItem22x22Icon)
  1169             labelImage: (ResourceRetriever ToolbarIconLibrary cutMenuItemIcon)
  1170           )
  1170           )
  1171          (MenuItem
  1171          (MenuItem
  1172             activeHelpKey: editCopy
  1172             activeHelpKey: editCopy
  1173             enabled: hasSelectionChannel
  1173             enabled: hasSelectionChannel
  1174             label: 'Copy'
  1174             label: 'Copy'
  1175             itemValue: doCopy
  1175             itemValue: doCopy
  1176             translateLabel: true
  1176             translateLabel: true
  1177             isButton: true
  1177             isButton: true
  1178             labelImage: (ResourceRetriever ToolbarIconLibrary copyMenuItem22x22Icon)
  1178             labelImage: (ResourceRetriever ToolbarIconLibrary copyMenuItemIcon)
  1179           )
  1179           )
  1180          (MenuItem
  1180          (MenuItem
  1181             activeHelpKey: editPaste
  1181             activeHelpKey: editPaste
  1182             enabled: valueOfCanPaste
  1182             enabled: valueOfCanPaste
  1183             label: 'Paste'
  1183             label: 'Paste'
  1184             itemValue: doPaste
  1184             itemValue: doPaste
  1185             translateLabel: true
  1185             translateLabel: true
  1186             isButton: true
  1186             isButton: true
  1187             labelImage: (ResourceRetriever ToolbarIconLibrary pasteMenuItem22x22Icon)
  1187             labelImage: (ResourceRetriever ToolbarIconLibrary pasteMenuItemIcon)
  1188           )
  1188           )
  1189          (MenuItem
  1189          (MenuItem
  1190             label: ''
  1190             label: ''
  1191           )
  1191           )
  1192          (MenuItem
  1192          (MenuItem