DataSetBuilder.st
changeset 2789 4f5e12eb7525
parent 2626 3977750d7b4d
child 2816 1832d595db94
equal deleted inserted replaced
2788:5ea743a4ac48 2789:4f5e12eb7525
   131         columnAlignment
   131         columnAlignment
   132         minValue
   132         minValue
   133         maxValue
   133         maxValue
   134         isSortable
   134         isSortable
   135         sortSelector
   135         sortSelector
       
   136         sortBlockSelector
   136      )
   137      )
   137 
   138 
   138     "Modified: / 26-03-2007 / 14:05:10 / cg"
   139     "Modified: / 16-06-2010 / 15:58:54 / cg"
   139 ! !
   140 ! !
   140 
   141 
   141 !DataSetBuilder class methodsFor:'help specs'!
   142 !DataSetBuilder class methodsFor:'help specs'!
   142 
   143 
   143 flyByHelpSpec
   144 flyByHelpSpec
   348 'Selector which returns true if the editor on the ComboBox/List has an input field.'
   349 'Selector which returns true if the editor on the ComboBox/List has an input field.'
   349 
   350 
   350 #showSelectionHighLighted
   351 #showSelectionHighLighted
   351 'Show selected cell highligthened (change fg/bg color).'
   352 'Show selected cell highligthened (change fg/bg color).'
   352 
   353 
       
   354 #sortBlockSelector
       
   355 'Sent to the row to retrieve a selector which is sent to the application to provide a block for sorting.'
       
   356 
   353 #sortSelector
   357 #sortSelector
   354 'Sent to the row to extract the value used for sorting. If a block is returned, that one is used as sortBlock.'
   358 'Sent to the row to extract the value used for sorting. If a block is returned, that one is used as sortBlock.'
   355 
   359 
   356 #usePreferredWidth
   360 #usePreferredWidth
   357 'Compute width from first 10 row items.'
   361 'Compute width from first 10 row items.'
   376 
   380 
   377 #valuesXChoicesSelector
   381 #valuesXChoicesSelector
   378 'Selector to get a collection of translated choices for a cell having a ComboBox or a ComboList widget.'
   382 'Selector to get a collection of translated choices for a cell having a ComboBox or a ComboList widget.'
   379 
   383 
   380 )
   384 )
       
   385 
       
   386     "Modified: / 16-06-2010 / 16:04:22 / cg"
   381 ! !
   387 ! !
   382 
   388 
   383 !DataSetBuilder class methodsFor:'image specs'!
   389 !DataSetBuilder class methodsFor:'image specs'!
   384 
   390 
   385 newColumnIcon
   391 newColumnIcon
  1569         window: 
  1575         window: 
  1570        (WindowSpec
  1576        (WindowSpec
  1571           label: 'DataSet Basic'
  1577           label: 'DataSet Basic'
  1572           name: 'DataSet Basic'
  1578           name: 'DataSet Basic'
  1573           min: (Point 10 10)
  1579           min: (Point 10 10)
  1574           bounds: (Rectangle 0 0 389 473)
  1580           bounds: (Rectangle 0 0 430 473)
  1575         )
  1581         )
  1576         component: 
  1582         component: 
  1577        (SpecCollection
  1583        (SpecCollection
  1578           collection: (
  1584           collection: (
  1579            (VerticalPanelViewSpec
  1585            (VerticalPanelViewSpec
  1604                           translateLabel: true
  1610                           translateLabel: true
  1605                         )
  1611                         )
  1606                        (LabelSpec
  1612                        (LabelSpec
  1607                           label: 'Sort Selector:'
  1613                           label: 'Sort Selector:'
  1608                           name: 'sortSelector'
  1614                           name: 'sortSelector'
  1609                           layout: (LayoutFrame 18 0 33 0 90 0 51 0)
  1615                           layout: (LayoutFrame 35 0 33 0 107 0 51 0)
  1610                           activeHelpKey: sortSelector
  1616                           activeHelpKey: sortSelector
  1611                           translateLabel: true
  1617                           translateLabel: true
  1612                           resizeForLabel: true
  1618                           resizeForLabel: true
  1613                           adjust: right
  1619                           adjust: right
  1614                         )
  1620                         )
  1615                        (InputFieldSpec
  1621                        (InputFieldSpec
  1616                           name: 'EntryField3'
  1622                           name: 'EntryField3'
  1617                           layout: (LayoutFrame 93 0 30 0 2 1 56 0)
  1623                           layout: (LayoutFrame 110 0 30 0 2 1 56 0)
  1618                           activeHelpKey: sortSelector
  1624                           activeHelpKey: sortSelector
  1619                           enableChannel: isSortable
  1625                           enableChannel: isSortable
  1620                           tabable: true
  1626                           tabable: true
  1621                           model: sortSelector
  1627                           model: sortSelector
  1622                           group: inputGroup
  1628                           group: inputGroup
  1626                           acceptOnLostFocus: false
  1632                           acceptOnLostFocus: false
  1627                           acceptChannel: acceptChannel
  1633                           acceptChannel: acceptChannel
  1628                           modifiedChannel: modifiedChannel
  1634                           modifiedChannel: modifiedChannel
  1629                           acceptOnPointerLeave: false
  1635                           acceptOnPointerLeave: false
  1630                         )
  1636                         )
       
  1637                        (LabelSpec
       
  1638                           label: 'Sort Block Selector:'
       
  1639                           name: 'Label1'
       
  1640                           layout: (LayoutFrame -5 0 66 0 107 0 84 0)
       
  1641                           activeHelpKey: sortBlockSelector
       
  1642                           translateLabel: true
       
  1643                           resizeForLabel: true
       
  1644                           adjust: right
       
  1645                         )
       
  1646                        (InputFieldSpec
       
  1647                           name: 'EntryField4'
       
  1648                           layout: (LayoutFrame 110 0 63 0 2 1 89 0)
       
  1649                           activeHelpKey: sortBlockSelector
       
  1650                           enableChannel: isSortable
       
  1651                           tabable: true
       
  1652                           model: sortBlockSelector
       
  1653                           group: inputGroup
       
  1654                           type: symbolOrNil
       
  1655                           immediateAccept: false
       
  1656                           acceptOnLeave: false
       
  1657                           acceptOnLostFocus: false
       
  1658                           acceptChannel: acceptChannel
       
  1659                           modifiedChannel: modifiedChannel
       
  1660                           acceptOnPointerLeave: false
       
  1661                         )
  1631                        )
  1662                        )
  1632                      
  1663                      
  1633                     )
  1664                     )
  1634                     extent: (Point 389 94)
  1665                     extent: (Point 430 122)
  1635                   )
  1666                   )
  1636                  )
  1667                  )
  1637                
  1668                
  1638               )
  1669               )
  1639             )
  1670             )