class: Tools::ChangeList
fixed the following redraw bug in ModelListView (which is already fixed in SelectionInListView):
if a colored item is shown with selection, the color attribute should be
removed (or relaxed), to avoid drawing the label invisible.
I.e. if the text color is blue or grey, and the selection bg is blue.
we should draw white-on-blue, instead of blue/grey on blue.
For this to work, the info whether drawing a selection must be passed down
through the renderer to the item's draw routine.
"
COPYRIGHT (c) 2000 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
"
AbstractRevisionItem subclass:#ExpandableRevisionItem
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Interface-Browsers-Support'
!
!ExpandableRevisionItem class methodsFor:'documentation'!
copyright
"
COPYRIGHT (c) 2000 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
"
!
documentation
"
documentation to be added.
[author:]
Pierre Schwarz (ps@exept.de)
[see also:]
[instance variables:]
[class variables:]
"
! !
!ExpandableRevisionItem methodsFor:'accessing'!
icon
^nil
!
revisionString
"return the value of the instance variable 'revision' (automatically generated)"
^ 'more revisions ...'
! !
!ExpandableRevisionItem methodsFor:'actions'!
recursiveToggleExpand
self parent addAllRevisionsBefore:self
!
toggleExpand
self parent addNewRevisionsBefore:self
! !
!ExpandableRevisionItem methodsFor:'testing'!
isExpandableRevisionItem
"
the receiver is a expandable revision item. Used for testing tree items.
<return: Boolean>
"
^true
! !
!ExpandableRevisionItem class methodsFor:'documentation'!
version
^ '$Header: /cvs/stx/stx/libtool/ExpandableRevisionItem.st,v 1.5 2000-02-18 14:08:35 cg Exp $'
! !