SelectionInListView.st
changeset 2407 bbf31d2267ea
parent 2401 296ed4051b86
child 2413 2a72970c1da8
equal deleted inserted replaced
2406:aeabb4ccf07c 2407:bbf31d2267ea
  3495 !
  3495 !
  3496 
  3496 
  3497 hasSelection
  3497 hasSelection
  3498     "return true, if the view has a selection"
  3498     "return true, if the view has a selection"
  3499 
  3499 
       
  3500     multipleSelectOk ifTrue:[
       
  3501         ^ selection size > 0
       
  3502     ].
  3500     ^ selection notNil 
  3503     ^ selection notNil 
  3501 !
  3504 !
  3502 
  3505 
  3503 is:aNumber inSelection:aSelection
  3506 is:aNumber inSelection:aSelection
  3504     "return true, if line, aNumber is in the selection"
  3507     "return true, if line, aNumber is in the selection"
  4016 ! !
  4019 ! !
  4017 
  4020 
  4018 !SelectionInListView class methodsFor:'documentation'!
  4021 !SelectionInListView class methodsFor:'documentation'!
  4019 
  4022 
  4020 version
  4023 version
  4021     ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.193 2001-09-08 19:16:18 cg Exp $'
  4024     ^ '$Header: /cvs/stx/stx/libwidg/SelectionInListView.st,v 1.194 2001-09-26 09:58:18 cg Exp $'
  4022 ! !
  4025 ! !