ClassPrimitiveChange.st
author Claus Gittinger <cg@exept.de>
Tue, 22 Aug 2000 21:57:35 +0200
changeset 957 54dade11e57f
parent 798 999fff0aa0d0
child 1286 621aac0264a7
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
798
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     1
"
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     2
 COPYRIGHT (c) 1999 by eXept Software AG
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     3
              All Rights Reserved
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     4
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     5
 This software is furnished under a license and may be used
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     6
 only in accordance with the terms of that license and with the
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     8
 be provided or otherwise made available to, or used by, any
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
     9
 other person.  No title to or ownership of the software is
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    10
 hereby transferred.
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    11
"
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    12
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    13
957
54dade11e57f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
    14
"{ Package: 'stx:libbasic3' }"
54dade11e57f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
    15
782
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ClassChange subclass:#ClassPrimitiveChange
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'System-Changes'
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
798
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    23
!ClassPrimitiveChange class methodsFor:'documentation'!
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    24
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    25
copyright
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    26
"
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    27
 COPYRIGHT (c) 1999 by eXept Software AG
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    28
              All Rights Reserved
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    29
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    30
 This software is furnished under a license and may be used
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    31
 only in accordance with the terms of that license and with the
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    33
 be provided or otherwise made available to, or used by, any
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    34
 other person.  No title to or ownership of the software is
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    35
 hereby transferred.
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    36
"
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    37
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    38
! !
782
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
!ClassPrimitiveChange methodsFor:'accessing'!
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
class:aClass source:newSource
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
    className := aClass.
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    source := newSource
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    "Created: 3.12.1995 / 14:02:40 / cg"
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
    "Modified: 3.12.1995 / 14:06:33 / cg"
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
! !
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
798
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    50
!ClassPrimitiveChange methodsFor:'comparing'!
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    51
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    52
sameAs:changeB
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    53
    "return true, if the given change represents the same change as the receiver."
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    54
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    55
    (self isForSameAs:changeB) ifFalse:[^ false].
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    56
    ^ self sameSourceAs:changeB
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    57
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    58
! !
999fff0aa0d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 782
diff changeset
    59
782
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
!ClassPrimitiveChange methodsFor:'queries'!
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
isPrimitiveChange
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    ^ true
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
! !
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
!ClassPrimitiveChange class methodsFor:'documentation'!
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
version
957
54dade11e57f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 798
diff changeset
    69
    ^ '$Header: /cvs/stx/stx/libbasic3/ClassPrimitiveChange.st,v 1.3 2000-08-22 19:57:19 cg Exp $'
782
fc228e99f1cf initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
! !