ClassClassVariableChange.st
author Claus Gittinger <cg@exept.de>
Tue, 22 Jan 2008 23:31:07 +0100
changeset 1985 da96a146b89e
parent 1317 ce08ad1930e4
child 2165 27441b4a3431
permissions -rw-r--r--
copyright
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1985
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     1
"
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     2
 COPYRIGHT (c) 2003 by eXept Software AG
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     3
              All Rights Reserved
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     4
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     5
 This software is furnished under a license and may be used
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     6
 only in accordance with the terms of that license and with the
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     8
 be provided or otherwise made available to, or used by, any
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     9
 other person.  No title to or ownership of the software is
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    10
 hereby transferred.
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    11
"
1317
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic3' }"
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
ClassChange subclass:#ClassClassVariableChange
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:'variableName nameSpaceName otherParameters'
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'System-Changes'
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
1985
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    21
!ClassClassVariableChange class methodsFor:'documentation'!
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    22
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    23
copyright
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    24
"
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    25
 COPYRIGHT (c) 2003 by eXept Software AG
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    26
              All Rights Reserved
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    27
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    28
 This software is furnished under a license and may be used
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    29
 only in accordance with the terms of that license and with the
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    31
 be provided or otherwise made available to, or used by, any
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    32
 other person.  No title to or ownership of the software is
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    33
 hereby transferred.
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    34
"
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    35
! !
1317
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
!ClassClassVariableChange methodsFor:'accessing'!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
name:varNameArg nameSpaceName:nsNameArg type:varTypeArg otherParameters:otherParametersArg
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
    variableName := varNameArg.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
    className := nsNameArg.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    otherParameters := otherParametersArg.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
source
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    "synthesize the changes source"
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    ^ String
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
        streamContents:
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
            [:s |
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
                self printOn:s.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
            ]
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
! !
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!ClassClassVariableChange methodsFor:'printing & storing'!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
printOn:aStream
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    aStream nextPutAll:self className; nextPutAll:' addClassVarName: ' , variableName storeString
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
! !
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
!ClassClassVariableChange class methodsFor:'documentation'!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
version
1985
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    64
    ^ '$Header: /cvs/stx/stx/libbasic3/ClassClassVariableChange.st,v 1.2 2008-01-22 22:31:07 cg Exp $'
1317
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
! !