TabItemEditor.st
changeset 549 454a490d797f
parent 546 aac3f3c9383f
child 553 adccf76bd9bb
equal deleted inserted replaced
548:93fea26562c8 549:454a490d797f
   150      
   150      
   151        #(#FullSpec
   151        #(#FullSpec
   152           #'window:' 
   152           #'window:' 
   153            #(#WindowSpec
   153            #(#WindowSpec
   154               #'name:' 'Tab Basic'
   154               #'name:' 'Tab Basic'
   155               #'layout:' #(#LayoutFrame 219 0 193 0 506 0 397 0)
   155               #'layout:' #(#LayoutFrame 265 0 591 0 571 0 791 0)
   156               #'label:' 'Tab Basic'
   156               #'label:' 'Tab Basic'
   157               #'min:' #(#Point 10 10)
   157               #'min:' #(#Point 10 10)
   158               #'max:' #(#Point 1280 1024)
   158               #'max:' #(#Point 1280 1024)
   159               #'bounds:' #(#Rectangle 219 193 507 398)
   159               #'bounds:' #(#Rectangle 265 591 572 792)
   160               #'usePreferredExtent:' false
   160               #'usePreferredExtent:' false
   161           )
   161           )
   162           #'component:' 
   162           #'component:' 
   163            #(#SpecCollection
   163            #(#SpecCollection
   164               #'collection:' 
   164               #'collection:' 
   165                #(
   165                #(
   166                  #(#LabelSpec
   166                  #(#LabelSpec
   167                     #'name:' 'Label'
   167                     #'name:' 'Label'
   168                     #'layout:' #(#AlignmentOrigin 73 0 34 0 1 0.5)
   168                     #'layout:' #(#AlignmentOrigin 95 0 34 0 1 0.5)
   169                     #'label:' 'Label:'
   169                     #'label:' 'Label:'
   170                     #'resizeForLabel:' true
   170                     #'resizeForLabel:' true
   171                 )
   171                 )
   172                  #(#InputFieldSpec
   172                  #(#InputFieldSpec
   173                     #'name:' 'LabelField'
   173                     #'name:' 'LabelField'
   174                     #'layout:' #(#LayoutFrame 75 0 24 0 -4 1.0 46 0)
   174                     #'layout:' #(#LayoutFrame 97 0 24 0 -4 1.0 46 0)
   175                     #'activeHelpKey:' #label
   175                     #'activeHelpKey:' #label
   176                     #'model:' #label
   176                     #'model:' #label
   177                 )
   177                 )
   178                  #(#CheckBoxSpec
   178                  #(#CheckBoxSpec
   179                     #'name:' 'TranslateLabel'
   179                     #'name:' 'TranslateLabel'
   180                     #'layout:' #(#LayoutOrigin 71 0 49 0)
   180                     #'layout:' #(#LayoutOrigin 95 0 47 0)
   181                     #'activeHelpKey:' #translateLabel
   181                     #'activeHelpKey:' #translateLabel
   182                     #'model:' #translateLabel
   182                     #'model:' #translateLabel
   183                     #'label:' 'Label derives from Application'
   183                     #'label:' 'Label derives from Application'
   184                 )
   184                 )
   185                  #(#ColorMenuSpec
   185                  #(#ColorMenuSpec
   186                     #'name:' 'ForegroundColorMenu'
   186                     #'name:' 'ForegroundColorMenu'
   187                     #'layout:' #(#LayoutFrame 75 0 104 0 -4 1.0 126 0)
   187                     #'layout:' #(#LayoutFrame 75 0 124 0 -4 1.0 146 0)
   188                     #'activeHelpKey:' #foregroundColor
   188                     #'activeHelpKey:' #foregroundColor
   189                     #'model:' #labelForegroundColor
   189                     #'model:' #labelForegroundColor
   190                     #'labelsAreColored:' false
   190                     #'labelsAreColored:' false
   191                 )
   191                 )
   192                  #(#LabelSpec
   192                  #(#LabelSpec
   193                     #'name:' 'ForegroundLabel'
   193                     #'name:' 'ForegroundLabel'
   194                     #'layout:' #(#AlignmentOrigin 73 0 116 0 1 0.5)
   194                     #'layout:' #(#AlignmentOrigin 73 0 136 0 1 0.5)
   195                     #'label:' 'Color:'
   195                     #'label:' 'Color:'
   196                     #'adjust:' #right
   196                     #'adjust:' #right
   197                     #'resizeForLabel:' true
   197                     #'resizeForLabel:' true
   198                 )
   198                 )
   199                  #(#CheckBoxSpec
   199                  #(#CheckBoxSpec
   200                     #'name:' 'CanSelect'
   200                     #'name:' 'CanSelect'
   201                     #'layout:' #(#LayoutFrame 34 0 157 0 153 0 179 0)
   201                     #'layout:' #(#LayoutFrame 34 0 176 0 153 0 198 0)
   202                     #'model:' #enabled
   202                     #'model:' #enabled
   203                     #'label:' 'Can Select'
   203                     #'label:' 'Can Select'
       
   204                 )
       
   205                  #(#LabelSpec
       
   206                     #'name:' 'ArgumentLabel'
       
   207                     #'layout:' #(#AlignmentOrigin 95 0 91 0 1 0.5)
       
   208                     #'label:' 'Argument'
       
   209                     #'resizeForLabel:' true
       
   210                 )
       
   211                  #(#InputFieldSpec
       
   212                     #'name:' 'ArgumentField'
       
   213                     #'layout:' #(#LayoutFrame 97 0 80 0 -4 1.0 102 0)
       
   214                     #'activeHelpKey:' #label
       
   215                     #'model:' #editAgument
   204                 )
   216                 )
   205               )
   217               )
   206           )
   218           )
   207       )
   219       )
   208 !
   220 !
   882    #(
   894    #(
   883         label
   895         label
   884         translateLabel
   896         translateLabel
   885         labelForegroundColor
   897         labelForegroundColor
   886         enabled
   898         enabled
       
   899         editAgument
   887 
   900 
   888     ) do:[:aKey|
   901     ) do:[:aKey|
   889         aspects at:aKey put:(holder := ValueHolder new).
   902         aspects at:aKey put:(holder := ValueHolder new).
   890         holder addDependent:self.
   903         holder addDependent:self.
   891     ].
   904     ].