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