ClassPrimitiveFunctionsChange.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 22 Mar 2013 11:11:55 +0000
branchjv
changeset 3128 87750af738dc
parent 3125 08d6603c4fe9
parent 3121 19723298dd2c
child 3838 474d8ec95b33
permissions -rw-r--r--
Merged heads

"
 COPYRIGHT (c) 1995 by Claus Gittinger
	      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.
"
"{ Package: 'stx:libbasic3' }"

ClassPrimitiveChange subclass:#ClassPrimitiveFunctionsChange
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'System-Changes'
!

!ClassPrimitiveFunctionsChange class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1995 by Claus Gittinger
	      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
"
    instances represent a classes primitive function-changes. 
    They are typically held in a ChangeSet.

    [author:]
        Claus Gittinger
"
! !

!ClassPrimitiveFunctionsChange methodsFor:'applying'!

privateApply
    "apply the change"

    self changeClass primitiveFunctions:(self source)

    "Created: / 28-06-2011 / 22:59:30 / cg"
! !

!ClassPrimitiveFunctionsChange methodsFor:'comparing'!

isForSameAs:changeB
    "return true, if the given change represents a change for the same
     thingy as the receiver (i.e. same method, same definition etc.)."

    changeB isPrimitiveFunctionsChange ifFalse:[^ false].   

    ^ className = changeB className


! !

!ClassPrimitiveFunctionsChange methodsFor:'printing & storing'!

printOn:aStream
    "append a user printed representation of the receiver to aStream.
     The format is suitable for a human - not meant to be read back."

    aStream nextPutAll:className; nextPutAll:' primitiveFunctions:'
! !

!ClassPrimitiveFunctionsChange methodsFor:'queries'!

isPrimitiveFunctionsChange
    ^ true


! !

!ClassPrimitiveFunctionsChange class methodsFor:'documentation'!

version
    ^ '$Header: ClassPrimitiveFunctionsChange.st 1909 2012-03-31 00:14:49Z vranyj1 $'
!

version_CVS
    ^ '§Header: /cvs/stx/stx/libbasic3/ClassPrimitiveFunctionsChange.st,v 1.11 2011/06/28 21:00:09 cg Exp §'
!

version_HG

    ^ '$Changeset: <not expanded> $'
!

version_SVN
    ^ '§Id: ClassPrimitiveFunctionsChange.st 1909 2012-03-31 00:14:49Z vranyj1 §'
! !