ClassItemRootForRevision.st
author Claus Gittinger <cg@exept.de>
Wed, 05 Jun 2019 14:16:59 +0200
changeset 18805 f6df57c6dbfb
parent 2626 4ee750caddab
child 12123 4bde08cebd48
permissions -rw-r--r--
#BUGFIX by cg class: AbstractFileBrowser changed: #currentFileNameHolder endless loop if file not present.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2626
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     1
"
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     2
 COPYRIGHT (c) 2000 by eXept Software AG
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     3
              All Rights Reserved
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     4
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     5
 This software is furnished under a license and may be used
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     6
 only in accordance with the terms of that license and with the
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     8
 be provided or otherwise made available to, or used by, any
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
     9
 other person.  No title to or ownership of the software is
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    10
 hereby transferred.
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    11
"
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    12
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    13
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    14
2613
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    15
ClassItemRoot subclass:#ClassItemRootForRevision
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    16
	instanceVariableNames:''
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    17
	classVariableNames:''
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    18
	poolDictionaries:''
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    19
	category:'Interface-Browsers-Support'
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    20
!
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    21
2625
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    22
!ClassItemRootForRevision class methodsFor:'documentation'!
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    23
2626
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    24
copyright
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    25
"
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    26
 COPYRIGHT (c) 2000 by eXept Software AG
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    27
              All Rights Reserved
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    28
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    29
 This software is furnished under a license and may be used
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    30
 only in accordance with the terms of that license and with the
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    31
 inclusion of the above copyright notice.   This software may not
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    32
 be provided or otherwise made available to, or used by, any
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    33
 other person.  No title to or ownership of the software is
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    34
 hereby transferred.
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    35
"
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    36
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    37
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    38
!
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    39
2625
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    40
documentation
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    41
"
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    42
    This is not yet finished (work in progress) - do not use.
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    43
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    44
    [author:]
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    45
        Pierre Schwarz (ps@exept.de)
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    46
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    47
    [see also:]
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    48
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    49
    [instance variables:]
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    50
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    51
    [class variables:]
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    52
"
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    53
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    54
! !
2613
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    55
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    56
!ClassItemRootForRevision class methodsFor:'accessing'!
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    57
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    58
classItemClass
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    59
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    60
    ^ClassNameItem
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    61
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    62
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    63
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    64
! !
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    65
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    66
!ClassItemRootForRevision methodsFor:'protocol'!
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    67
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    68
computeChildrensFor:aClassRevisionColl
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    69
"
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    70
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    71
<return: OrderedCollection|nil>
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    72
"
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    73
    |theClassItemColl|
2625
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    74
2613
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    75
    aClassRevisionColl ifNil:[^#()].
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    76
    theClassItemColl := aClassRevisionColl collect:[:eachClassRevision |
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    77
        |theClassItem theClass|
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    78
        theClassItem := self classItemClass new.
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    79
        theClassItem revisionInfo:eachClassRevision.
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    80
        theClassItem].
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    81
    ^theClassItemColl
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    82
2625
d70f0361a027 doc; halts removed
Claus Gittinger <cg@exept.de>
parents: 2613
diff changeset
    83
    "Modified: / 18.2.2000 / 15:04:31 / cg"
2613
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    84
!
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    85
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    86
doubleClickOn:anItem
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    87
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    88
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    89
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    90
! !
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    91
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    92
!ClassItemRootForRevision class methodsFor:'documentation'!
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    93
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    94
version
2626
Claus Gittinger <cg@exept.de>
parents: 2625
diff changeset
    95
    ^ '$Header: /cvs/stx/stx/libtool/ClassItemRootForRevision.st,v 1.3 2000-02-18 14:09:10 cg Exp $'
2613
4dd07aefaf20 initial checkin
ps
parents:
diff changeset
    96
! !