UIGalleryView.st
changeset 683 648ba2c8536e
parent 661 34af6869d5b8
child 720 7f228c9cde2e
equal deleted inserted replaced
682:9fcd010d8fd3 683:648ba2c8536e
   211     "
   211     "
   212     |specification selector selection application|
   212     |specification selector selection application|
   213 
   213 
   214     selection := tabRaw listIndexOf:something.
   214     selection := tabRaw listIndexOf:something.
   215 
   215 
       
   216     minorKeysHolder notNil ifTrue:[
       
   217         minorKeys := minorKeysHolder value.
       
   218     ].
   216     (selection notNil and:[minorKeys size >= selection]) ifTrue:[
   219     (selection notNil and:[minorKeys size >= selection]) ifTrue:[
   217         selector := minorKeys at:selection.
   220         selector := minorKeys at:selection.
   218 
   221 
   219         (majorKey respondsTo:selector) ifTrue:[
   222         (majorKey respondsTo:selector) ifTrue:[
   220             specification := majorKey perform:selector
   223             specification := majorKey perform:selector
   262     "setup default attributes
   265     "setup default attributes
   263     "
   266     "
   264     canvas := Canvas.
   267     canvas := Canvas.
   265 
   268 
   266     super initialize.
   269     super initialize.
       
   270 
   267     tabRaw action:[:something| self selectionChangedTo:something ].
   271     tabRaw action:[:something| self selectionChangedTo:something ].
   268 
   272 
   269 ! !
   273 ! !
   270 
   274 
   271 !UIGalleryView::Canvas methodsFor:'accessing'!
   275 !UIGalleryView::Canvas methodsFor:'accessing'!