MCClassComment.st
author Claus Gittinger <cg@exept.de>
Tue, 08 May 2018 19:54:33 +0200
changeset 1042 3b8c88c55251
parent 959 6abd2b4fd1eb
child 1099 df7f9c846b88
permissions -rw-r--r--
#FEATURE by cg class: MCRepositoryGroup changed: #initializeRepositoriesFromUserSettings

"{ Package: 'stx:goodies/monticello' }"

MCDefinition subclass:#MCClassComment
	instanceVariableNames:'className comment source'
	classVariableNames:''
	poolDictionaries:''
	category:'SCM-Monticello-Modeling'
!


!MCClassComment methodsFor:'accessing'!

actualClass
        ^Smalltalk classNamed: self className
!

className
    ^ className
!

className:classNameArg comment:commentArg source:sourceArg 
    className := classNameArg.
    comment := commentArg.
    source := sourceArg.
!

comment
    ^ comment
!

sortKey
    self halt:'please define sortKey here'.
!

source
    ^ source
! !

!MCClassComment methodsFor:'converting'!

asChange
    ^ ClassCommentChange new className:self className comment:self comment
! !

!MCClassComment methodsFor:'loading'!

load
    |actualClass|

    actualClass := self actualClass.
    actualClass comment:comment
! !

!MCClassComment class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCClassComment.st,v 1.2 2014-12-23 19:47:11 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCClassComment.st,v 1.2 2014-12-23 19:47:11 cg Exp $'
! !