MenuEditor.st
changeset 469 28bcb1982ef9
parent 455 117dcae8b5e0
child 480 fde17b1640d6
equal deleted inserted replaced
468:bb4e776b9210 469:28bcb1982ef9
   577      
   577      
   578        #(#FullSpec
   578        #(#FullSpec
   579           #'window:' 
   579           #'window:' 
   580            #(#WindowSpec
   580            #(#WindowSpec
   581               #'name:' 'Menu Builder'
   581               #'name:' 'Menu Builder'
   582               #'layout:' #(#LayoutFrame 88 0 229 0 667 0 612 0)
   582               #'layout:' #(#LayoutFrame 414 0 21 0 993 0 404 0)
   583               #'label:' 'Menu Builder'
   583               #'label:' 'Menu Builder'
   584               #'min:' #(#Point 10 10)
   584               #'min:' #(#Point 10 10)
   585               #'max:' #(#Point 1152 900)
   585               #'max:' #(#Point 1152 900)
   586               #'bounds:' #(#Rectangle 88 229 668 613)
   586               #'bounds:' #(#Rectangle 414 21 994 405)
   587               #'menu:' #menu
   587               #'menu:' #menu
   588               #'usePreferredExtent:' false
   588               #'usePreferredExtent:' false
   589           )
   589           )
   590           #'component:' 
   590           #'component:' 
   591            #(#SpecCollection
   591            #(#SpecCollection
   618                                #(#SpecCollection
   618                                #(#SpecCollection
   619                                   #'collection:' 
   619                                   #'collection:' 
   620                                    #(
   620                                    #(
   621                                      #(#NoteBookViewSpec
   621                                      #(#NoteBookViewSpec
   622                                         #'name:' 'specificationView'
   622                                         #'name:' 'specificationView'
   623                                         #'layout:' #(#LayoutFrame 1 0.0 0 0.0 0 1.0 -26 1.0)
   623                                         #'layout:' #(#LayoutFrame 1 0.0 0 0.0 1 1.0 -26 1.0)
   624                                         #'tabable:' true
   624                                         #'tabable:' true
   625                                         #'model:' #tabModel
   625                                         #'model:' #tabModel
   626                                         #'menu:' #tabList
   626                                         #'menu:' #tabList
   627                                         #'useIndex:' true
   627                                         #'useIndex:' true
   628                                         #'canvas:' #noteBookView
   628                                         #'canvas:' #noteBookView
   637                               )
   637                               )
   638                               #'level:' -1
   638                               #'level:' -1
   639                           )
   639                           )
   640                         )
   640                         )
   641                     )
   641                     )
       
   642                     #'level:' 1
   642                     #'handles:' #(#Any 0.384483 1.0)
   643                     #'handles:' #(#Any 0.384483 1.0)
   643                 )
   644                 )
   644                  #(#LabelSpec
   645                  #(#LabelSpec
   645                     #'name:' 'infoLabel'
   646                     #'name:' 'infoLabel'
   646                     #'layout:' #(#LayoutFrame 0 0.0 -22 1 -80 1.0 0 1.0)
   647                     #'layout:' #(#LayoutFrame 0 0.0 -22 1 -80 1.0 0 1.0)
   751      
   752      
   752        #(#FullSpec
   753        #(#FullSpec
   753           #'window:' 
   754           #'window:' 
   754            #(#WindowSpec
   755            #(#WindowSpec
   755               #'name:' 'unnamed canvas'
   756               #'name:' 'unnamed canvas'
   756               #'layout:' #(#LayoutFrame 157 0 230 0 423 0 548 0)
   757               #'layout:' #(#LayoutFrame 170 0 315 0 436 0 633 0)
   757               #'label:' 'unnamed canvas'
   758               #'label:' 'unnamed canvas'
   758               #'min:' #(#Point 10 10)
   759               #'min:' #(#Point 10 10)
   759               #'max:' #(#Point 1160 870)
   760               #'max:' #(#Point 1160 870)
   760               #'bounds:' #(#Rectangle 157 230 424 549)
   761               #'bounds:' #(#Rectangle 170 315 437 634)
   761               #'usePreferredExtent:' false
   762               #'usePreferredExtent:' false
   762           )
   763           )
   763           #'component:' 
   764           #'component:' 
   764            #(#SpecCollection
   765            #(#SpecCollection
   765               #'collection:' 
   766               #'collection:' 
   850                 )
   851                 )
   851                  #(#CheckBoxSpec
   852                  #(#CheckBoxSpec
   852                     #'name:' 'translateLabelCheckBox'
   853                     #'name:' 'translateLabelCheckBox'
   853                     #'layout:' #(#Point 20 192)
   854                     #'layout:' #(#Point 20 192)
   854                     #'activeHelpKey:' #translateLabel
   855                     #'activeHelpKey:' #translateLabel
       
   856                     #'tabable:' true
   855                     #'model:' #translateLabel
   857                     #'model:' #translateLabel
   856                     #'label:' 'Translate Label'
   858                     #'label:' 'Translate Label'
   857                 )
   859                 )
   858                  #(#CheckBoxSpec
   860                  #(#CheckBoxSpec
   859                     #'name:' 'isButtonCheckBox'
   861                     #'name:' 'isButtonCheckBox'
   860                     #'layout:' #(#Point 20 221)
   862                     #'layout:' #(#Point 20 221)
   861                     #'activeHelpKey:' #translateLabel
   863                     #'activeHelpKey:' #translateLabel
       
   864                     #'tabable:' true
   862                     #'model:' #isButton
   865                     #'model:' #isButton
   863                     #'label:' 'Is Button'
   866                     #'label:' 'Is Button'
   864                 )
   867                 )
   865               )
   868               )
   866           )
   869           )
   884      
   887      
   885        #(#FullSpec
   888        #(#FullSpec
   886           #'window:' 
   889           #'window:' 
   887            #(#WindowSpec
   890            #(#WindowSpec
   888               #'name:' 'unnamed canvas'
   891               #'name:' 'unnamed canvas'
   889               #'layout:' #(#LayoutFrame 107 0 276 0 373 0 594 0)
   892               #'layout:' #(#LayoutFrame 374 0 432 0 640 0 750 0)
   890               #'label:' 'unnamed canvas'
   893               #'label:' 'unnamed canvas'
   891               #'min:' #(#Point 10 10)
   894               #'min:' #(#Point 10 10)
   892               #'max:' #(#Point 1280 1024)
   895               #'max:' #(#Point 1280 1024)
   893               #'bounds:' #(#Rectangle 107 276 374 595)
   896               #'bounds:' #(#Rectangle 374 432 641 751)
   894               #'usePreferredExtent:' false
   897               #'usePreferredExtent:' false
   895           )
   898           )
   896           #'component:' 
   899           #'component:' 
   897            #(#SpecCollection
   900            #(#SpecCollection
   898               #'collection:' 
   901               #'collection:' 
   928                     #'tabable:' true
   931                     #'tabable:' true
   929                     #'model:' #label
   932                     #'model:' #label
   930                     #'acceptOnReturn:' false
   933                     #'acceptOnReturn:' false
   931                     #'acceptOnTab:' false
   934                     #'acceptOnTab:' false
   932                 )
   935                 )
       
   936                  #(#LabelSpec
       
   937                     #'name:' 'menuLabel'
       
   938                     #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5)
       
   939                     #'label:' 'Menu:'
       
   940                     #'resizeForLabel:' true
       
   941                 )
   933                  #(#InputFieldSpec
   942                  #(#InputFieldSpec
   934                     #'name:' 'menuField'
   943                     #'name:' 'menuField'
   935                     #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0)
   944                     #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0)
   936                     #'activeHelpKey:' #submenuChannel
   945                     #'activeHelpKey:' #submenuChannel
   937                     #'tabable:' true
   946                     #'tabable:' true
   939                     #'type:' #symbolOrNil
   948                     #'type:' #symbolOrNil
   940                     #'acceptOnReturn:' false
   949                     #'acceptOnReturn:' false
   941                     #'acceptOnTab:' false
   950                     #'acceptOnTab:' false
   942                 )
   951                 )
   943                  #(#LabelSpec
   952                  #(#LabelSpec
   944                     #'name:' 'menuLabel'
   953                     #'name:' 'ArgumentLabel'
   945                     #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5)
   954                     #'layout:' #(#AlignmentOrigin 107 0 100 0 1 0.5)
   946                     #'label:' 'Menu:'
   955                     #'label:' 'Argument:'
   947                     #'resizeForLabel:' true
   956                     #'resizeForLabel:' true
   948                 )
       
   949                  #(#CheckBoxSpec
       
   950                     #'name:' 'translateLabelCheckBox'
       
   951                     #'layout:' #(#Point 20 128)
       
   952                     #'activeHelpKey:' #translateLabel
       
   953                     #'model:' #translateLabel
       
   954                     #'label:' 'Translate Label'
       
   955                 )
   957                 )
   956                  #(#InputFieldSpec
   958                  #(#InputFieldSpec
   957                     #'name:' 'argumentField'
   959                     #'name:' 'argumentField'
   958                     #'layout:' #(#LayoutFrame 110 0 90 0 -5 1.0 112 0)
   960                     #'layout:' #(#LayoutFrame 110 0 90 0 -5 1.0 112 0)
   959                     #'activeHelpKey:' #submenuChannel
   961                     #'activeHelpKey:' #submenuChannel
   961                     #'model:' #submenuArgument
   963                     #'model:' #submenuArgument
   962                     #'type:' #symbolOrNil
   964                     #'type:' #symbolOrNil
   963                     #'acceptOnReturn:' false
   965                     #'acceptOnReturn:' false
   964                     #'acceptOnTab:' false
   966                     #'acceptOnTab:' false
   965                 )
   967                 )
   966                  #(#LabelSpec
   968                  #(#CheckBoxSpec
   967                     #'name:' 'ArgumentLabel'
   969                     #'name:' 'translateLabelCheckBox'
   968                     #'layout:' #(#AlignmentOrigin 107 0 100 0 1 0.5)
   970                     #'layout:' #(#Point 20 128)
   969                     #'label:' 'Argument:'
   971                     #'activeHelpKey:' #translateLabel
   970                     #'resizeForLabel:' true
   972                     #'tabable:' true
       
   973                     #'model:' #translateLabel
       
   974                     #'label:' 'Translate Label'
   971                 )
   975                 )
   972               )
   976               )
   973           )
   977           )
   974       )
   978       )
   975 !
   979 !
   991      
   995      
   992        #(#FullSpec
   996        #(#FullSpec
   993           #'window:' 
   997           #'window:' 
   994            #(#WindowSpec
   998            #(#WindowSpec
   995               #'name:' 'unnamed canvas'
   999               #'name:' 'unnamed canvas'
   996               #'layout:' #(#LayoutFrame 154 0 234 0 420 0 552 0)
  1000               #'layout:' #(#LayoutFrame 456 0 430 0 722 0 748 0)
   997               #'label:' 'unnamed canvas'
  1001               #'label:' 'unnamed canvas'
   998               #'min:' #(#Point 10 10)
  1002               #'min:' #(#Point 10 10)
   999               #'max:' #(#Point 1280 1024)
  1003               #'max:' #(#Point 1280 1024)
  1000               #'bounds:' #(#Rectangle 154 234 421 553)
  1004               #'bounds:' #(#Rectangle 456 430 723 749)
  1001               #'usePreferredExtent:' false
  1005               #'usePreferredExtent:' false
  1002           )
  1006           )
  1003           #'component:' 
  1007           #'component:' 
  1004            #(#SpecCollection
  1008            #(#SpecCollection
  1005               #'collection:' 
  1009               #'collection:' 
  1039                 )
  1043                 )
  1040                  #(#CheckBoxSpec
  1044                  #(#CheckBoxSpec
  1041                     #'name:' 'translateLabelCheckBox'
  1045                     #'name:' 'translateLabelCheckBox'
  1042                     #'layout:' #(#Point 20 100)
  1046                     #'layout:' #(#Point 20 100)
  1043                     #'activeHelpKey:' #translateLabel
  1047                     #'activeHelpKey:' #translateLabel
       
  1048                     #'tabable:' true
  1044                     #'model:' #translateLabel
  1049                     #'model:' #translateLabel
  1045                     #'label:' 'Translate Label'
  1050                     #'label:' 'Translate Label'
  1046                 )
  1051                 )
  1047               )
  1052               )
  1048           )
  1053           )
  1117      
  1122      
  1118        #(#FullSpec
  1123        #(#FullSpec
  1119           #'window:' 
  1124           #'window:' 
  1120            #(#WindowSpec
  1125            #(#WindowSpec
  1121               #'name:' 'unnamed canvas'
  1126               #'name:' 'unnamed canvas'
  1122               #'layout:' #(#LayoutFrame 322 0 220 0 588 0 538 0)
  1127               #'layout:' #(#LayoutFrame 359 0 319 0 625 0 637 0)
  1123               #'label:' 'unnamed canvas'
  1128               #'label:' 'unnamed canvas'
  1124               #'min:' #(#Point 10 10)
  1129               #'min:' #(#Point 10 10)
  1125               #'max:' #(#Point 1160 870)
  1130               #'max:' #(#Point 1160 870)
  1126               #'bounds:' #(#Rectangle 322 220 589 539)
  1131               #'bounds:' #(#Rectangle 359 319 626 638)
  1127               #'usePreferredExtent:' false
  1132               #'usePreferredExtent:' false
  1128           )
  1133           )
  1129           #'component:' 
  1134           #'component:' 
  1130            #(#SpecCollection
  1135            #(#SpecCollection
  1131               #'collection:' 
  1136               #'collection:' 
  1139                 )
  1144                 )
  1140                  #(#ComboListSpec
  1145                  #(#ComboListSpec
  1141                     #'name:' 'seperatorList'
  1146                     #'name:' 'seperatorList'
  1142                     #'layout:' #(#LayoutFrame 132 0 15 0 -5 1.0 37 0)
  1147                     #'layout:' #(#LayoutFrame 132 0 15 0 -5 1.0 37 0)
  1143                     #'activeHelpKey:' #seperatorList
  1148                     #'activeHelpKey:' #seperatorList
       
  1149                     #'tabable:' true
  1144                     #'model:' #seperatorSelection
  1150                     #'model:' #seperatorSelection
  1145                     #'useIndex:' true
  1151                     #'useIndex:' true
  1146                 )
  1152                 )
  1147               )
  1153               )
  1148           )
  1154           )
  1252      
  1258      
  1253        #(#FullSpec
  1259        #(#FullSpec
  1254           #'window:' 
  1260           #'window:' 
  1255            #(#WindowSpec
  1261            #(#WindowSpec
  1256               #'name:' 'unnamed canvas'
  1262               #'name:' 'unnamed canvas'
  1257               #'layout:' #(#LayoutFrame 172 0 202 0 416 0 343 0)
  1263               #'layout:' #(#LayoutFrame 104 0 316 0 348 0 457 0)
  1258               #'label:' 'unnamed canvas'
  1264               #'label:' 'unnamed canvas'
  1259               #'min:' #(#Point 10 10)
  1265               #'min:' #(#Point 10 10)
  1260               #'max:' #(#Point 1280 1024)
  1266               #'max:' #(#Point 1280 1024)
  1261               #'bounds:' #(#Rectangle 172 202 417 344)
  1267               #'bounds:' #(#Rectangle 104 316 349 458)
  1262               #'usePreferredExtent:' false
  1268               #'usePreferredExtent:' false
  1263           )
  1269           )
  1264           #'component:' 
  1270           #'component:' 
  1265            #(#SpecCollection
  1271            #(#SpecCollection
  1266               #'collection:' 
  1272               #'collection:' 
  1297                     #'model:' #icon
  1303                     #'model:' #icon
  1298                     #'type:' #symbolOrNil
  1304                     #'type:' #symbolOrNil
  1299                     #'acceptOnReturn:' false
  1305                     #'acceptOnReturn:' false
  1300                     #'acceptOnTab:' false
  1306                     #'acceptOnTab:' false
  1301                 )
  1307                 )
       
  1308                  #(#ActionButtonSpec
       
  1309                     #'name:' 'imageEditorButton'
       
  1310                     #'layout:' #(#LayoutFrame 110 0 66 0 -5 1 90 0)
       
  1311                     #'label:' 'Image Editor'
       
  1312                     #'tabable:' true
       
  1313                     #'model:' #doEditImage
       
  1314                 )
  1302                  #(#CheckBoxSpec
  1315                  #(#CheckBoxSpec
  1303                     #'name:' 'iconAndLabel'
  1316                     #'name:' 'iconAndLabel'
  1304                     #'layout:' #(#LayoutOrigin 20 0 104 0)
  1317                     #'layout:' #(#LayoutOrigin 20 0 104 0)
  1305                     #'activeHelpKey:' #iconAndLabel
  1318                     #'activeHelpKey:' #iconAndLabel
  1306                     #'tabable:' true
  1319                     #'tabable:' true
  1307                     #'model:' #iconAndLabel
  1320                     #'model:' #iconAndLabel
  1308                     #'label:' 'Image & Label'
  1321                     #'label:' 'Image & Label'
  1309                 )
       
  1310                  #(#ActionButtonSpec
       
  1311                     #'name:' 'imageEditorButton'
       
  1312                     #'layout:' #(#LayoutFrame 110 0 66 0 -5 1 90 0)
       
  1313                     #'label:' 'Image Editor'
       
  1314                     #'model:' #doEditImage
       
  1315                 )
  1322                 )
  1316               )
  1323               )
  1317           )
  1324           )
  1318       )
  1325       )
  1319 ! !
  1326 ! !