ClassRenameChange.st
author Claus Gittinger <cg@exept.de>
Tue, 10 Sep 2002 13:53:27 +0200
changeset 1162 4af27057a3ce
parent 1096 4a949a840bb3
child 1234 2edbb63a70b7
permissions -rw-r--r--
comment

"
 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: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 class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic3/ClassRenameChange.st,v 1.4 2002-09-10 11:52:22 cg Exp $'
! !