OtherChange.st
author Claus Gittinger <cg@exept.de>
Thu, 05 Mar 2020 11:17:28 +0100
changeset 4561 eace75531554
parent 4249 e9410a264048
permissions -rw-r--r--
#UI_ENHANCEMENT by cg class: SourceCodeManagerUtilities changed: #compareClassWithRepository:askForRevision: typos: genitive of class is class's - not classes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1416
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     1
"
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     2
 COPYRIGHT (c) 2004 by eXept Software AG
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     3
              All Rights Reserved
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     4
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     5
 This software is furnished under a license and may be used
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     6
 only in accordance with the terms of that license and with the
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     8
 be provided or otherwise made available to, or used by, any
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
     9
 other person.  No title to or ownership of the software is
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    10
 hereby transferred.
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    11
"
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    12
"{ Package: 'stx:libbasic3' }"
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    13
4249
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    14
"{ NameSpace: Smalltalk }"
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    15
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
Change subclass:#OtherChange
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:'type file position'
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'System-Changes'
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
1416
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    23
!OtherChange class methodsFor:'documentation'!
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    24
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    25
copyright
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    26
"
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    27
 COPYRIGHT (c) 2004 by eXept Software AG
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    28
              All Rights Reserved
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    29
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    30
 This software is furnished under a license and may be used
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    31
 only in accordance with the terms of that license and with the
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    33
 be provided or otherwise made available to, or used by, any
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    34
 other person.  No title to or ownership of the software is
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    35
 hereby transferred.
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    36
"
21b4a48293cc copyright
Claus Gittinger <cg@exept.de>
parents: 1294
diff changeset
    37
! !
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!OtherChange methodsFor:'accessing'!
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
file
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    "return the value of the instance variable 'file' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    44
    ^ file
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    45
!
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
file:something
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    "set the value of the instance variable 'file' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    50
    file := something.
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    51
!
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
file:aFilename position:anInteger
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    "set the value of the instance variable 'file' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    file := aFilename.
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    position := anInteger
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
!
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
position
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    "return the value of the instance variable 'position' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    63
    ^ position
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    64
!
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
position:something
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
    "set the value of the instance variable 'position' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    69
    position := something.
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    70
!
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
type
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
    "return the value of the instance variable 'type' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    75
    ^ type
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    76
!
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
type:something
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
    "set the value of the instance variable 'type' (automatically generated)"
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    81
    type := something.
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    82
! !
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    83
4249
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    84
!OtherChange methodsFor:'applying'!
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    85
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    86
apply
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    87
    "apply the change"
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    88
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    89
    Transcript showCR:'other change ignored'
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    90
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    91
    "Created: / 05-07-2017 / 10:14:51 / cg"
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    92
! !
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
    93
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    94
!OtherChange methodsFor:'printing & storing'!
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    95
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    96
printOn:aStream
1441
f14f81edd5c6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1416
diff changeset
    97
    aStream nextPutAll:'OtherChange: '.
f14f81edd5c6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1416
diff changeset
    98
    source notNil ifTrue:[
f14f81edd5c6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1416
diff changeset
    99
        aStream nextPutAll:source.
f14f81edd5c6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1416
diff changeset
   100
    ].
1294
3928a6b058cf printing
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
   101
! !
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
2871
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   103
!OtherChange methodsFor:'testing'!
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   104
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   105
isOtherChange
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   106
    ^ true
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   107
! !
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   108
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
!OtherChange class methodsFor:'documentation'!
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
version
4249
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
   112
    ^ '$Header$'
2871
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   113
!
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   114
edd5c5b18492 Merged from SVN
vrany
parents: 1441
diff changeset
   115
version_SVN
4249
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
   116
    ^ '$Id$'
910
ccd7843444d2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
! !
4249
e9410a264048 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 2871
diff changeset
   118