ValueModel.st
author Stefan Vogel <sv@exept.de>
Mon, 13 Mar 2017 09:54:33 +0100
changeset 3941 dd9237d3a727
parent 3878 f7e300dabdf5
child 4214 fd7887c261d5
permissions -rw-r--r--
#BUGFIX by stefan class: MIMETypes application/xml -> #isXmlType
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
75
claus
parents: 73
diff changeset
     1
"
claus
parents: 73
diff changeset
     2
 COPYRIGHT (c) 1995 by Claus Gittinger
claus
parents: 73
diff changeset
     3
	      All Rights Reserved
claus
parents: 73
diff changeset
     4
claus
parents: 73
diff changeset
     5
 This software is furnished under a license and may be used
claus
parents: 73
diff changeset
     6
 only in accordance with the terms of that license and with the
claus
parents: 73
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
claus
parents: 73
diff changeset
     8
 be provided or otherwise made available to, or used by, any
claus
parents: 73
diff changeset
     9
 other person.  No title to or ownership of the software is
claus
parents: 73
diff changeset
    10
 hereby transferred.
claus
parents: 73
diff changeset
    11
"
1438
739c0e3e3993 pass the newValue as parameter with change-notification
Claus Gittinger <cg@exept.de>
parents: 1363
diff changeset
    12
"{ Package: 'stx:libview2' }"
739c0e3e3993 pass the newValue as parameter with change-notification
Claus Gittinger <cg@exept.de>
parents: 1363
diff changeset
    13
3782
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
    14
"{ NameSpace: Smalltalk }"
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
    15
69
claus
parents: 68
diff changeset
    16
Model subclass:#ValueModel
441
b0d486981a62 unconditionally send a change notification;
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
    17
	instanceVariableNames:''
175
df08e5b663d0 let objects interest implementation do things
Claus Gittinger <cg@exept.de>
parents: 143
diff changeset
    18
	classVariableNames:''
df08e5b663d0 let objects interest implementation do things
Claus Gittinger <cg@exept.de>
parents: 143
diff changeset
    19
	poolDictionaries:''
df08e5b663d0 let objects interest implementation do things
Claus Gittinger <cg@exept.de>
parents: 143
diff changeset
    20
	category:'Interface-Support-Models'
62
194eb0590b1e Initial revision
claus
parents:
diff changeset
    21
!
194eb0590b1e Initial revision
claus
parents:
diff changeset
    22
441
b0d486981a62 unconditionally send a change notification;
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
    23
!ValueModel class methodsFor:'documentation'!
68
claus
parents: 66
diff changeset
    24
69
claus
parents: 68
diff changeset
    25
copyright
claus
parents: 68
diff changeset
    26
"
claus
parents: 68
diff changeset
    27
 COPYRIGHT (c) 1995 by Claus Gittinger
71
claus
parents: 70
diff changeset
    28
	      All Rights Reserved
69
claus
parents: 68
diff changeset
    29
claus
parents: 68
diff changeset
    30
 This software is furnished under a license and may be used
claus
parents: 68
diff changeset
    31
 only in accordance with the terms of that license and with the
claus
parents: 68
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
claus
parents: 68
diff changeset
    33
 be provided or otherwise made available to, or used by, any
claus
parents: 68
diff changeset
    34
 other person.  No title to or ownership of the software is
claus
parents: 68
diff changeset
    35
 hereby transferred.
claus
parents: 68
diff changeset
    36
"
claus
parents: 68
diff changeset
    37
!
claus
parents: 68
diff changeset
    38
68
claus
parents: 66
diff changeset
    39
documentation
claus
parents: 66
diff changeset
    40
"
claus
parents: 66
diff changeset
    41
    abstract superclass for ValueHolders and Adaptors.
69
claus
parents: 68
diff changeset
    42
    It does not itself know how and where the value is stored,
143
ae38792bd85c interest is written with one 'r' (shame on me)
Claus Gittinger <cg@exept.de>
parents: 129
diff changeset
    43
    but knows about interested objects (which get informed, whenever
69
claus
parents: 68
diff changeset
    44
    the value changes) and keeps track if the value was ever accepted.
68
claus
parents: 66
diff changeset
    45
