DataSetBuilder.st
changeset 1452 3e0e927f5cb8
parent 1392 f6f7a70c5d41
child 1465 4ff489c07764
equal deleted inserted replaced
1451:f7c591a04f00 1452:3e0e927f5cb8
    95         size
    95         size
    96         type
    96         type
    97         width
    97         width
    98         minWidth
    98         minWidth
    99         usePreferredWidth
    99         usePreferredWidth
       
   100         isResizeable
   100         height
   101         height
   101         menu
   102         menu
   102         foregroundSelector
   103         foregroundSelector
   103         backgroundSelector
   104         backgroundSelector
   104         doubleClickedSelector
   105         doubleClickedSelector
   301 
   302 
   302     <resource: #image>
   303     <resource: #image>
   303 
   304 
   304     ^Icon
   305     ^Icon
   305         constantNamed:#'DataSetBuilder newColumnIcon'
   306         constantNamed:#'DataSetBuilder newColumnIcon'
   306         ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UT@@@@UPUTUUUXUPUTZ**,UPUTZB",UPUTX*H,UYUTX*H,UPUTZB",UPQTZ**,UPUTX*H,UPUTX*H,UPUTX*H,UPUTXB@,UPUTZ**,UPUTZ**,UPUTX"H,UYUTXB@,UPUTX"@,UPUTX"H,UPUTZ**,UPUTZ**,UPUT/??<UPUT@@@@UP') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??@A??@A??@A??@A??@A??@A??@A??@A??CA??@A??@A??@A??@A??CA??AA??@A??CA??@A??CA??@A??@A??A') ; yourself); yourself]! !
   307         ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UT@@@@UPUTUUUXUPUTZ**,UPUTZB",UPUTX*H,UYUTX*H,UPUTZB",UPQTZ**,UPUTX*H,UPUTX*H,UPUTX*H,UPUTXB@,UPUTZ**,UPUTZ**,UPUTX"H,UYUTXB@,UPUTX"@,UPUTX"H,UPUTZ**,UPUTZ**,UPUT/??<UPUT@@@@UP') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??@A??@A??@A??@A??@A??@A??@A??@A??CA??@A??@A??@A??@A??CA??AA??@A??CA??@A??CA??@A??@A??A') ; yourself); yourself]
       
   308 ! !
   307 
   309 
   308 !DataSetBuilder class methodsFor:'interface specs'!
   310 !DataSetBuilder class methodsFor:'interface specs'!
   309 
   311 
   310 basicsEditSpec
   312 basicsEditSpec
   311     "This resource specification was automatically generated
   313     "This resource specification was automatically generated
   928        #(#WindowSpec
   930        #(#WindowSpec
   929           #label: 'DataSet Dimension'
   931           #label: 'DataSet Dimension'
   930           #name: 'DataSet Dimension'
   932           #name: 'DataSet Dimension'
   931           #min: #(#Point 10 10)
   933           #min: #(#Point 10 10)
   932           #max: #(#Point 1280 1024)
   934           #max: #(#Point 1280 1024)
   933           #bounds: #(#Rectangle 132 132 457 480)
   935           #bounds: #(#Rectangle 12 22 408 365)
   934         )
   936         )
   935         #component: 
   937         #component: 
   936        #(#SpecCollection
   938        #(#SpecCollection
   937           #collection: #(
   939           #collection: #(
   938            #(#FramedBoxSpec
   940            #(#FramedBoxSpec
   942               #labelPosition: #topLeft
   944               #labelPosition: #topLeft
   943               #component: 
   945               #component: 
   944              #(#SpecCollection
   946              #(#SpecCollection
   945                 #collection: #(
   947                 #collection: #(
   946                  #(#CheckBoxSpec
   948                  #(#CheckBoxSpec
   947                     #attributes: 
       
   948                    #(#tabable
       
   949                       true
       
   950                     )
       
   951                     #label: 'Show Row-Separator'
   949                     #label: 'Show Row-Separator'
   952                     #name: 'showRowSeparator'
   950                     #name: 'showRowSeparator'
   953                     #layout: #(#LayoutFrame 5 0 15 0 293 0 38 0)
   951                     #layout: #(#LayoutFrame 5 0 15 0 293 0 38 0)
   954                     #activeHelpKey: #frameShowRowSeparator
   952                     #activeHelpKey: #frameShowRowSeparator
   955                     #tabable: true
   953                     #tabable: true
   956                     #model: #showRowSeparator
   954                     #model: #showRowSeparator
   957                   )
   955                   )
   958                  #(#InputFieldSpec
   956                  #(#InputFieldSpec
   959                     #attributes: 
       
   960                    #(#tabable
       
   961                       true
       
   962                     )
       
   963                     #name: 'rowSeparatorSelector'
   957                     #name: 'rowSeparatorSelector'
   964                     #layout: #(#LayoutFrame 29 0 41 0 2 1.0 63 0)
   958                     #layout: #(#LayoutFrame 29 0 41 0 2 1.0 63 0)
   965                     #activeHelpKey: #frameShowRowSeparatorSelector
   959                     #activeHelpKey: #frameShowRowSeparatorSelector
   966                     #tabable: true
   960                     #tabable: true
   967                     #model: #rowSeparatorSelector
   961                     #model: #rowSeparatorSelector
   971                     #acceptChannel: #acceptChannel
   965                     #acceptChannel: #acceptChannel
   972                     #modifiedChannel: #modifiedChannel
   966                     #modifiedChannel: #modifiedChannel
   973                     #acceptOnPointerLeave: false
   967                     #acceptOnPointerLeave: false
   974                   )
   968                   )
   975                  #(#CheckBoxSpec
   969                  #(#CheckBoxSpec
   976                     #attributes: 
       
   977                    #(#tabable
       
   978                       true
       
   979                     )
       
   980                     #label: 'Show Column-Separator'
   970                     #label: 'Show Column-Separator'
   981                     #name: 'showColSeparator'
   971                     #name: 'showColSeparator'
   982                     #layout: #(#LayoutFrame 5 0 70 0 294 0 93 0)
   972                     #layout: #(#LayoutFrame 5 0 70 0 294 0 93 0)
   983                     #activeHelpKey: #frameShowColumnSeparator
   973                     #activeHelpKey: #frameShowColumnSeparator
   984                     #tabable: true
   974                     #tabable: true
  1002                     #layout: #(#AlignmentOrigin 140 0.0 23 0 1 0.5)
   992                     #layout: #(#AlignmentOrigin 140 0.0 23 0 1 0.5)
  1003                     #resizeForLabel: true
   993                     #resizeForLabel: true
  1004                     #adjust: #right
   994                     #adjust: #right
  1005                   )
   995                   )
  1006                  #(#InputFieldSpec
   996                  #(#InputFieldSpec
  1007                     #attributes: 
       
  1008                    #(#tabable
       
  1009                       true
       
  1010                     )
       
  1011                     #name: 'widthField'
   997                     #name: 'widthField'
  1012                     #layout: #(#LayoutFrame 142 0 12 0 2 1.0 34 0)
   998                     #layout: #(#LayoutFrame 142 0 12 0 2 1.0 34 0)
  1013                     #activeHelpKey: #frameColumnWidth
   999                     #activeHelpKey: #frameColumnWidth
  1014                     #tabable: true
  1000                     #tabable: true
  1015                     #model: #width
  1001                     #model: #width
  1026                     #layout: #(#AlignmentOrigin 140 0.0 51 0 1 0.5)
  1012                     #layout: #(#AlignmentOrigin 140 0.0 51 0 1 0.5)
  1027                     #resizeForLabel: true
  1013                     #resizeForLabel: true
  1028                     #adjust: #right
  1014                     #adjust: #right
  1029                   )
  1015                   )
  1030                  #(#InputFieldSpec
  1016                  #(#InputFieldSpec
  1031                     #attributes: 
       
  1032                    #(#tabable
       
  1033                       true
       
  1034                     )
       
  1035                     #name: 'minWidthField'
  1017                     #name: 'minWidthField'
  1036                     #layout: #(#LayoutFrame 142 0 40 0 2 1.0 62 0)
  1018                     #layout: #(#LayoutFrame 142 0 40 0 2 1.0 62 0)
  1037                     #activeHelpKey: #frameMinWidth
  1019                     #activeHelpKey: #frameMinWidth
  1038                     #tabable: true
  1020                     #tabable: true
  1039                     #model: #minWidth
  1021                     #model: #minWidth
  1050                     #layout: #(#AlignmentOrigin 140 0.0 79 0 1 0.5)
  1032                     #layout: #(#AlignmentOrigin 140 0.0 79 0 1 0.5)
  1051                     #resizeForLabel: true
  1033                     #resizeForLabel: true
  1052                     #adjust: #right
  1034                     #adjust: #right
  1053                   )
  1035                   )
  1054                  #(#InputFieldSpec
  1036                  #(#InputFieldSpec
  1055                     #attributes: 
       
  1056                    #(#tabable
       
  1057                       true
       
  1058                     )
       
  1059                     #name: 'heightField'
  1037                     #name: 'heightField'
  1060                     #layout: #(#LayoutFrame 142 0 68 0 2 1.0 90 0)
  1038                     #layout: #(#LayoutFrame 142 0 68 0 2 1.0 90 0)
  1061                     #activeHelpKey: #frameRowHeight
  1039                     #activeHelpKey: #frameRowHeight
  1062                     #tabable: true
  1040                     #tabable: true
  1063                     #model: #height
  1041                     #model: #height
  1067                     #acceptChannel: #acceptChannel
  1045                     #acceptChannel: #acceptChannel
  1068                     #modifiedChannel: #modifiedChannel
  1046                     #modifiedChannel: #modifiedChannel
  1069                     #acceptOnPointerLeave: false
  1047                     #acceptOnPointerLeave: false
  1070                   )
  1048                   )
  1071                  #(#CheckBoxSpec
  1049                  #(#CheckBoxSpec
  1072                     #attributes: 
       
  1073                    #(#tabable
       
  1074                       true
       
  1075                     )
       
  1076                     #label: 'Use Preferred Width'
  1050                     #label: 'Use Preferred Width'
  1077                     #name: 'usePreferredWidth'
  1051                     #name: 'usePreferredWidth'
  1078                     #layout: #(#LayoutFrame 5 0 96 0 141 0 118 0)
  1052                     #layout: #(#LayoutFrame 5 0 96 0 141 0 118 0)
  1079                     #tabable: true
  1053                     #tabable: true
  1080                     #model: #usePreferredWidth
  1054                     #model: #usePreferredWidth
       
  1055                   )
       
  1056                  #(#CheckBoxSpec
       
  1057                     #label: 'Is Resizeable'
       
  1058                     #name: 'isResizeable'
       
  1059                     #layout: #(#AlignmentOrigin 0 1.0 107 0 1 0.5)
       
  1060                     #tabable: true
       
  1061                     #model: #isResizeable
  1081                   )
  1062                   )
  1082                  )
  1063                  )
  1083                
  1064                
  1084               )
  1065               )
  1085             )
  1066             )