SelectionInListView.st
changeset 4296 ded54b6d30a1
parent 4153 0ab9d09911e6
child 4324 ef15f29888ad
equal deleted inserted replaced
4295:0d8d95fc9f63 4296:ded54b6d30a1
  1148 
  1148 
  1149      the default (set in #initialize) is #doubleClick 
  1149      the default (set in #initialize) is #doubleClick 
  1150     "
  1150     "
  1151 
  1151 
  1152     returnKeyActionStyle := aSymbol
  1152     returnKeyActionStyle := aSymbol
       
  1153 !
       
  1154 
       
  1155 selectConditionBlock
       
  1156     "get the select-conditionBlock; this block is evaluated before 
       
  1157      any selection change is performed (passing the to-be-changed item index as arg).
       
  1158      The change will not be done, if the block returns false. 
       
  1159      For example, this allows confirmation queries in the SystemBrowser"
       
  1160 
       
  1161     ^ selectConditionBlock
       
  1162 
       
  1163     "Created: / 29-07-2011 / 13:16:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1153 !
  1164 !
  1154 
  1165 
  1155 selectConditionBlock:aBlock
  1166 selectConditionBlock:aBlock
  1156     "set the select-conditionBlock; this block is evaluated before 
  1167     "set the select-conditionBlock; this block is evaluated before 
  1157      any selection change is performed (passing the to-be-changed item index as arg).
  1168      any selection change is performed (passing the to-be-changed item index as arg).
  4087 ! !
  4098 ! !
  4088 
  4099 
  4089 !SelectionInListView class methodsFor:'documentation'!
  4100 !SelectionInListView class methodsFor:'documentation'!
  4090 
  4101 
  4091 version
  4102 version
  4092     ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.256 2010-07-01 14:15:38 sr Exp $'
  4103     ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.257 2011-07-29 12:17:05 vrany Exp $'
  4093 !
  4104 !
  4094 
  4105 
  4095 version_CVS
  4106 version_CVS
  4096     ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.256 2010-07-01 14:15:38 sr Exp $'
  4107     ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.257 2011-07-29 12:17:05 vrany Exp $'
  4097 ! !
  4108 ! !