MethodCategoryChange.st
author Claus Gittinger <cg@exept.de>
Mon, 16 Feb 1998 15:00:00 +0100
changeset 654 edeb63d98088
parent 235 3ebfdc6edab9
child 852 1acd7d3ed3fc
permissions -rw-r--r--
checkin from browser

"
 COPYRIGHT (c) 1993 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.
"

MethodChange subclass:#MethodCategoryChange
	instanceVariableNames:'category'
	classVariableNames:''
	poolDictionaries:''
	category:'System-Changes'
!

!MethodCategoryChange class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1993 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 method-category changes (as done in the browser). 
    They are typically held in a ChangeSet.

    [author:]
        Claus Gittinger
"
! !

!MethodCategoryChange class methodsFor:'instance creation'!

class:cls selector:sel category:cat 
    ^ self basicNew class:cls selector:sel category:cat


! !

!MethodCategoryChange methodsFor:'accessing'!

class:cls selector:sel category:cat
    className := cls name.
    selector := sel.
    category := cat

!

className:clsName selector:sel category:cat
    className := clsName.
    selector := sel.
    category := cat

    "Created: / 16.2.1998 / 14:14:16 / cg"
!

source
    ^ '(' , className , ' compiledMethodAt:#' , selector , ') category:' , category storeString

! !

!MethodCategoryChange class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic3/MethodCategoryChange.st,v 1.9 1998-02-16 14:00:00 cg Exp $'
! !