MenuEditor.st
changeset 411 7f21bc19cd51
parent 410 771f513ad451
child 412 330bf61c53b5
equal deleted inserted replaced
410:771f513ad451 411:7f21bc19cd51
   806      
   806      
   807        #(#FullSpec
   807        #(#FullSpec
   808           #'window:' 
   808           #'window:' 
   809            #(#WindowSpec
   809            #(#WindowSpec
   810               #'name:' 'unnamed canvas'
   810               #'name:' 'unnamed canvas'
   811               #'layout:' #(#LayoutFrame 228 0 263 0 494 0 581 0)
   811               #'layout:' #(#LayoutFrame 157 0 230 0 423 0 548 0)
   812               #'label:' 'unnamed canvas'
   812               #'label:' 'unnamed canvas'
   813               #'min:' #(#Point 10 10)
   813               #'min:' #(#Point 10 10)
   814               #'max:' #(#Point 1160 870)
   814               #'max:' #(#Point 1160 870)
   815               #'bounds:' #(#Rectangle 228 263 495 582)
   815               #'bounds:' #(#Rectangle 157 230 424 549)
   816               #'usePreferredExtent:' false
   816               #'usePreferredExtent:' false
   817           )
   817           )
   818           #'component:' 
   818           #'component:' 
   819            #(#SpecCollection
   819            #(#SpecCollection
   820               #'collection:' 
   820               #'collection:' 
   826                     #'adjust:' #right
   826                     #'adjust:' #right
   827                     #'resizeForLabel:' true
   827                     #'resizeForLabel:' true
   828                 )
   828                 )
   829                  #(#InputFieldSpec
   829                  #(#InputFieldSpec
   830                     #'name:' 'nameKeyField'
   830                     #'name:' 'nameKeyField'
   831                     #'layout:' #(#LayoutFrame 110 0 15 0 0 1.0 37 0)
   831                     #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
   832                     #'activeHelpKey:' #nameKey
   832                     #'activeHelpKey:' #nameKey
   833                     #'tabable:' true
   833                     #'tabable:' true
   834                     #'model:' #nameKey
   834                     #'model:' #nameKey
   835                     #'type:' #symbolOrNil
   835                     #'type:' #symbolOrNil
   836                     #'acceptOnReturn:' false
   836                     #'acceptOnReturn:' false
   843                     #'adjust:' #right
   843                     #'adjust:' #right
   844                     #'resizeForLabel:' true
   844                     #'resizeForLabel:' true
   845                 )
   845                 )
   846                  #(#InputFieldSpec
   846                  #(#InputFieldSpec
   847                     #'name:' 'labelField'
   847                     #'name:' 'labelField'
   848                     #'layout:' #(#LayoutFrame 110 0 40 0 0 1.0 62 0)
   848                     #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
   849                     #'activeHelpKey:' #label
   849                     #'activeHelpKey:' #label
   850                     #'tabable:' true
   850                     #'tabable:' true
   851                     #'model:' #label
   851                     #'model:' #label
   852                     #'acceptOnReturn:' false
   852                     #'acceptOnReturn:' false
   853                     #'acceptOnTab:' false
   853                     #'acceptOnTab:' false
   859                     #'adjust:' #right
   859                     #'adjust:' #right
   860                     #'resizeForLabel:' true
   860                     #'resizeForLabel:' true
   861                 )
   861                 )
   862                  #(#InputFieldSpec
   862                  #(#InputFieldSpec
   863                     #'name:' 'valueField'
   863                     #'name:' 'valueField'
   864                     #'layout:' #(#LayoutFrame 110 0 79 0 0 1.0 101 0)
   864                     #'layout:' #(#LayoutFrame 110 0 79 0 -5 1.0 101 0)
   865                     #'activeHelpKey:' #value
   865                     #'activeHelpKey:' #value
   866                     #'tabable:' true
   866                     #'tabable:' true
   867                     #'model:' #value
   867                     #'model:' #value
   868                     #'type:' #symbolOrNil
   868                     #'type:' #symbolOrNil
   869                     #'acceptOnReturn:' false
   869                     #'acceptOnReturn:' false
   876                     #'adjust:' #right
   876                     #'adjust:' #right
   877                     #'resizeForLabel:' true
   877                     #'resizeForLabel:' true
   878                 )
   878                 )
   879                  #(#InputFieldSpec
   879                  #(#InputFieldSpec
   880                     #'name:' 'argumentField'
   880                     #'name:' 'argumentField'
   881                     #'layout:' #(#LayoutFrame 110 0 104 0 0 1.0 126 0)
   881                     #'layout:' #(#LayoutFrame 110 0 104 0 -5 1.0 126 0)
   882                     #'activeHelpKey:' #argument
   882                     #'activeHelpKey:' #argument
   883                     #'tabable:' true
   883                     #'tabable:' true
   884                     #'model:' #argument
   884                     #'model:' #argument
   885                     #'type:' #string
   885                     #'type:' #string
   886                     #'acceptOnReturn:' false
   886                     #'acceptOnReturn:' false
   893                     #'adjust:' #right
   893                     #'adjust:' #right
   894                     #'resizeForLabel:' true
   894                     #'resizeForLabel:' true
   895                 )
   895                 )
   896                  #(#InputFieldSpec
   896                  #(#InputFieldSpec
   897                     #'name:' 'indicationField'
   897                     #'name:' 'indicationField'
   898                     #'layout:' #(#LayoutFrame 110 0 144 0 0 1.0 166 0)
   898                     #'layout:' #(#LayoutFrame 110 0 144 0 -5 1.0 166 0)
   899                     #'activeHelpKey:' #indication
   899                     #'activeHelpKey:' #indication
   900                     #'tabable:' true
   900                     #'tabable:' true
   901                     #'model:' #indication
   901                     #'model:' #indication
   902                     #'type:' #symbolOrNil
   902                     #'type:' #symbolOrNil
   903                     #'acceptOnReturn:' false
   903                     #'acceptOnReturn:' false
   939      
   939      
   940        #(#FullSpec
   940        #(#FullSpec
   941           #'window:' 
   941           #'window:' 
   942            #(#WindowSpec
   942            #(#WindowSpec
   943               #'name:' 'unnamed canvas'
   943               #'name:' 'unnamed canvas'
   944               #'layout:' #(#LayoutFrame 184 0 271 0 450 0 589 0)
   944               #'layout:' #(#LayoutFrame 107 0 276 0 373 0 594 0)
   945               #'label:' 'unnamed canvas'
   945               #'label:' 'unnamed canvas'
   946               #'min:' #(#Point 10 10)
   946               #'min:' #(#Point 10 10)
   947               #'max:' #(#Point 1280 1024)
   947               #'max:' #(#Point 1280 1024)
   948               #'bounds:' #(#Rectangle 184 271 451 590)
   948               #'bounds:' #(#Rectangle 107 276 374 595)
   949               #'usePreferredExtent:' false
   949               #'usePreferredExtent:' false
   950           )
   950           )
   951           #'component:' 
   951           #'component:' 
   952            #(#SpecCollection
   952            #(#SpecCollection
   953               #'collection:' 
   953               #'collection:' 
   960                     #'adjust:' #right
   960                     #'adjust:' #right
   961                     #'resizeForLabel:' true
   961                     #'resizeForLabel:' true
   962                 )
   962                 )
   963                  #(#InputFieldSpec
   963                  #(#InputFieldSpec
   964                     #'name:' 'nameKeyField'
   964                     #'name:' 'nameKeyField'
   965                     #'layout:' #(#LayoutFrame 110 0 15 0 0 1.0 37 0)
   965                     #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
   966                     #'activeHelpKey:' #nameKey
   966                     #'activeHelpKey:' #nameKey
   967                     #'tabable:' true
   967                     #'tabable:' true
   968                     #'model:' #nameKey
   968                     #'model:' #nameKey
   969                     #'type:' #symbolOrNil
   969                     #'type:' #symbolOrNil
   970                     #'acceptOnReturn:' false
   970                     #'acceptOnReturn:' false
   976                     #'label:' 'Label:'
   976                     #'label:' 'Label:'
   977                     #'resizeForLabel:' true
   977                     #'resizeForLabel:' true
   978                 )
   978                 )
   979                  #(#InputFieldSpec
   979                  #(#InputFieldSpec
   980                     #'name:' 'labelField'
   980                     #'name:' 'labelField'
   981                     #'layout:' #(#LayoutFrame 110 0 40 0 0 1.0 62 0)
   981                     #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
   982                     #'activeHelpKey:' #label
   982                     #'activeHelpKey:' #label
   983                     #'tabable:' true
   983                     #'tabable:' true
   984                     #'model:' #label
   984                     #'model:' #label
   985                     #'acceptOnReturn:' false
   985                     #'acceptOnReturn:' false
   986                     #'acceptOnTab:' false
   986                     #'acceptOnTab:' false
   987                 )
   987                 )
   988                  #(#InputFieldSpec
   988                  #(#InputFieldSpec
   989                     #'name:' 'menuField'
   989                     #'name:' 'menuField'
   990                     #'layout:' #(#LayoutFrame 110 0 65 0 0 1.0 87 0)
   990                     #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0)
   991                     #'activeHelpKey:' #submenuChannel
   991                     #'activeHelpKey:' #submenuChannel
   992                     #'tabable:' true
   992                     #'tabable:' true
   993                     #'model:' #submenuChannel
   993                     #'model:' #submenuChannel
   994                     #'type:' #symbolOrNil
   994                     #'type:' #symbolOrNil
   995                     #'acceptOnReturn:' false
   995                     #'acceptOnReturn:' false
  1001                     #'label:' 'Menu:'
  1001                     #'label:' 'Menu:'
  1002                     #'resizeForLabel:' true
  1002                     #'resizeForLabel:' true
  1003                 )
  1003                 )
  1004                  #(#CheckBoxSpec
  1004                  #(#CheckBoxSpec
  1005                     #'name:' 'translateLabelCheckBox'
  1005                     #'name:' 'translateLabelCheckBox'
  1006                     #'layout:' #(#Point 20 110)
  1006                     #'layout:' #(#Point 20 128)
  1007                     #'activeHelpKey:' #translateLabel
  1007                     #'activeHelpKey:' #translateLabel
  1008                     #'model:' #translateLabel
  1008                     #'model:' #translateLabel
  1009                     #'label:' 'Translate Label'
  1009                     #'label:' 'Translate Label'
       
  1010                 )
       
  1011                  #(#InputFieldSpec
       
  1012                     #'name:' 'argumentField'
       
  1013                     #'layout:' #(#LayoutFrame 110 0 90 0 -5 1.0 112 0)
       
  1014                     #'activeHelpKey:' #submenuChannel
       
  1015                     #'tabable:' true
       
  1016                     #'model:' #submenuArgument
       
  1017                     #'type:' #symbolOrNil
       
  1018                     #'acceptOnReturn:' false
       
  1019                     #'acceptOnTab:' false
       
  1020                 )
       
  1021                  #(#LabelSpec
       
  1022                     #'name:' 'ArgumentLabel'
       
  1023                     #'layout:' #(#AlignmentOrigin 107 0 100 0 1 0.5)
       
  1024                     #'label:' 'Argument:'
       
  1025                     #'resizeForLabel:' true
  1010                 )
  1026                 )
  1011               )
  1027               )
  1012           )
  1028           )
  1013       )
  1029       )
  1014 !
  1030 !
  1030      
  1046      
  1031        #(#FullSpec
  1047        #(#FullSpec
  1032           #'window:' 
  1048           #'window:' 
  1033            #(#WindowSpec
  1049            #(#WindowSpec
  1034               #'name:' 'unnamed canvas'
  1050               #'name:' 'unnamed canvas'
  1035               #'layout:' #(#LayoutFrame 154 0 293 0 420 0 611 0)
  1051               #'layout:' #(#LayoutFrame 154 0 234 0 420 0 552 0)
  1036               #'label:' 'unnamed canvas'
  1052               #'label:' 'unnamed canvas'
  1037               #'min:' #(#Point 10 10)
  1053               #'min:' #(#Point 10 10)
  1038               #'max:' #(#Point 1280 1024)
  1054               #'max:' #(#Point 1280 1024)
  1039               #'bounds:' #(#Rectangle 154 293 421 612)
  1055               #'bounds:' #(#Rectangle 154 234 421 553)
  1040               #'usePreferredExtent:' false
  1056               #'usePreferredExtent:' false
  1041           )
  1057           )
  1042           #'component:' 
  1058           #'component:' 
  1043            #(#SpecCollection
  1059            #(#SpecCollection
  1044               #'collection:' 
  1060               #'collection:' 
  1050                     #'adjust:' #right
  1066                     #'adjust:' #right
  1051                     #'resizeForLabel:' true
  1067                     #'resizeForLabel:' true
  1052                 )
  1068                 )
  1053                  #(#InputFieldSpec
  1069                  #(#InputFieldSpec
  1054                     #'name:' 'nameKeyField'
  1070                     #'name:' 'nameKeyField'
  1055                     #'layout:' #(#LayoutFrame 110 0 15 0 0 1.0 37 0)
  1071                     #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
  1056                     #'activeHelpKey:' #nameKey
  1072                     #'activeHelpKey:' #nameKey
  1057                     #'tabable:' true
  1073                     #'tabable:' true
  1058                     #'model:' #nameKey
  1074                     #'model:' #nameKey
  1059                     #'type:' #symbolOrNil
  1075                     #'type:' #symbolOrNil
  1060                     #'acceptOnReturn:' false
  1076                     #'acceptOnReturn:' false
  1067                     #'adjust:' #right
  1083                     #'adjust:' #right
  1068                     #'resizeForLabel:' true
  1084                     #'resizeForLabel:' true
  1069                 )
  1085                 )
  1070                  #(#InputFieldSpec
  1086                  #(#InputFieldSpec
  1071                     #'name:' 'labelField'
  1087                     #'name:' 'labelField'
  1072                     #'layout:' #(#LayoutFrame 110 0 40 0 0 1.0 62 0)
  1088                     #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
  1073                     #'activeHelpKey:' #label
  1089                     #'activeHelpKey:' #label
  1074                     #'tabable:' true
  1090                     #'tabable:' true
  1075                     #'model:' #label
  1091                     #'model:' #label
  1076                     #'acceptOnReturn:' false
  1092                     #'acceptOnReturn:' false
  1077                     #'acceptOnTab:' false
  1093                     #'acceptOnTab:' false
  1105      
  1121      
  1106        #(#FullSpec
  1122        #(#FullSpec
  1107           #'window:' 
  1123           #'window:' 
  1108            #(#WindowSpec
  1124            #(#WindowSpec
  1109               #'name:' 'unnamed canvas'
  1125               #'name:' 'unnamed canvas'
  1110               #'layout:' #(#LayoutFrame 279 0 272 0 545 0 590 0)
  1126               #'layout:' #(#LayoutFrame 230 0 231 0 496 0 549 0)
  1111               #'label:' 'unnamed canvas'
  1127               #'label:' 'unnamed canvas'
  1112               #'min:' #(#Point 10 10)
  1128               #'min:' #(#Point 10 10)
  1113               #'max:' #(#Point 1280 1024)
  1129               #'max:' #(#Point 1280 1024)
  1114               #'bounds:' #(#Rectangle 279 272 546 591)
  1130               #'bounds:' #(#Rectangle 230 231 497 550)
  1115               #'usePreferredExtent:' false
  1131               #'usePreferredExtent:' false
  1116           )
  1132           )
  1117           #'component:' 
  1133           #'component:' 
  1118            #(#SpecCollection
  1134            #(#SpecCollection
  1119               #'collection:' 
  1135               #'collection:' 
  1125                     #'adjust:' #right
  1141                     #'adjust:' #right
  1126                     #'resizeForLabel:' true
  1142                     #'resizeForLabel:' true
  1127                 )
  1143                 )
  1128                  #(#InputFieldSpec
  1144                  #(#InputFieldSpec
  1129                     #'name:' 'selectorField'
  1145                     #'name:' 'selectorField'
  1130                     #'layout:' #(#LayoutFrame 110 0 15 0 0 1.0 37 0)
  1146                     #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
  1131                     #'activeHelpKey:' #menuSelector
  1147                     #'activeHelpKey:' #menuSelector
  1132                     #'tabable:' true
  1148                     #'tabable:' true
  1133                     #'model:' #label
  1149                     #'model:' #label
  1134                     #'acceptOnReturn:' false
  1150                     #'acceptOnReturn:' false
  1135                     #'acceptOnTab:' false
  1151                     #'acceptOnTab:' false
  1156      
  1172      
  1157        #(#FullSpec
  1173        #(#FullSpec
  1158           #'window:' 
  1174           #'window:' 
  1159            #(#WindowSpec
  1175            #(#WindowSpec
  1160               #'name:' 'unnamed canvas'
  1176               #'name:' 'unnamed canvas'
  1161               #'layout:' #(#LayoutFrame 197 0 172 0 463 0 490 0)
  1177               #'layout:' #(#LayoutFrame 322 0 220 0 588 0 538 0)
  1162               #'label:' 'unnamed canvas'
  1178               #'label:' 'unnamed canvas'
  1163               #'min:' #(#Point 10 10)
  1179               #'min:' #(#Point 10 10)
  1164               #'max:' #(#Point 1160 870)
  1180               #'max:' #(#Point 1160 870)
  1165               #'bounds:' #(#Rectangle 197 172 464 491)
  1181               #'bounds:' #(#Rectangle 322 220 589 539)
  1166               #'usePreferredExtent:' false
  1182               #'usePreferredExtent:' false
  1167           )
  1183           )
  1168           #'component:' 
  1184           #'component:' 
  1169            #(#SpecCollection
  1185            #(#SpecCollection
  1170               #'collection:' 
  1186               #'collection:' 
  1176                     #'adjust:' #right
  1192                     #'adjust:' #right
  1177                     #'resizeForLabel:' true
  1193                     #'resizeForLabel:' true
  1178                 )
  1194                 )
  1179                  #(#ComboListSpec
  1195                  #(#ComboListSpec
  1180                     #'name:' 'seperatorList'
  1196                     #'name:' 'seperatorList'
  1181                     #'layout:' #(#LayoutFrame 132 0 15 0 0 1.0 37 0)
  1197                     #'layout:' #(#LayoutFrame 132 0 15 0 -5 1.0 37 0)
  1182                     #'activeHelpKey:' #seperatorList
  1198                     #'activeHelpKey:' #seperatorList
  1183                     #'model:' #seperatorSelection
  1199                     #'model:' #seperatorSelection
  1184                     #'useIndex:' true
  1200                     #'useIndex:' true
  1185                 )
  1201                 )
  1186               )
  1202               )
  1205      
  1221      
  1206        #(#FullSpec
  1222        #(#FullSpec
  1207           #'window:' 
  1223           #'window:' 
  1208            #(#WindowSpec
  1224            #(#WindowSpec
  1209               #'name:' 'unnamed canvas'
  1225               #'name:' 'unnamed canvas'
  1210               #'layout:' #(#LayoutFrame 401 0 145 0 659 0 432 0)
  1226               #'layout:' #(#LayoutFrame 237 0 249 0 495 0 536 0)
  1211               #'label:' 'unnamed canvas'
  1227               #'label:' 'unnamed canvas'
  1212               #'min:' #(#Point 10 10)
  1228               #'min:' #(#Point 10 10)
  1213               #'max:' #(#Point 1280 1024)
  1229               #'max:' #(#Point 1280 1024)
  1214               #'bounds:' #(#Rectangle 401 145 660 433)
  1230               #'bounds:' #(#Rectangle 237 249 496 537)
  1215               #'usePreferredExtent:' false
  1231               #'usePreferredExtent:' false
  1216           )
  1232           )
  1217           #'component:' 
  1233           #'component:' 
  1218            #(#SpecCollection
  1234            #(#SpecCollection
  1219               #'collection:' 
  1235               #'collection:' 
  1225                     #'adjust:' #right
  1241                     #'adjust:' #right
  1226                     #'resizeForLabel:' true
  1242                     #'resizeForLabel:' true
  1227                 )
  1243                 )
  1228                  #(#InputFieldSpec
  1244                  #(#InputFieldSpec
  1229                     #'name:' 'shortcutKeyField'
  1245                     #'name:' 'shortcutKeyField'
  1230                     #'layout:' #(#LayoutFrame 110 0 15 0 0 1.0 37 0)
  1246                     #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
  1231                     #'activeHelpKey:' #shortcutKey
  1247                     #'activeHelpKey:' #shortcutKey
  1232                     #'tabable:' true
  1248                     #'tabable:' true
  1233                     #'model:' #shortcutKey
  1249                     #'model:' #shortcutKey
  1234                     #'type:' #symbolOrNil
  1250                     #'type:' #symbolOrNil
  1235                     #'acceptOnReturn:' false
  1251                     #'acceptOnReturn:' false
  1242                     #'adjust:' #right
  1258                     #'adjust:' #right
  1243                     #'resizeForLabel:' true
  1259                     #'resizeForLabel:' true
  1244                 )
  1260                 )
  1245                  #(#InputFieldSpec
  1261                  #(#InputFieldSpec
  1246                     #'name:' 'enabledField'
  1262                     #'name:' 'enabledField'
  1247                     #'layout:' #(#LayoutFrame 110 0 40 0 0 1.0 62 0)
  1263                     #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
  1248                     #'activeHelpKey:' #enbled
  1264                     #'activeHelpKey:' #enbled
  1249                     #'tabable:' true
  1265                     #'tabable:' true
  1250                     #'model:' #enabled
  1266                     #'model:' #enabled
  1251                     #'type:' #symbolOrNil
  1267                     #'type:' #symbolOrNil
  1252                     #'acceptOnReturn:' false
  1268                     #'acceptOnReturn:' false
  1259                     #'adjust:' #right
  1275                     #'adjust:' #right
  1260                     #'resizeForLabel:' true
  1276                     #'resizeForLabel:' true
  1261                 )
  1277                 )
  1262                  #(#InputFieldSpec
  1278                  #(#InputFieldSpec
  1263                     #'name:' 'accessCharField'
  1279                     #'name:' 'accessCharField'
  1264                     #'layout:' #(#LayoutFrame 220 0 79 0 0 1.0 101 0)
  1280                     #'layout:' #(#LayoutFrame 220 0 79 0 -5 1.0 101 0)
  1265                     #'activeHelpKey:' #accessCharaterPos
  1281                     #'activeHelpKey:' #accessCharaterPos
  1266                     #'tabable:' true
  1282                     #'tabable:' true
  1267                     #'model:' #accessCharacterPos
  1283                     #'model:' #accessCharacterPos
  1268                     #'type:' #numberOrNil
  1284                     #'type:' #numberOrNil
  1269                     #'acceptOnReturn:' false
  1285                     #'acceptOnReturn:' false
  1291      
  1307      
  1292        #(#FullSpec
  1308        #(#FullSpec
  1293           #'window:' 
  1309           #'window:' 
  1294            #(#WindowSpec
  1310            #(#WindowSpec
  1295               #'name:' 'unnamed canvas'
  1311               #'name:' 'unnamed canvas'
  1296               #'layout:' #(#LayoutFrame 296 0 296 0 540 0 437 0)
  1312               #'layout:' #(#LayoutFrame 172 0 202 0 416 0 343 0)
  1297               #'label:' 'unnamed canvas'
  1313               #'label:' 'unnamed canvas'
  1298               #'min:' #(#Point 10 10)
  1314               #'min:' #(#Point 10 10)
  1299               #'max:' #(#Point 1280 1024)
  1315               #'max:' #(#Point 1280 1024)
  1300               #'bounds:' #(#Rectangle 296 296 541 438)
  1316               #'bounds:' #(#Rectangle 172 202 417 344)
  1301               #'usePreferredExtent:' false
  1317               #'usePreferredExtent:' false
  1302           )
  1318           )
  1303           #'component:' 
  1319           #'component:' 
  1304            #(#SpecCollection
  1320            #(#SpecCollection
  1305               #'collection:' 
  1321               #'collection:' 
  1311                     #'adjust:' #right
  1327                     #'adjust:' #right
  1312                     #'resizeForLabel:' true
  1328                     #'resizeForLabel:' true
  1313                 )
  1329                 )
  1314                  #(#InputFieldSpec
  1330                  #(#InputFieldSpec
  1315                     #'name:' 'retrieverField'
  1331                     #'name:' 'retrieverField'
  1316                     #'layout:' #(#LayoutFrame 110 0 15 0 0 1.0 37 0)
  1332                     #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
  1317                     #'activeHelpKey:' #retriever
  1333                     #'activeHelpKey:' #retriever
  1318                     #'tabable:' true
  1334                     #'tabable:' true
  1319                     #'model:' #retriever
  1335                     #'model:' #retriever
  1320                     #'type:' #symbolOrNil
  1336                     #'type:' #symbolOrNil
  1321                     #'acceptOnReturn:' false
  1337                     #'acceptOnReturn:' false
  1328                     #'adjust:' #right
  1344                     #'adjust:' #right
  1329                     #'resizeForLabel:' true
  1345                     #'resizeForLabel:' true
  1330                 )
  1346                 )
  1331                  #(#InputFieldSpec
  1347                  #(#InputFieldSpec
  1332                     #'name:' 'iconField'
  1348                     #'name:' 'iconField'
  1333                     #'layout:' #(#LayoutFrame 110 0 40 0 0 1.0 62 0)
  1349                     #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
  1334                     #'activeHelpKey:' #icon
  1350                     #'activeHelpKey:' #icon
  1335                     #'tabable:' true
  1351                     #'tabable:' true
  1336                     #'model:' #icon
  1352                     #'model:' #icon
  1337                     #'type:' #symbolOrNil
  1353                     #'type:' #symbolOrNil
  1338                     #'acceptOnReturn:' false
  1354                     #'acceptOnReturn:' false
  1346                     #'model:' #iconAndLabel
  1362                     #'model:' #iconAndLabel
  1347                     #'label:' 'Image & Label'
  1363                     #'label:' 'Image & Label'
  1348                 )
  1364                 )
  1349                  #(#ActionButtonSpec
  1365                  #(#ActionButtonSpec
  1350                     #'name:' 'imageEditorButton'
  1366                     #'name:' 'imageEditorButton'
  1351                     #'layout:' #(#LayoutFrame 110 0 66 0 0 1 90 0)
  1367                     #'layout:' #(#LayoutFrame 110 0 66 0 -5 1 90 0)
  1352                     #'label:' 'Image Editor'
  1368                     #'label:' 'Image Editor'
  1353                     #'model:' #doEditImage
  1369                     #'model:' #doEditImage
  1354                 )
  1370                 )
  1355               )
  1371               )
  1356           )
  1372           )
  1405 
  1421 
  1406 useHelpDictionary:aDictionary
  1422 useHelpDictionary:aDictionary
  1407 
  1423 
  1408     self noteBookView.
  1424     self noteBookView.
  1409     self helpTool dictionary:aDictionary
  1425     self helpTool dictionary:aDictionary
  1410 ! !
       
  1411 
       
  1412 !MenuEditor methodsFor:'accessing menu'!
       
  1413 
       
  1414 menu
       
  1415     "this window spec was automatically generated by the UI Builder"
       
  1416 
       
  1417     ^ self class menu
       
  1418 
       
  1419 
       
  1420 !
       
  1421 
       
  1422 menuEdit
       
  1423     "this window spec was automatically generated by the UI Builder"
       
  1424 
       
  1425     ^ self class menuEdit
       
  1426 
       
  1427 
       
  1428 ! !
  1426 ! !
  1429 
  1427 
  1430 !MenuEditor methodsFor:'aspects'!
  1428 !MenuEditor methodsFor:'aspects'!
  1431 
  1429 
  1432 aspectFor:aKey
  1430 aspectFor:aKey
  1811     #(
  1809     #(
  1812         label
  1810         label
  1813         accessCharacterPos
  1811         accessCharacterPos
  1814         argument
  1812         argument
  1815         submenuChannel
  1813         submenuChannel
       
  1814         submenuArgument
  1816         enabled
  1815         enabled
  1817         value
  1816         value
  1818         nameKey
  1817         nameKey
  1819         indication
  1818         indication
  1820         translateLabel
  1819         translateLabel
  2049             , '\\'.
  2048             , '\\'.
  2050 
  2049 
  2051     code := code withCRs.
  2050     code := code withCRs.
  2052     (ReadStream on:code) fileIn.
  2051     (ReadStream on:code) fileIn.
  2053 
  2052 
  2054     (cls compiledMethodAt:selector) isNil ifTrue:[
  2053     "(cls compiledMethodAt:selector) isNil ifTrue:[
  2055         code := self class generateCodeFor:cls menuSelector:selector.
  2054         code := self class generateCodeFor:cls menuSelector:selector.
  2056         code := code withCRs.
  2055         code := code withCRs.
  2057         (ReadStream on:code) fileIn.
  2056         (ReadStream on:code) fileIn.
  2058     ].
  2057     ]."
  2059     didInstall := true.
  2058     didInstall := true.
  2060     isModified := false.
  2059     isModified := false.
  2061 
  2060 
  2062 !
  2061 !
  2063 
  2062 
  2645 
  2644 
  2646     self class images associationsDo:[:imageAsso|images at: imageAsso key put:(imageAsso value onDevice:device)].
  2645     self class images associationsDo:[:imageAsso|images at: imageAsso key put:(imageAsso value onDevice:device)].
  2647     self multipleSelectOk:true.
  2646     self multipleSelectOk:true.
  2648     self showDirectoryIndicator: true.
  2647     self showDirectoryIndicator: true.
  2649     self showDirectoryIndicatorForRoot: false.
  2648     self showDirectoryIndicatorForRoot: false.
  2650     self selectConditionBlock: [:i|self application checkMenuItemModified]
  2649     self selectConditionBlock: [:i|self application checkMenuItemModified].
       
  2650     self validateDoubleClickBlock: [:node| node ~~ listOfNodes first]
  2651 ! !
  2651 ! !
  2652 
  2652 
  2653 !MenuEditor::TreeView methodsFor:'menus'!
  2653 !MenuEditor::TreeView methodsFor:'menus'!
  2654 
  2654 
  2655 doCopy
  2655 doCopy