231
2fec6188bd28 examples
Claus Gittinger <cg@exept.de>
parents: 223
diff changeset
    46
    Notice: 
2fec6188bd28 examples
Claus Gittinger <cg@exept.de>
parents: 223
diff changeset
    47
        this class was implemented using protocol information
2fec6188bd28 examples
Claus Gittinger <cg@exept.de>
parents: 223
diff changeset
    48
        from alpha testers - it may not be complete or compatible to
2fec6188bd28 examples
Claus Gittinger <cg@exept.de>
parents: 223
diff changeset
    49
        the corresponding ST-80 class. 
2fec6188bd28 examples
Claus Gittinger <cg@exept.de>
parents: 223
diff changeset
    50
        If you encounter any incompatibilities, please forward a note 
2fec6188bd28 examples
Claus Gittinger <cg@exept.de>
parents: 223
diff changeset
    51
        describing the incompatibility verbal (i.e. no code) to the ST/X team.
69
claus
parents: 68
diff changeset
    52
claus
parents: 68
diff changeset
    53
    subclasses must redefine: #setValue: and #value
claus
parents: 68
diff changeset
    54
    (and optionally redefine #value:)
223
b65dc250db8d documentation
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
    55
b65dc250db8d documentation
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
    56
    [author:]
b65dc250db8d documentation
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
    57
        Claus Gittinger
68
claus
parents: 66
diff changeset
    58
"
claus
parents: 66
diff changeset
    59
! !
claus
parents: 66
diff changeset
    60
441
b0d486981a62 unconditionally send a change notification;
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
    61
!ValueModel class methodsFor:'instance creation'!
62
194eb0590b1e Initial revision
claus
parents:
diff changeset
    62
194eb0590b1e Initial revision
claus
parents:
diff changeset
    63
new
1189
d1df42602935 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1156
diff changeset
    64
    ^ self basicNew initialize
62
194eb0590b1e Initial revision
claus
parents:
diff changeset
    65
! !
194eb0590b1e Initial revision
claus
parents:
diff changeset
    66
3878
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    67
!ValueModel class methodsFor:'queries'!
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    68
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    69
isAbstract
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    70
    "Return if this class is an abstract class.
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    71
     True is returned here for myself only; false for subclasses.
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    72
     Abstract subclasses must redefine this again."
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    73
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    74
    ^ self == ValueModel.
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    75
! !
f7e300dabdf5 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3782
diff changeset
    76
125
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    77
!ValueModel methodsFor:'accessing'!
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    78
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    79
setValue:newValue 
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    80
    "physically set my value, without change notifications"
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    81
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    82
    ^ self subclassResponsibility
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    83
!
73
claus
parents: 71
diff changeset
    84
1363
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    85
triggerValue:newValue
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    86
    "set my value & send change notifications to my dependents.
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    87
     Send the change message even if the value didn't change."
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    88
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    89
    self setValue:newValue.
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    90
    self changed:#value
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    91
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    92
    "Modified: 27.3.1997 / 15:14:04 / cg"
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    93
!
3f2ec69eece6 Define #triggerValue
Stefan Vogel <sv@exept.de>
parents: 1189
diff changeset
    94
125
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    95
value 
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    96
    "return my value"
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    97
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    98
    ^ self subclassResponsibility
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
    99
!
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
   100
504
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   101
value:newValue
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   102
    "set my value & send change notifications to my dependents
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   103
     if it changed."
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   104
1156
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   105
"/    "/ mhmh - that seems to be what VW does ...
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   106
"/    "/ (i.e. always send a change message)
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   107
"/    self setValue:newValue.
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   108
"/    self changed:#value
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   109
504
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   110
    |oldValue|
125
fa5b5e4336bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 114
diff changeset
   111
504
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   112
    oldValue := self value.
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   113
    oldValue ~~ newValue ifTrue:[
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   114
        self setValue:newValue.
1438
739c0e3e3993 pass the newValue as parameter with change-notification
Claus Gittinger <cg@exept.de>
parents: 1363
diff changeset
   115
        self changed:#value with:newValue
504
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   116
    ]
326
ab4e3df5c5d5 only ignore new value if identical to previous value.
Claus Gittinger <cg@exept.de>
parents: 231
diff changeset
   117
504
b77cdd860259 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 492
diff changeset
   118
    "Modified: 27.3.1997 / 15:14:04 / cg"
796
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   119
!
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   120
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   121
value:newValue withoutNotifying:someOne
1095
ffd2aaae1a45 Fix typo (interrest -> interest)
Stefan Vogel <sv@exept.de>
parents: 796
diff changeset
   122
    "like #value, but temporarily retract all interests for someOne
796
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   123
     (i.e. the value-change will NOT directly send ANY change notification
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   124
      to someOne; we cannot guarantee indirect notifications, though.)
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   125
     Useful if someone is itself depending on the receiver,
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   126
     and wants to avoid recursive update notifications."
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   127
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   128
    |oldInterests wasDependent|
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   129
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   130
    [
3782
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   131
        oldInterests := self retractInterestsFor:someOne.
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   132
        wasDependent := self dependents includes:someOne.
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   133
        wasDependent ifTrue:[
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   134
            self removeDependent:someOne.
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   135
        ].
796
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   136
        
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   137
        self value:newValue.
1557
e5e78ee63670 #valueNowOrOnUnwindDo: -> #ensure:
Claus Gittinger <cg@exept.de>
parents: 1438
diff changeset
   138
    ] ensure:[
796
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   139
        wasDependent ifTrue:[self addDependent:someOne].
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   140
        oldInterests do:[:i |
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   141
            self addInterest:i
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   142
        ].
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   143
    ].
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   144
5aca7d7a8f30 added #value:withoutNotifying:
Claus Gittinger <cg@exept.de>
parents: 773
diff changeset
   145
    "Modified: / 30.1.1998 / 14:14:01 / cg"
62
194eb0590b1e Initial revision
claus
parents:
diff changeset
   146
! !
194eb0590b1e Initial revision
claus
parents:
diff changeset
   147
492
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   148
!ValueModel methodsFor:'converting'!
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   149
1156
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   150
asValue
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   151
    "return the receiver - it is already a valueHolder"
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   152
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   153
    ^ self
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   154
!
abdd5a7dce49 added #asValue & comment
Claus Gittinger <cg@exept.de>
parents: 1114
diff changeset
   155
492
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   156
compute:aBlock
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   157
    "return a BlockValue on the receiver, which computes aBlock"
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   158
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   159
    ^ BlockValue with:aBlock arguments:(Array with:self)
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   160
! !
4a308c56cb06 added #compute: - conversion
ca
parents: 441
diff changeset
   161
3004
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   162
!ValueModel methodsFor:'misc'!
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   163
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   164
deccrement
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   165
    self value:(self value + 1)
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   166
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   167
    "Created: / 27-04-2012 / 14:51:54 / cg"
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   168
!
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   169
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   170
increment
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   171
    self value:(self value + 1)
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   172
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   173
    "Created: / 27-04-2012 / 14:51:51 / cg"
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   174
! !
Claus Gittinger <cg@exept.de>
parents: 2951
diff changeset
   175
773
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   176
!ValueModel methodsFor:'queries'!
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   177
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   178
isBuffering
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   179
    "return true, if the receiver is buffering something.
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   180
     For compatibility with BufferedValueHolder, false is returned here"
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   181
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   182
    ^ false
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   183
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   184
    "Created: / 27.1.1998 / 12:12:08 / cg"
1114
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   185
!
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   186
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   187
isValueModel
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   188
    "return true, if the receiver is some kind of valueModel;
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   189
     true returned here - redefined from Object"
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   190
7b15d659f57e added #isValueModel
Claus Gittinger <cg@exept.de>
parents: 1095
diff changeset
   191
    ^ true
773
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   192
! !
b6337f784d05 added #isBuffering (read not from trevis griggs)
Claus Gittinger <cg@exept.de>
parents: 504
diff changeset
   193
441
b0d486981a62 unconditionally send a change notification;
Claus Gittinger <cg@exept.de>
parents: 326
diff changeset
   194
!ValueModel class methodsFor:'documentation'!
129
f890eaabc487 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 125
diff changeset
   195
f890eaabc487 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 125
diff changeset
   196
version
3782
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   197
    ^ '$Header$'
129
f890eaabc487 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 125
diff changeset
   198
! !
3782
2bfe190eedaa #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 3004
diff changeset
   199