ClassRenameChange.st
author james
Wed, 09 Apr 2003 14:26:50 +0200
changeset 1234 2edbb63a70b7
parent 1162 4af27057a3ce
child 3011 1997ff6e7e55
child 3181 3ac0c92b12b0
permissions -rw-r--r--
james' package changes

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


"{ Package: 'stx:libbasic3' }"

ClassChange subclass:#ClassRenameChange
	instanceVariableNames:'oldName'
	classVariableNames:''
	poolDictionaries:''
	category:'System-Changes'
!

!ClassRenameChange class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1998 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
"
    instances represent a class-has-been-renamed change. 
    They are typically held in a ChangeSet.

    [author:]
        Claus Gittinger
"
! !

!ClassRenameChange methodsFor:'accessing'!

oldName
    "return the value of the instance variable 'oldName' (automatically generated)"

    ^ oldName
!

oldName:oldNameArg newName:newNameArg
    className := newNameArg.
    oldName := oldNameArg

    "Created: / 16.2.1998 / 14:22:38 / cg"
! !

!ClassRenameChange methodsFor:'printing'!

printOn:aStream
    aStream nextPutAll:'Smalltalk renameClass:';
            nextPutAll:oldName;
            nextPutAll:' to:';
            nextPutAll:className storeString

    "Created: / 16.2.1998 / 14:23:35 / cg"
! !

!ClassRenameChange methodsFor:'queries'!

isClassRenameChange
    ^ true
! !

!ClassRenameChange class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic3/ClassRenameChange.st,v 1.5 2003-04-09 12:25:24 james Exp $'
! !