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