2626
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2000 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
|
|
13 |
|
|
14 |
|
2613
|
15 |
HierarchicalItem subclass:#ClassNameItem
|
|
16 |
instanceVariableNames:'revisionInfo'
|
|
17 |
classVariableNames:''
|
|
18 |
poolDictionaries:''
|
|
19 |
category:'Interface-Browsers-Support'
|
|
20 |
!
|
|
21 |
|
2625
|
22 |
!ClassNameItem class methodsFor:'documentation'!
|
|
23 |
|
2626
|
24 |
copyright
|
|
25 |
"
|
|
26 |
COPYRIGHT (c) 2000 by eXept Software AG
|
|
27 |
All Rights Reserved
|
|
28 |
|
|
29 |
This software is furnished under a license and may be used
|
|
30 |
only in accordance with the terms of that license and with the
|
|
31 |
inclusion of the above copyright notice. This software may not
|
|
32 |
be provided or otherwise made available to, or used by, any
|
|
33 |
other person. No title to or ownership of the software is
|
|
34 |
hereby transferred.
|
|
35 |
"
|
|
36 |
|
|
37 |
|
|
38 |
!
|
|
39 |
|
2625
|
40 |
documentation
|
|
41 |
"
|
|
42 |
This is not yet finished (work in progress) - do not use.
|
|
43 |
|
|
44 |
[author:]
|
|
45 |
Pierre Schwarz (ps@exept.de)
|
|
46 |
|
|
47 |
[see also:]
|
|
48 |
|
|
49 |
[instance variables:]
|
|
50 |
|
|
51 |
[class variables:]
|
|
52 |
"
|
|
53 |
|
|
54 |
! !
|
2613
|
55 |
|
|
56 |
!ClassNameItem class methodsFor:'image specs'!
|
|
57 |
|
|
58 |
icon
|
|
59 |
"This resource specification was automatically generated
|
|
60 |
by the ImageEditor of ST/X."
|
|
61 |
|
|
62 |
"Do not manually edit this!! If it is corrupted,
|
|
63 |
the ImageEditor may not be able to read the specification."
|
|
64 |
|
|
65 |
"
|
|
66 |
self icon inspect
|
|
67 |
ImageEditor openOnClass:self andSelector:#icon
|
|
68 |
"
|
|
69 |
|
|
70 |
<resource: #image>
|
|
71 |
|
|
72 |
^Icon
|
|
73 |
constantNamed:#'ClassNameItem icon'
|
|
74 |
ifAbsentPut:[(Depth8Image new) width: 20; height: 20; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
75 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@0L@@ HB@ HB@ HB@ HB@@@@@@@C@0@B@@@@@@@@@@@@@@H@@@@@@@LC@@H@@PDA@PDA@PD@@ @@@@@@@0L@@ @A@PD@
|
|
76 |
@@@@@@@@@@@@@@@C@0@B@@DA@P@D@ PBA@HD@ P@@@LC@@H@@@DA@@HD@ PBA@HD@ @@@0L@@ @E@@D@A@HD@@@@@@HD@@@C@0@B@@@E@@@BA@H@@ P@A@H@
|
|
77 |
@@LC@@H@@@@E@@PBA@HD@ PBA@@@@0L@@ @@@@@@@ PBA@HD@ PB@@@C@0@B@@P@@@@D@ PBA@HD@ P@@@LC@@H@@ P@@@@@@@@@@@@@@@@@@0L@@ @D@ @@
|
|
78 |
@@@@@@@@@@@@@@@C@0@B@@HD@ PBA@HD@@H@@@@@@@LC@@H@A@HD@ PBA@H@@ @@@@@@@0L@@ @@@@@@@@@@@@@B@@@@@@@C@0@B@ HB@ HB@ HB@ H@@@@@
|
|
79 |
@@@C@@HB@ HB@ HB@ HB@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 119 124 119 248 252 0 119 124 0 168 168 168 248 252 248]; mask:((Depth1Image new) width: 20; height: 20; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??>O??>O??>O??>O??????????????????????????????????????>O??>O??>O??>O??>O_?>OO?>O') ; yourself); yourself]! !
|
|
80 |
|
|
81 |
!ClassNameItem methodsFor:'accessing'!
|
|
82 |
|
|
83 |
needsChildren
|
|
84 |
|
|
85 |
^false
|
|
86 |
|
|
87 |
|
|
88 |
!
|
|
89 |
|
|
90 |
revisionInfo
|
|
91 |
"return the value of the instance variable 'revisionInfo' (automatically generated)"
|
|
92 |
|
|
93 |
^ revisionInfo!
|
|
94 |
|
|
95 |
revisionInfo:something
|
|
96 |
"set the value of the instance variable 'revisionInfo' (automatically generated)"
|
|
97 |
|
|
98 |
revisionInfo := something.! !
|
|
99 |
|
|
100 |
!ClassNameItem methodsFor:'protocol'!
|
|
101 |
|
|
102 |
hasChildren
|
|
103 |
"a name class items has no childs
|
|
104 |
|
|
105 |
<return: Boolean>
|
|
106 |
"
|
|
107 |
^false
|
|
108 |
|
|
109 |
!
|
|
110 |
|
|
111 |
icon
|
|
112 |
|
|
113 |
^self class icon
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
!
|
|
118 |
|
|
119 |
label
|
|
120 |
|
|
121 |
| aStream user recordType fileName date time rev pkgDir clsName cvsRoot theText|
|
|
122 |
aStream := WriteStream on:String new.
|
|
123 |
user := revisionInfo at:#user ifAbsent:'?'.
|
|
124 |
recordType := revisionInfo at:#cvsRecordType ifAbsent:'?'.
|
|
125 |
fileName := revisionInfo at:#fileName ifAbsent:'?'.
|
|
126 |
date := revisionInfo at:#date ifAbsent:'?'.
|
|
127 |
time := revisionInfo at:#time ifAbsent:'?'.
|
|
128 |
rev := revisionInfo at:#revision ifAbsent:'?'.
|
|
129 |
pkgDir := revisionInfo at:#directory ifAbsent:'?'.
|
|
130 |
clsName := revisionInfo at:#className ifAbsent:'?'.
|
|
131 |
cvsRoot := revisionInfo at:#cvsRoot ifAbsent:'?'.
|
|
132 |
|
|
133 |
^(Text string:fileName emphasis:#bold),
|
|
134 |
(Text string:(String with:Character cr)),
|
|
135 |
(Text string:recordType),
|
|
136 |
(Text string:' '),
|
|
137 |
(Text string:(date printString paddedTo:5)),
|
|
138 |
(Text string:' '),
|
|
139 |
(Text string:(time printString paddedTo:5)),
|
|
140 |
(Text string:' '),
|
|
141 |
(Text string:(user printString paddedTo:10)),
|
|
142 |
(Text string:(String with:Character tab)),
|
|
143 |
(Text string:(rev decimalPaddedTo:8 and:3 at:$. withLeft:(Character space) right:nil)),
|
|
144 |
(Text string:(String with:Character tab)),
|
|
145 |
(Text string:(pkgDir paddedTo:20))
|
|
146 |
!
|
|
147 |
|
|
148 |
middleButtonMenu
|
|
149 |
"returns the middleButtonMenu or nil if no menu is defined
|
|
150 |
|
|
151 |
<return: nil>
|
|
152 |
"
|
|
153 |
^ nil
|
|
154 |
|
|
155 |
|
|
156 |
! !
|
|
157 |
|
|
158 |
!ClassNameItem class methodsFor:'documentation'!
|
|
159 |
|
|
160 |
version
|
2626
|
161 |
^ '$Header: /cvs/stx/stx/libtool/ClassNameItem.st,v 1.3 2000-02-18 14:08:58 cg Exp $'
|
2613
|
162 |
! !
|