eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Change':

Home

everywhere
www.exept.de
for:
[back]

Class: Change


Inheritance:

   Object
   |
   +--Change
      |
      +--ClassChange
      |
      +--DoItChange
      |
      +--NameSpaceCreationChange
      |
      +--OtherChange

Package:
stx:libbasic3
Category:
System-Changes
Version:
rev: 1.47 date: 2009/10/07 12:13:40
user: fm
file: Change.st directory: libbasic3
module: stx stc-classLibrary: libbasic3
Author:
Claus Gittinger

Description:


abstract superclass for all kind of changes - managed in changeSets.


Class protocol:

support
o  isSource: source1Arg sameSourceAs: source2Arg
return true, if the given sources are the same, ignoring tabs and whitespace differences.


Instance protocol:

accessing
o  changeClass
the class of the change (nil if not present)

o  changeSelector

o  className
the className of the change

o  file

o  file: aFile position: anInteger

o  objectType: aSymbol

o  prettyPrintedSource
return the prettyPrinted or normal source of the change

o  selector

o  source
return the source of the change

o  source: someString
set the source of the change

o  timeOfChangeIfKnown

o  timeStamp: aTimestamp

applying
o  apply
apply the change

** This method raises an error - it must be redefined in concrete classes **

change notification
o  sendChangeNotificationThroughSmalltalk
intentionally left blank

comparing
o  isForSameAs: changeB
return true, if the given change represents a change for the same
thingy as the receiver (i.e. same method, same definition etc.).

o  sameAs: changeB
return true, if the given change represents the same change as the receiver.

o  sameSourceAs: changeB
return true, if the given change has the same source as the receiver.

printing & storing
o  printStringWithoutClassName

o  printWithoutClassNameOn: aStream

queries
o  isForGeneratedSubject
Answers true iff subject of this method is somewhat
auto-generated by some tool - just like version methods
are.

testing
o  isClassCategoryChange
return true, if this is a class-category change

o  isClassChange
return true, if this is a class-related change

o  isClassCommentChange
return true, if this is a class-comment change

o  isClassDefinitionChange
return true, if this is a class-definition change

o  isClassInstVarDefinitionChange

o  isClassRemoveChange

o  isClassRenameChange

o  isDoIt

o  isMethodCategoryChange

o  isMethodCategoryRenameChange

o  isMethodChange
true if this is a method related change

o  isMethodChangeForVersionMethod
true if this is a method's code change (not package, category etc.)

o  isMethodCodeChange
true if this is a method's code change (not package, category etc.)

o  isMethodDefinitionChange

o  isMethodPackageChange

o  isMethodRemoveChange

o  isPrimitiveChange

o  isPrimitiveDefinitionsChange

o  isPrimitiveFunctionsChange

o  isPrimitiveVariablesChange

o  isPrivateClassDefinitionChange



ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 17 May 2012 16:05:22 GMT