1037
|
1 |
ToolApplicationModel subclass:#ProjectBrowser
|
1026
|
2 |
instanceVariableNames:'projectTree'
|
1025
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'Interface-Smalltalk'
|
|
6 |
!
|
|
7 |
|
1079
|
8 |
TreeItemWithImage subclass:#ProjectTreeItem
|
|
9 |
instanceVariableNames:'action spec'
|
1025
|
10 |
classVariableNames:''
|
|
11 |
poolDictionaries:''
|
|
12 |
privateIn:ProjectBrowser
|
|
13 |
!
|
|
14 |
|
1026
|
15 |
ProjectBrowser::ProjectTreeItem subclass:#ProjectNode
|
|
16 |
instanceVariableNames:''
|
|
17 |
classVariableNames:''
|
|
18 |
poolDictionaries:''
|
|
19 |
privateIn:ProjectBrowser
|
|
20 |
!
|
|
21 |
|
1025
|
22 |
|
1079
|
23 |
!ProjectBrowser class methodsFor:'image specs'!
|
|
24 |
|
|
25 |
classesIcon
|
|
26 |
"This resource specification was automatically generated
|
|
27 |
by the ImageEditor of ST/X."
|
|
28 |
|
|
29 |
"Do not manually edit this!! If it is corrupted,
|
|
30 |
the ImageEditor may not be able to read the specification."
|
|
31 |
|
|
32 |
"
|
|
33 |
self classesIcon inspect
|
|
34 |
ImageEditor openOnClass:self andSelector:#classesIcon
|
|
35 |
"
|
|
36 |
|
|
37 |
<resource: #image>
|
|
38 |
|
|
39 |
^Icon
|
|
40 |
constantNamed:#'ProjectBrowser classesIcon'
|
|
41 |
ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@ADA@AD"H"DPDPD@@@@@@@@@@P@QDQDQDA@A@AH"H"HPD@@@DQDQDQ@PD@@@@@@@@A@P@ADQDQDPDA@@DRH"HQ@PD@@QDQDQDA@P@ADQDQDPDA@@@@@@@@@PD@DPDQDQDQ@P@Q@@@@@@@A@ADQ@QDQDQD@DQD@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 132 130 132]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'?>C?8O?8??#??/?>??;??/?>??;??/?>O?8?? ?>C?8b') ; yourself); yourself]!
|
|
42 |
|
|
43 |
commentIcon
|
|
44 |
"This resource specification was automatically generated
|
|
45 |
by the ImageEditor of ST/X."
|
|
46 |
|
|
47 |
"Do not manually edit this!! If it is corrupted,
|
|
48 |
the ImageEditor may not be able to read the specification."
|
|
49 |
|
|
50 |
"
|
|
51 |
self commentIcon inspect
|
|
52 |
ImageEditor openOnClass:self andSelector:#commentIcon
|
|
53 |
"
|
|
54 |
|
|
55 |
<resource: #image>
|
|
56 |
|
|
57 |
^Icon
|
|
58 |
constantNamed:#'ProjectBrowser commentIcon'
|
|
59 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDAA@PD@PDA@PDA@PDA@PDA@PPDA@DA@PDA@PDA@PDA@PDDA@PA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PPDA@DA@PDA@PDA@PDA@P@DA@P@@PDA@PDA@PDA@PD@A@PD@@DA@PDA@PDA@PDA@@PDA@@A@PDA@PDA@PDA@P@DA@P@@PDA@PDA@PDA@PD@A@PD@@DA@PDA@PDA@PDA@@PDA@@A@PDA@PDA@PDA@PD@@@@A@PDA@PDA@PDA@PDA@PD@@PDA@PDA@P@a') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@8@C @N@@@@C @N@@8@C @N@@8@C @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]!
|
|
60 |
|
|
61 |
deploymentIcon
|
|
62 |
"This resource specification was automatically generated
|
|
63 |
by the ImageEditor of ST/X."
|
|
64 |
|
|
65 |
"Do not manually edit this!! If it is corrupted,
|
|
66 |
the ImageEditor may not be able to read the specification."
|
|
67 |
|
|
68 |
"
|
|
69 |
self deploymentIcon inspect
|
|
70 |
ImageEditor openOnClass:self andSelector:#deploymentIcon
|
|
71 |
"
|
|
72 |
|
|
73 |
<resource: #image>
|
|
74 |
|
|
75 |
^Icon
|
|
76 |
constantNamed:#'ProjectBrowser deploymentIcon'
|
|
77 |
ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@CL0@3L0@@@CL3@3@3@@@CL@LC@CL@@@L0@0LCL0@@@CMCP3MD@@@@L3L3L3M@@@ADP3QD@4@@@@@3@@ACP@@DQCMDPDM@@@QDL4Q@P4@@ADP3QDACP@@DQCMDPDM@@@QDL4Q@P0@@ADP3QDAC@@@DQCMDP@@@@@@@L0@@@@@b') ; colorMapFromArray:#[0 0 0 0 0 132 132 0 0 132 0 132 255 255 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A30O[A%LF?<O?0??G?<??3??O?<??3??O?8??C?8O?@b') ; yourself); yourself]!
|
|
78 |
|
|
79 |
filesIcon
|
|
80 |
"This resource specification was automatically generated
|
|
81 |
by the ImageEditor of ST/X."
|
|
82 |
|
|
83 |
"Do not manually edit this!! If it is corrupted,
|
|
84 |
the ImageEditor may not be able to read the specification."
|
|
85 |
|
|
86 |
"
|
|
87 |
self filesIcon inspect
|
|
88 |
ImageEditor openOnClass:self andSelector:#filesIcon
|
|
89 |
"
|
|
90 |
|
|
91 |
<resource: #image>
|
|
92 |
|
|
93 |
^Icon
|
|
94 |
constantNamed:#'ProjectBrowser filesIcon'
|
|
95 |
ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@DQDQ@P@@@@@P@@@@@@@@@A@QDQDA@@@@DA@@@@@@@@@PDADQDPD@@A@PDQDQ@Q@@DA@QDQD@@@@PDADQDQDQ@A@PDQDQDQD@@A@QDQDQDP@@DADQDQDQ@@@@DQDQDQD@@@@QDQDQDP@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@C? O?@?>C?<O?8??3??/??????????O?<??0??C?<b') ; yourself); yourself]!
|
|
96 |
|
|
97 |
methodsIcon
|
|
98 |
"This resource specification was automatically generated
|
|
99 |
by the ImageEditor of ST/X."
|
|
100 |
|
|
101 |
"Do not manually edit this!! If it is corrupted,
|
|
102 |
the ImageEditor may not be able to read the specification."
|
|
103 |
|
|
104 |
"
|
|
105 |
self multipleUnlockedMagentaIcon inspect
|
|
106 |
ImageEditor openOnClass:self andSelector:#multipleUnlockedMagentaIcon
|
|
107 |
"
|
|
108 |
|
|
109 |
<resource: #image>
|
|
110 |
|
|
111 |
^Icon
|
|
112 |
constantNamed:#'ProjectBrowser methodsIcon'
|
|
113 |
ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@DH@@@@@@@@4QA@@@@@@@TQDPP@@@@@@MDQDH@@@@@@PQDQA@@@@@@LTQA@@@@@@M@I@L@@@@@EDPQD@@@@@@CQDIB@@@@@@DDQDPP@@@@@CEDPP@@@@@@@BPC@@@@@@@@DQ@@@@@@@@@B@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 0 0 132 132 0 0 132 0 132 255 0 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'B@@\@C8@_0A? C?@G<@? G<@_8@?0A?@C8@G@@H@@@@b') ; yourself); yourself]
|
|
114 |
|
|
115 |
|
1080
|
116 |
!
|
|
117 |
|
|
118 |
prerequisitesIcon
|
|
119 |
"This resource specification was automatically generated
|
|
120 |
by the ImageEditor of ST/X."
|
|
121 |
|
|
122 |
"Do not manually edit this!! If it is corrupted,
|
|
123 |
the ImageEditor may not be able to read the specification."
|
|
124 |
|
|
125 |
"
|
|
126 |
self prerequisitesIcon inspect
|
|
127 |
ImageEditor openOnClass:self andSelector:#prerequisitesIcon
|
|
128 |
"
|
|
129 |
|
|
130 |
<resource: #image>
|
|
131 |
|
|
132 |
^Icon
|
|
133 |
constantNamed:#'ProjectBrowser prerequisitesIcon'
|
|
134 |
ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@A8@D(@RPA80@C@^@=HRT/)^D$@C7#@RLAI@G(@@@@b') ; yourself); yourself]
|
|
135 |
|
|
136 |
"Modified: / 23.3.1999 / 14:28:11 / cg"
|
1079
|
137 |
! !
|
|
138 |
|
1025
|
139 |
!ProjectBrowser class methodsFor:'interface specs'!
|
|
140 |
|
|
141 |
emptyRightCanvasSpec
|
|
142 |
"This resource specification was automatically generated
|
|
143 |
by the UIPainter of ST/X."
|
|
144 |
|
|
145 |
"Do not manually edit this!! If it is corrupted,
|
|
146 |
the UIPainter may not be able to read the specification."
|
|
147 |
|
|
148 |
"
|
|
149 |
UIPainter new openOnClass:ProjectBrowser andSelector:#emptyRightCanvasSpec
|
|
150 |
ProjectBrowser new openInterface:#emptyRightCanvasSpec
|
|
151 |
"
|
|
152 |
|
|
153 |
<resource: #canvas>
|
|
154 |
|
|
155 |
^
|
|
156 |
|
|
157 |
#(#FullSpec
|
|
158 |
#window:
|
|
159 |
#(#WindowSpec
|
|
160 |
#name: 'NewApplication'
|
|
161 |
#layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
|
|
162 |
#label: 'NewApplication'
|
|
163 |
#min: #(#Point 10 10)
|
|
164 |
#max: #(#Point 1280 1024)
|
|
165 |
#bounds: #(#Rectangle 216 173 516 473)
|
|
166 |
#usePreferredExtent: false
|
|
167 |
)
|
|
168 |
#component:
|
|
169 |
#(#SpecCollection
|
|
170 |
#collection:
|
|
171 |
#(
|
|
172 |
#(#TextEditorSpec
|
|
173 |
#name: 'TextEditor1'
|
|
174 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
175 |
#model: #rightCanvasTextHolder
|
|
176 |
#hasHorizontalScrollBar: true
|
|
177 |
#hasVerticalScrollBar: true
|
|
178 |
#miniScrollerHorizontal: true
|
|
179 |
#isReadOnly: true
|
|
180 |
)
|
|
181 |
)
|
|
182 |
)
|
|
183 |
)
|
|
184 |
!
|
|
185 |
|
1037
|
186 |
rightCanvasSpecForClassList
|
|
187 |
"This resource specification was automatically generated
|
|
188 |
by the UIPainter of ST/X."
|
|
189 |
|
|
190 |
"Do not manually edit this!! If it is corrupted,
|
|
191 |
the UIPainter may not be able to read the specification."
|
|
192 |
|
|
193 |
"
|
|
194 |
UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForClassList
|
|
195 |
ProjectBrowser new openInterface:#rightCanvasSpecForClassList
|
|
196 |
"
|
|
197 |
|
|
198 |
<resource: #canvas>
|
|
199 |
|
|
200 |
^
|
|
201 |
|
|
202 |
#(#FullSpec
|
|
203 |
#window:
|
|
204 |
#(#WindowSpec
|
|
205 |
#name: 'NewApplication'
|
|
206 |
#layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
|
|
207 |
#level: 0
|
|
208 |
#label: 'NewApplication'
|
|
209 |
#min: #(#Point 10 10)
|
|
210 |
#max: #(#Point 1280 1024)
|
|
211 |
#bounds: #(#Rectangle 216 173 516 473)
|
|
212 |
#usePreferredExtent: false
|
|
213 |
)
|
|
214 |
#component:
|
|
215 |
#(#SpecCollection
|
|
216 |
#collection:
|
|
217 |
#(
|
|
218 |
#(#DataSetSpec
|
|
219 |
#name: 'classTable'
|
|
220 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
221 |
#hasHorizontalScrollBar: true
|
|
222 |
#hasVerticalScrollBar: true
|
|
223 |
#dataList: #classList
|
|
224 |
#has3Dsepartors: false
|
|
225 |
#columnHolder: #classTableColumns
|
|
226 |
#columnAdaptor: #classTableAdaptor
|
|
227 |
)
|
|
228 |
)
|
|
229 |
)
|
|
230 |
)
|
|
231 |
!
|
|
232 |
|
1026
|
233 |
rightCanvasSpecForEditableText
|
|
234 |
"This resource specification was automatically generated
|
|
235 |
by the UIPainter of ST/X."
|
|
236 |
|
|
237 |
"Do not manually edit this!! If it is corrupted,
|
|
238 |
the UIPainter may not be able to read the specification."
|
|
239 |
|
|
240 |
"
|
|
241 |
UIPainter new openOnClass:ProjectBrowser andSelector:#emptyRightCanvasSpec
|
|
242 |
ProjectBrowser new openInterface:#emptyRightCanvasSpec
|
|
243 |
"
|
|
244 |
|
|
245 |
<resource: #canvas>
|
|
246 |
|
|
247 |
^
|
|
248 |
|
|
249 |
#(#FullSpec
|
|
250 |
#window:
|
|
251 |
#(#WindowSpec
|
|
252 |
#name: 'NewApplication'
|
|
253 |
#layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
|
|
254 |
#label: 'NewApplication'
|
|
255 |
#min: #(#Point 10 10)
|
|
256 |
#max: #(#Point 1280 1024)
|
|
257 |
#bounds: #(#Rectangle 216 173 516 473)
|
|
258 |
#usePreferredExtent: false
|
|
259 |
)
|
|
260 |
#component:
|
|
261 |
#(#SpecCollection
|
|
262 |
#collection:
|
|
263 |
#(
|
|
264 |
#(#TextEditorSpec
|
|
265 |
#name: 'TextEditor1'
|
|
266 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
267 |
#model: #rightCanvasTextHolder
|
|
268 |
#hasHorizontalScrollBar: true
|
|
269 |
#hasVerticalScrollBar: true
|
|
270 |
#miniScrollerHorizontal: true
|
|
271 |
#isReadOnly: false
|
|
272 |
)
|
|
273 |
)
|
|
274 |
)
|
|
275 |
)
|
|
276 |
!
|
|
277 |
|
1037
|
278 |
rightCanvasSpecForHTMLText
|
|
279 |
"This resource specification was automatically generated
|
|
280 |
by the UIPainter of ST/X."
|
|
281 |
|
|
282 |
"Do not manually edit this!! If it is corrupted,
|
|
283 |
the UIPainter may not be able to read the specification."
|
|
284 |
|
|
285 |
"
|
|
286 |
UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForHTMLText
|
|
287 |
ProjectBrowser new openInterface:#rightCanvasSpecForHTMLText
|
|
288 |
"
|
|
289 |
|
|
290 |
<resource: #canvas>
|
|
291 |
|
|
292 |
^
|
|
293 |
|
|
294 |
#(#FullSpec
|
|
295 |
#window:
|
|
296 |
#(#WindowSpec
|
|
297 |
#name: 'NewApplication'
|
|
298 |
#layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
|
|
299 |
#level: 0
|
|
300 |
#label: 'NewApplication'
|
|
301 |
#min: #(#Point 10 10)
|
|
302 |
#max: #(#Point 1280 1024)
|
|
303 |
#bounds: #(#Rectangle 216 173 516 473)
|
|
304 |
#usePreferredExtent: false
|
|
305 |
)
|
|
306 |
#component:
|
|
307 |
#(#SpecCollection
|
|
308 |
#collection:
|
|
309 |
#(
|
|
310 |
#(#HTMLViewSpec
|
|
311 |
#name: 'HTMLBrowser1'
|
|
312 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
313 |
#model: #htmlDocumentURLHolder
|
|
314 |
#hasHorizontalScrollBar: true
|
|
315 |
#hasVerticalScrollBar: true
|
|
316 |
)
|
|
317 |
)
|
|
318 |
)
|
|
319 |
)
|
|
320 |
!
|
|
321 |
|
1043
|
322 |
rightCanvasSpecForPatchesList
|
|
323 |
"This resource specification was automatically generated
|
|
324 |
by the UIPainter of ST/X."
|
|
325 |
|
|
326 |
"Do not manually edit this!! If it is corrupted,
|
|
327 |
the UIPainter may not be able to read the specification."
|
|
328 |
|
|
329 |
"
|
|
330 |
UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForPatchesList
|
|
331 |
ProjectBrowser new openInterface:#rightCanvasSpecForPatchesList
|
|
332 |
"
|
|
333 |
|
|
334 |
<resource: #canvas>
|
|
335 |
|
|
336 |
^
|
|
337 |
|
|
338 |
#(#FullSpec
|
|
339 |
#window:
|
|
340 |
#(#WindowSpec
|
|
341 |
#name: 'NewApplication'
|
|
342 |
#layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
|
|
343 |
#level: 0
|
|
344 |
#label: 'NewApplication'
|
|
345 |
#min: #(#Point 10 10)
|
|
346 |
#max: #(#Point 1280 1024)
|
|
347 |
#bounds: #(#Rectangle 216 173 516 473)
|
|
348 |
#usePreferredExtent: false
|
|
349 |
)
|
|
350 |
#component:
|
|
351 |
#(#SpecCollection
|
|
352 |
#collection:
|
|
353 |
#(
|
|
354 |
#(#DataSetSpec
|
|
355 |
#name: 'patchesTable'
|
|
356 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
357 |
#hasHorizontalScrollBar: true
|
|
358 |
#hasVerticalScrollBar: true
|
|
359 |
#dataList: #patchesList
|
|
360 |
#has3Dsepartors: false
|
|
361 |
#columnHolder: #patchesTableColumns
|
|
362 |
#columnAdaptor: #classTableAdaptor
|
|
363 |
)
|
|
364 |
)
|
|
365 |
)
|
|
366 |
)
|
|
367 |
!
|
|
368 |
|
1079
|
369 |
rightCanvasSpecForProperties
|
|
370 |
"This resource specification was automatically generated
|
|
371 |
by the UIPainter of ST/X."
|
|
372 |
|
|
373 |
"Do not manually edit this!! If it is corrupted,
|
|
374 |
the UIPainter may not be able to read the specification."
|
|
375 |
|
|
376 |
"
|
|
377 |
UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForProperties
|
|
378 |
ProjectBrowser new openInterface:#rightCanvasSpecForProperties
|
|
379 |
"
|
|
380 |
|
|
381 |
<resource: #canvas>
|
|
382 |
|
|
383 |
^
|
|
384 |
|
|
385 |
#(#FullSpec
|
|
386 |
#name: #rightCanvasSpecForProperties
|
|
387 |
#window:
|
|
388 |
#(#WindowSpec
|
|
389 |
#name: 'NewApplication'
|
1080
|
390 |
#layout: #(#LayoutFrame 134 0 100 0 433 0 399 0)
|
1079
|
391 |
#level: 0
|
|
392 |
#label: 'NewApplication'
|
|
393 |
#min: #(#Point 10 10)
|
|
394 |
#max: #(#Point 1280 1024)
|
1080
|
395 |
#bounds: #(#Rectangle 134 100 434 400)
|
1079
|
396 |
#usePreferredExtent: false
|
|
397 |
#returnIsOKInDialog: true
|
|
398 |
#escapeIsCancelInDialog: true
|
|
399 |
)
|
|
400 |
#component:
|
|
401 |
#(#SpecCollection
|
|
402 |
#collection:
|
|
403 |
#(
|
|
404 |
#(#HorizontalPanelViewSpec
|
|
405 |
#name: 'HorizontalPanel1'
|
|
406 |
#layout: #(#LayoutFrame 0 0 -30 1 0 1 0 1)
|
|
407 |
#component:
|
|
408 |
#(#SpecCollection
|
|
409 |
#collection:
|
|
410 |
#(
|
|
411 |
#(#ActionButtonSpec
|
|
412 |
#name: 'Button1'
|
|
413 |
#label: 'Cancel'
|
|
414 |
#translateLabel: true
|
|
415 |
#model: #cancel
|
|
416 |
#extent: #(#Point 145 22)
|
|
417 |
)
|
|
418 |
#(#ActionButtonSpec
|
|
419 |
#name: 'Button2'
|
|
420 |
#label: 'OK'
|
|
421 |
#translateLabel: true
|
|
422 |
#model: #accept
|
|
423 |
#extent: #(#Point 146 22)
|
|
424 |
)
|
|
425 |
)
|
|
426 |
)
|
|
427 |
#horizontalLayout: #fitSpace
|
|
428 |
#verticalLayout: #center
|
|
429 |
#horizontalSpace: 3
|
|
430 |
#verticalSpace: 3
|
|
431 |
)
|
|
432 |
#(#FramedBoxSpec
|
|
433 |
#name: 'FramedBox1'
|
|
434 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 93 0)
|
|
435 |
#component:
|
|
436 |
#(#SpecCollection
|
|
437 |
#collection:
|
|
438 |
#(
|
|
439 |
#(#RadioButtonSpec
|
|
440 |
#name: 'RadioButton1'
|
|
441 |
#layout: #(#LayoutFrame -1 0.0 10 0 135 0 32 0)
|
|
442 |
#label: 'Application'
|
|
443 |
#translateLabel: true
|
|
444 |
#model: #projectType
|
|
445 |
#isTriggerOnDown: true
|
|
446 |
#select: #application
|
|
447 |
)
|
|
448 |
#(#RadioButtonSpec
|
|
449 |
#name: 'RadioButton2'
|
|
450 |
#layout: #(#LayoutFrame -1 0.0 38 0 135 0 60 0)
|
|
451 |
#label: 'Class Library'
|
|
452 |
#translateLabel: true
|
|
453 |
#model: #projectType
|
|
454 |
#isTriggerOnDown: true
|
1080
|
455 |
#select: #library
|
1079
|
456 |
)
|
|
457 |
)
|
|
458 |
)
|
|
459 |
#label: 'Project Type'
|
|
460 |
#labelPosition: #topLeft
|
|
461 |
#translateLabel: true
|
|
462 |
)
|
|
463 |
#(#FramedBoxSpec
|
|
464 |
#name: 'FramedBox2'
|
|
465 |
#layout: #(#LayoutFrame 0 0.0 94 0.0 0 1.0 159 0)
|
|
466 |
#component:
|
|
467 |
#(#SpecCollection
|
|
468 |
#collection:
|
|
469 |
#(
|
|
470 |
#(#InputFieldSpec
|
|
471 |
#name: 'EntryField1'
|
|
472 |
#layout: #(#LayoutFrame 0 0.0 4 0 0 1.0 26 0)
|
1080
|
473 |
#enableChannel: #currentProjectWasNotLoadedFromFile
|
1079
|
474 |
#model: #projectDirectory
|
|
475 |
)
|
|
476 |
)
|
|
477 |
)
|
|
478 |
#label: 'Directory'
|
|
479 |
#labelPosition: #topLeft
|
|
480 |
#translateLabel: true
|
|
481 |
)
|
|
482 |
)
|
|
483 |
)
|
|
484 |
)
|
1080
|
485 |
|
|
486 |
"Modified: / 23.3.1999 / 14:20:32 / cg"
|
1079
|
487 |
!
|
|
488 |
|
1026
|
489 |
rightCanvasSpecForReadOnlyText
|
|
490 |
"This resource specification was automatically generated
|
|
491 |
by the UIPainter of ST/X."
|
|
492 |
|
|
493 |
"Do not manually edit this!! If it is corrupted,
|
|
494 |
the UIPainter may not be able to read the specification."
|
|
495 |
|
|
496 |
"
|
|
497 |
UIPainter new openOnClass:ProjectBrowser andSelector:#emptyRightCanvasSpec
|
|
498 |
ProjectBrowser new openInterface:#emptyRightCanvasSpec
|
|
499 |
"
|
|
500 |
|
|
501 |
<resource: #canvas>
|
|
502 |
|
|
503 |
^
|
|
504 |
|
|
505 |
#(#FullSpec
|
|
506 |
#window:
|
|
507 |
#(#WindowSpec
|
|
508 |
#name: 'NewApplication'
|
|
509 |
#layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
|
|
510 |
#label: 'NewApplication'
|
|
511 |
#min: #(#Point 10 10)
|
|
512 |
#max: #(#Point 1280 1024)
|
|
513 |
#bounds: #(#Rectangle 216 173 516 473)
|
|
514 |
#usePreferredExtent: false
|
|
515 |
)
|
|
516 |
#component:
|
|
517 |
#(#SpecCollection
|
|
518 |
#collection:
|
|
519 |
#(
|
|
520 |
#(#TextEditorSpec
|
|
521 |
#name: 'TextEditor1'
|
|
522 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
523 |
#model: #rightCanvasTextHolder
|
|
524 |
#hasHorizontalScrollBar: true
|
|
525 |
#hasVerticalScrollBar: true
|
|
526 |
#miniScrollerHorizontal: true
|
|
527 |
#isReadOnly: true
|
|
528 |
)
|
|
529 |
)
|
|
530 |
)
|
|
531 |
)
|
|
532 |
!
|
|
533 |
|
1025
|
534 |
windowSpec
|
|
535 |
"This resource specification was automatically generated
|
|
536 |
by the UIPainter of ST/X."
|
|
537 |
|
|
538 |
"Do not manually edit this!! If it is corrupted,
|
|
539 |
the UIPainter may not be able to read the specification."
|
|
540 |
|
|
541 |
"
|
|
542 |
UIPainter new openOnClass:ProjectBrowser andSelector:#windowSpec
|
|
543 |
ProjectBrowser new openInterface:#windowSpec
|
|
544 |
ProjectBrowser open
|
|
545 |
"
|
|
546 |
|
|
547 |
<resource: #canvas>
|
|
548 |
|
|
549 |
^
|
|
550 |
|
|
551 |
#(#FullSpec
|
|
552 |
#window:
|
|
553 |
#(#WindowSpec
|
|
554 |
#name: 'ProjectBrowser'
|
1026
|
555 |
#layout: #(#LayoutFrame 216 0 173 0 779 0 495 0)
|
1037
|
556 |
#level: 0
|
1025
|
557 |
#label: 'ProjectBrowser'
|
|
558 |
#min: #(#Point 10 10)
|
|
559 |
#max: #(#Point 1024 768)
|
1026
|
560 |
#bounds: #(#Rectangle 216 173 780 496)
|
1025
|
561 |
#menu: #mainMenu
|
|
562 |
#usePreferredExtent: false
|
|
563 |
)
|
|
564 |
#component:
|
|
565 |
#(#SpecCollection
|
|
566 |
#collection:
|
|
567 |
#(
|
|
568 |
#(#MenuPanelSpec
|
|
569 |
#name: 'ToolBar1'
|
|
570 |
#layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0)
|
|
571 |
#menu: #menu
|
|
572 |
#textDefault: true
|
|
573 |
)
|
|
574 |
#(#VariableHorizontalPanelSpec
|
|
575 |
#name: 'VariableHorizontalPanel1'
|
1037
|
576 |
#layout: #(#LayoutFrame 0 0.0 40 0.0 0 1.0 -24 1.0)
|
1025
|
577 |
#component:
|
|
578 |
#(#SpecCollection
|
|
579 |
#collection:
|
|
580 |
#(
|
|
581 |
#(#SelectionInTreeViewSpec
|
|
582 |
#name: 'TreeList1'
|
|
583 |
#model: #selectedTreeNode
|
1026
|
584 |
#menu: #itemMenuHolder
|
1037
|
585 |
#performer: #itemMenuPerformer
|
1025
|
586 |
#hasHorizontalScrollBar: true
|
|
587 |
#hasVerticalScrollBar: true
|
|
588 |
#miniScrollerHorizontal: true
|
|
589 |
#showRoot: false
|
|
590 |
#showDirectoryIndicatorForRoot: false
|
|
591 |
#showDirectoryIndicator: true
|
|
592 |
#valueChangeSelector: #itemSelected:
|
|
593 |
#hierarchicalList: #projectTreeHolder
|
|
594 |
#highlightMode: #label
|
|
595 |
)
|
|
596 |
#(#SubCanvasSpec
|
|
597 |
#name: 'SubCanvas1'
|
|
598 |
#hasHorizontalScrollBar: false
|
|
599 |
#hasVerticalScrollBar: false
|
|
600 |
#specHolder: #currentCanvasHolder
|
|
601 |
)
|
|
602 |
)
|
|
603 |
)
|
1026
|
604 |
#handles: #(#Any 0.379433 1.0)
|
1025
|
605 |
)
|
1037
|
606 |
#(#UISubSpecification
|
|
607 |
#name: 'infoBarSubSpec'
|
|
608 |
#layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
|
|
609 |
#majorKey: #ToolApplicationModel
|
|
610 |
#minorKey: #windowSpecForInfoBar
|
|
611 |
)
|
1025
|
612 |
)
|
|
613 |
)
|
|
614 |
)
|
|
615 |
! !
|
|
616 |
|
|
617 |
!ProjectBrowser class methodsFor:'menu specs'!
|
|
618 |
|
1052
|
619 |
classesItemMenu
|
|
620 |
"This resource specification was automatically generated
|
|
621 |
by the MenuEditor of ST/X."
|
|
622 |
|
|
623 |
"Do not manually edit this!! If it is corrupted,
|
|
624 |
the MenuEditor may not be able to read the specification."
|
|
625 |
|
|
626 |
"
|
|
627 |
MenuEditor new openOnClass:ProjectBrowser andSelector:#classesItemMenu
|
|
628 |
(Menu new fromLiteralArrayEncoding:(ProjectBrowser classesItemMenu)) startUp
|
|
629 |
"
|
|
630 |
|
|
631 |
<resource: #menu>
|
|
632 |
|
|
633 |
^
|
|
634 |
|
|
635 |
#(#Menu
|
|
636 |
|
|
637 |
#(
|
|
638 |
#(#MenuItem
|
|
639 |
#label: 'Add Class...'
|
|
640 |
#translateLabel: true
|
|
641 |
#value: #addClass
|
|
642 |
#enabled: #hasClassesSelectedHolder
|
|
643 |
)
|
|
644 |
#(#MenuItem
|
|
645 |
#label: '-'
|
|
646 |
)
|
|
647 |
#(#MenuItem
|
|
648 |
#label: 'Browse...'
|
|
649 |
#translateLabel: true
|
|
650 |
#value: #browseClasses
|
|
651 |
#enabled: #hasClassesSelectedHolder
|
|
652 |
)
|
|
653 |
) nil
|
|
654 |
nil
|
|
655 |
)
|
|
656 |
!
|
|
657 |
|
1025
|
658 |
mainMenu
|
|
659 |
"This resource specification was automatically generated
|
|
660 |
by the MenuEditor of ST/X."
|
|
661 |
|
|
662 |
"Do not manually edit this!! If it is corrupted,
|
|
663 |
the MenuEditor may not be able to read the specification."
|
|
664 |
|
|
665 |
"
|
|
666 |
MenuEditor new openOnClass:ProjectBrowser andSelector:#mainMenu
|
|
667 |
(Menu new fromLiteralArrayEncoding:(ProjectBrowser mainMenu)) startUp
|
|
668 |
"
|
|
669 |
|
|
670 |
<resource: #menu>
|
|
671 |
|
|
672 |
^
|
|
673 |
|
|
674 |
#(#Menu
|
|
675 |
|
|
676 |
#(
|
|
677 |
#(#MenuItem
|
|
678 |
#label: 'File'
|
|
679 |
#translateLabel: true
|
|
680 |
#submenu:
|
|
681 |
#(#Menu
|
|
682 |
|
|
683 |
#(
|
|
684 |
#(#MenuItem
|
1079
|
685 |
#label: 'Load From...'
|
1025
|
686 |
#translateLabel: true
|
|
687 |
#value: #openProject
|
|
688 |
)
|
|
689 |
#(#MenuItem
|
|
690 |
#label: '-'
|
|
691 |
)
|
|
692 |
#(#MenuItem
|
|
693 |
#label: 'Save'
|
|
694 |
#translateLabel: true
|
|
695 |
#value: #saveProject
|
1026
|
696 |
#enabled: #hasProjectSelectedHolder
|
1025
|
697 |
)
|
|
698 |
#(#MenuItem
|
|
699 |
#label: 'Save As...'
|
|
700 |
#translateLabel: true
|
|
701 |
#value: #saveProjectAs
|
1026
|
702 |
#enabled: #hasProjectSelectedHolder
|
1025
|
703 |
)
|
|
704 |
#(#MenuItem
|
|
705 |
#label: '-'
|
|
706 |
)
|
|
707 |
#(#MenuItem
|
|
708 |
#label: 'Exit'
|
|
709 |
#translateLabel: true
|
|
710 |
#value: #closeRequest
|
|
711 |
)
|
|
712 |
) nil
|
|
713 |
nil
|
|
714 |
)
|
|
715 |
)
|
|
716 |
#(#MenuItem
|
1026
|
717 |
#label: 'Project'
|
|
718 |
#translateLabel: true
|
|
719 |
#submenuChannel: #projectItemMenu
|
|
720 |
)
|
|
721 |
#(#MenuItem
|
1025
|
722 |
#label: 'Help'
|
|
723 |
#translateLabel: true
|
|
724 |
#startGroup: #right
|
|
725 |
#submenu:
|
|
726 |
#(#Menu
|
|
727 |
|
|
728 |
#(
|
|
729 |
#(#MenuItem
|
|
730 |
#label: 'Documentation'
|
|
731 |
#translateLabel: true
|
|
732 |
#value: #openDocumentation
|
|
733 |
)
|
|
734 |
#(#MenuItem
|
|
735 |
#label: '-'
|
|
736 |
)
|
|
737 |
#(#MenuItem
|
|
738 |
#label: 'About this Application'
|
|
739 |
#translateLabel: true
|
|
740 |
#value: #openAboutThisApplication
|
|
741 |
)
|
|
742 |
) nil
|
|
743 |
nil
|
|
744 |
)
|
|
745 |
)
|
|
746 |
) nil
|
|
747 |
nil
|
|
748 |
)
|
|
749 |
!
|
|
750 |
|
|
751 |
menu
|
|
752 |
"This resource specification was automatically generated
|
|
753 |
by the MenuEditor of ST/X."
|
|
754 |
|
|
755 |
"Do not manually edit this!! If it is corrupted,
|
|
756 |
the MenuEditor may not be able to read the specification."
|
|
757 |
|
|
758 |
"
|
|
759 |
MenuEditor new openOnClass:ProjectBrowser andSelector:#menu
|
|
760 |
(Menu new fromLiteralArrayEncoding:(ProjectBrowser menu)) startUp
|
|
761 |
"
|
|
762 |
|
|
763 |
<resource: #menu>
|
|
764 |
|
|
765 |
^
|
|
766 |
|
|
767 |
#(#Menu
|
|
768 |
|
|
769 |
#(
|
|
770 |
#(#MenuItem
|
|
771 |
#label: 'New...'
|
|
772 |
#translateLabel: true
|
|
773 |
#isButton: true
|
|
774 |
#value: #newProject
|
|
775 |
#labelImage: #(#ResourceRetriever #Icon #newIcon)
|
|
776 |
)
|
|
777 |
#(#MenuItem
|
|
778 |
#label: 'Open...'
|
|
779 |
#translateLabel: true
|
|
780 |
#isButton: true
|
|
781 |
#value: #openProject
|
|
782 |
#labelImage: #(#ResourceRetriever #Icon #loadIcon)
|
|
783 |
)
|
|
784 |
#(#MenuItem
|
|
785 |
#label: 'SaveAs...'
|
|
786 |
#translateLabel: true
|
|
787 |
#isButton: true
|
|
788 |
#value: #saveProject
|
|
789 |
#labelImage: #(#ResourceRetriever #Icon #saveIcon)
|
|
790 |
)
|
|
791 |
) nil
|
|
792 |
nil
|
|
793 |
)
|
1026
|
794 |
!
|
|
795 |
|
1079
|
796 |
noItemMenu
|
|
797 |
"This resource specification was automatically generated
|
|
798 |
by the MenuEditor of ST/X."
|
|
799 |
|
|
800 |
"Do not manually edit this!! If it is corrupted,
|
|
801 |
the MenuEditor may not be able to read the specification."
|
|
802 |
|
|
803 |
"
|
|
804 |
MenuEditor new openOnClass:ProjectBrowser andSelector:#projectItemMenu
|
|
805 |
(Menu new fromLiteralArrayEncoding:(ProjectBrowser projectItemMenu)) startUp
|
|
806 |
"
|
|
807 |
|
|
808 |
<resource: #menu>
|
|
809 |
|
|
810 |
^
|
|
811 |
|
|
812 |
#(#Menu
|
|
813 |
|
|
814 |
#(
|
|
815 |
#(#MenuItem
|
|
816 |
#label: 'New Project'
|
|
817 |
#translateLabel: true
|
|
818 |
#value: #newProject
|
|
819 |
)
|
|
820 |
) nil
|
|
821 |
nil
|
|
822 |
)
|
|
823 |
!
|
|
824 |
|
1026
|
825 |
projectItemMenu
|
|
826 |
"This resource specification was automatically generated
|
|
827 |
by the MenuEditor of ST/X."
|
|
828 |
|
|
829 |
"Do not manually edit this!! If it is corrupted,
|
|
830 |
the MenuEditor may not be able to read the specification."
|
|
831 |
|
|
832 |
"
|
|
833 |
MenuEditor new openOnClass:ProjectBrowser andSelector:#projectItemMenu
|
|
834 |
(Menu new fromLiteralArrayEncoding:(ProjectBrowser projectItemMenu)) startUp
|
|
835 |
"
|
|
836 |
|
|
837 |
<resource: #menu>
|
|
838 |
|
|
839 |
^
|
|
840 |
|
|
841 |
#(#Menu
|
|
842 |
|
|
843 |
#(
|
|
844 |
#(#MenuItem
|
1079
|
845 |
#label: 'Make Current'
|
1026
|
846 |
#translateLabel: true
|
1079
|
847 |
#value: #makeCurrentProject
|
1026
|
848 |
#enabled: #hasProjectSelectedHolder
|
|
849 |
)
|
|
850 |
#(#MenuItem
|
|
851 |
#label: '-'
|
|
852 |
)
|
|
853 |
#(#MenuItem
|
1079
|
854 |
#label: 'New Project'
|
|
855 |
#translateLabel: true
|
|
856 |
#value: #newProject
|
|
857 |
)
|
|
858 |
#(#MenuItem
|
1026
|
859 |
#label: 'New SubProject'
|
|
860 |
#translateLabel: true
|
|
861 |
#value: #newSubProject
|
|
862 |
#enabled: #hasProjectSelectedHolder
|
|
863 |
)
|
|
864 |
#(#MenuItem
|
|
865 |
#label: '-'
|
|
866 |
)
|
|
867 |
#(#MenuItem
|
1079
|
868 |
#label: 'Rename...'
|
|
869 |
#translateLabel: true
|
|
870 |
#value: #renameProject
|
|
871 |
#enabled: #hasProjectSelectedHolder
|
|
872 |
)
|
|
873 |
#(#MenuItem
|
|
874 |
#label: '-'
|
|
875 |
)
|
|
876 |
#(#MenuItem
|
1026
|
877 |
#label: 'Remove...'
|
|
878 |
#translateLabel: true
|
|
879 |
#value: #removeProject
|
|
880 |
#enabled: #hasProjectSelectedHolder
|
|
881 |
)
|
|
882 |
) nil
|
|
883 |
nil
|
|
884 |
)
|
1037
|
885 |
!
|
|
886 |
|
|
887 |
subProjectsItemMenu
|
|
888 |
"This resource specification was automatically generated
|
|
889 |
by the MenuEditor of ST/X."
|
|
890 |
|
|
891 |
"Do not manually edit this!! If it is corrupted,
|
|
892 |
the MenuEditor may not be able to read the specification."
|
|
893 |
|
|
894 |
"
|
|
895 |
MenuEditor new openOnClass:ProjectBrowser andSelector:#subProjectsItemMenu
|
|
896 |
(Menu new fromLiteralArrayEncoding:(ProjectBrowser subProjectsItemMenu)) startUp
|
|
897 |
"
|
|
898 |
|
|
899 |
<resource: #menu>
|
|
900 |
|
|
901 |
^
|
|
902 |
|
|
903 |
#(#Menu
|
|
904 |
|
|
905 |
#(
|
|
906 |
#(#MenuItem
|
|
907 |
#label: 'New SubProject'
|
|
908 |
#translateLabel: true
|
|
909 |
#value: #newSubProject
|
|
910 |
#enabled: #hasSubProjectsSelectedHolder
|
|
911 |
)
|
|
912 |
) nil
|
|
913 |
nil
|
|
914 |
)
|
|
915 |
! !
|
|
916 |
|
|
917 |
!ProjectBrowser class methodsFor:'tableColumns specs'!
|
|
918 |
|
|
919 |
classTableColumns
|
|
920 |
"This resource specification was automatically generated
|
|
921 |
by the DataSetBuilder of ST/X."
|
|
922 |
|
|
923 |
"Do not manually edit this!! If it is corrupted,
|
|
924 |
the DataSetBuilder may not be able to read the specification."
|
|
925 |
|
|
926 |
"
|
|
927 |
DataSetBuilder new openOnClass:ProjectBrowser andSelector:#classTableColumns
|
|
928 |
"
|
|
929 |
|
|
930 |
<resource: #tableColumns>
|
|
931 |
|
|
932 |
|
|
933 |
^ #(
|
|
934 |
#(#DataSetColumnSpec
|
|
935 |
#label: 'Class'
|
|
936 |
#id: 'classColumn'
|
|
937 |
#labelAlignment: #left
|
|
938 |
#model: #classNameFromClassInfo:
|
|
939 |
)
|
|
940 |
#(#DataSetColumnSpec
|
|
941 |
#label: 'Included'
|
|
942 |
#id: 'inclusion'
|
|
943 |
#columnAlignment: #center
|
|
944 |
#width: 100
|
|
945 |
#editorType: #ComboList
|
|
946 |
#model: #classIncludeConditionFromClassInfo:
|
|
947 |
)
|
|
948 |
#(#DataSetColumnSpec
|
|
949 |
#label: 'Filename'
|
|
950 |
#labelAlignment: #left
|
|
951 |
#minWidth: 200
|
|
952 |
#model: #classFilenameFromClassInfo:
|
|
953 |
)
|
|
954 |
)
|
1043
|
955 |
!
|
|
956 |
|
|
957 |
patchesTableColumns
|
|
958 |
"This resource specification was automatically generated
|
|
959 |
by the DataSetBuilder of ST/X."
|
|
960 |
|
|
961 |
"Do not manually edit this!! If it is corrupted,
|
|
962 |
the DataSetBuilder may not be able to read the specification."
|
|
963 |
|
|
964 |
"
|
|
965 |
DataSetBuilder new openOnClass:ProjectBrowser andSelector:#patchesTableColumns
|
|
966 |
"
|
|
967 |
|
|
968 |
<resource: #tableColumns>
|
|
969 |
|
|
970 |
|
|
971 |
^ #(
|
|
972 |
#(#DataSetColumnSpec
|
|
973 |
#label: 'Class'
|
|
974 |
#id: 'classColumn'
|
|
975 |
#labelAlignment: #left
|
|
976 |
#model: #classNameFromPatchesInfo:
|
|
977 |
)
|
|
978 |
#(#DataSetColumnSpec
|
|
979 |
#label: 'Selector'
|
|
980 |
#id: 'selectorColumn'
|
|
981 |
#labelAlignment: #left
|
|
982 |
#model: #selectorFromPatchesInfo:
|
|
983 |
)
|
|
984 |
)
|
1025
|
985 |
! !
|
|
986 |
|
|
987 |
!ProjectBrowser methodsFor:'aspects'!
|
|
988 |
|
1037
|
989 |
classList
|
|
990 |
"automatically generated by UIPainter ..."
|
|
991 |
|
|
992 |
"*** the code below creates a default model when invoked."
|
|
993 |
"*** (which may not be the one you wanted)"
|
|
994 |
"*** Please change as required and accept in the browser."
|
|
995 |
|
|
996 |
|holder|
|
|
997 |
|
|
998 |
(holder := builder bindingAt:#classList) isNil ifTrue:[
|
|
999 |
builder aspectAt:#classList put:(holder := List new).
|
|
1000 |
].
|
|
1001 |
^ holder.
|
|
1002 |
!
|
|
1003 |
|
|
1004 |
classTableAdaptor
|
|
1005 |
^ self
|
|
1006 |
!
|
|
1007 |
|
|
1008 |
classTableColumns
|
1038
|
1009 |
^ self class classTableColumns
|
1037
|
1010 |
!
|
|
1011 |
|
1025
|
1012 |
currentCanvasHolder
|
|
1013 |
"automatically generated by UIPainter ..."
|
|
1014 |
|
|
1015 |
"*** the code below creates a default model when invoked."
|
|
1016 |
"*** (which may not be the one you wanted)"
|
|
1017 |
"*** Please change as required and accept in the browser."
|
|
1018 |
|
|
1019 |
|holder|
|
|
1020 |
|
|
1021 |
(holder := builder bindingAt:#currentCanvasHolder) isNil ifTrue:[
|
|
1022 |
builder aspectAt:#currentCanvasHolder put:(holder := ValueHolder new).
|
|
1023 |
].
|
|
1024 |
^ holder.
|
|
1025 |
!
|
|
1026 |
|
1080
|
1027 |
currentProjectWasNotLoadedFromFile
|
|
1028 |
"automatically generated by UIPainter ..."
|
|
1029 |
|
|
1030 |
"*** the code below creates a default model when invoked."
|
|
1031 |
"*** (which may not be the one you wanted)"
|
|
1032 |
"*** Please change as required and accept in the browser."
|
|
1033 |
|
|
1034 |
|holder|
|
|
1035 |
|
|
1036 |
(holder := builder bindingAt:#currentProjectWasNotLoadedFromFile) isNil ifTrue:[
|
|
1037 |
builder aspectAt:#currentProjectWasNotLoadedFromFile put:(holder := ValueHolder new).
|
|
1038 |
].
|
|
1039 |
^ holder.
|
|
1040 |
|
|
1041 |
"Created: / 23.3.1999 / 14:01:09 / cg"
|
|
1042 |
!
|
|
1043 |
|
1026
|
1044 |
hasProjectSelectedHolder
|
|
1045 |
^ [
|
|
1046 |
self hasProjectNodeSelected
|
|
1047 |
]
|
|
1048 |
!
|
|
1049 |
|
1037
|
1050 |
hasSubProjectsSelectedHolder
|
|
1051 |
^ [
|
|
1052 |
self hasSubProjectsNodeSelected
|
|
1053 |
]
|
|
1054 |
!
|
|
1055 |
|
|
1056 |
htmlDocumentURLHolder
|
|
1057 |
"automatically generated by UIPainter ..."
|
|
1058 |
|
|
1059 |
"*** the code below creates a default model when invoked."
|
|
1060 |
"*** (which may not be the one you wanted)"
|
|
1061 |
"*** Please change as required and accept in the browser."
|
|
1062 |
|
|
1063 |
|holder|
|
|
1064 |
|
|
1065 |
(holder := builder bindingAt:#htmlDocumentURLHolder) isNil ifTrue:[
|
|
1066 |
builder aspectAt:#htmlDocumentURLHolder put:(holder := ValueHolder new).
|
|
1067 |
].
|
|
1068 |
^ holder.
|
|
1069 |
!
|
|
1070 |
|
1043
|
1071 |
patchesList
|
|
1072 |
"automatically generated by UIPainter ..."
|
|
1073 |
|
|
1074 |
"*** the code below creates a default model when invoked."
|
|
1075 |
"*** (which may not be the one you wanted)"
|
|
1076 |
"*** Please change as required and accept in the browser."
|
|
1077 |
|
|
1078 |
|holder|
|
|
1079 |
|
|
1080 |
(holder := builder bindingAt:#patchesList) isNil ifTrue:[
|
|
1081 |
builder aspectAt:#patchesList put:(holder := List new).
|
|
1082 |
].
|
|
1083 |
^ holder.
|
|
1084 |
!
|
|
1085 |
|
1025
|
1086 |
projectTreeHolder
|
|
1087 |
"automatically generated by UIPainter ..."
|
|
1088 |
|
|
1089 |
"*** the code below creates a default model when invoked."
|
|
1090 |
"*** (which may not be the one you wanted)"
|
|
1091 |
"*** Please change as required and accept in the browser."
|
|
1092 |
|
|
1093 |
|holder|
|
|
1094 |
|
|
1095 |
(holder := builder bindingAt:#projectTree) isNil ifTrue:[
|
|
1096 |
builder aspectAt:#projectTree put:(holder := SelectionInTree new).
|
|
1097 |
holder root:self projectTree.
|
|
1098 |
].
|
|
1099 |
^ holder.
|
|
1100 |
!
|
|
1101 |
|
1080
|
1102 |
projectType
|
|
1103 |
"automatically generated by UIPainter ..."
|
|
1104 |
|
|
1105 |
"*** the code below creates a default model when invoked."
|
|
1106 |
"*** (which may not be the one you wanted)"
|
|
1107 |
"*** Please change as required and accept in the browser."
|
|
1108 |
|
|
1109 |
|holder|
|
|
1110 |
|
|
1111 |
(holder := builder bindingAt:#projectType) isNil ifTrue:[
|
|
1112 |
builder aspectAt:#projectType put:(holder := ValueHolder new).
|
|
1113 |
].
|
|
1114 |
^ holder.
|
|
1115 |
|
|
1116 |
"Created: / 23.3.1999 / 14:18:05 / cg"
|
|
1117 |
!
|
|
1118 |
|
1025
|
1119 |
rightCanvasTextHolder
|
|
1120 |
"automatically generated by UIPainter ..."
|
|
1121 |
|
|
1122 |
"*** the code below creates a default model when invoked."
|
|
1123 |
"*** (which may not be the one you wanted)"
|
|
1124 |
"*** Please change as required and accept in the browser."
|
|
1125 |
|
|
1126 |
|holder|
|
|
1127 |
|
|
1128 |
(holder := builder bindingAt:#rightCanvasTextHolder) isNil ifTrue:[
|
|
1129 |
builder aspectAt:#rightCanvasTextHolder put:(holder := ValueHolder new).
|
|
1130 |
].
|
|
1131 |
^ holder.
|
|
1132 |
!
|
|
1133 |
|
|
1134 |
selectedTreeNode
|
|
1135 |
"automatically generated by UIPainter ..."
|
|
1136 |
|
|
1137 |
"*** the code below creates a default model when invoked."
|
|
1138 |
"*** (which may not be the one you wanted)"
|
|
1139 |
"*** Please change as required and accept in the browser."
|
|
1140 |
|
|
1141 |
|holder|
|
|
1142 |
|
|
1143 |
(holder := builder bindingAt:#selectedTreeNode) isNil ifTrue:[
|
|
1144 |
builder aspectAt:#selectedTreeNode put:(holder := ValueHolder new).
|
|
1145 |
].
|
|
1146 |
^ holder.
|
|
1147 |
! !
|
|
1148 |
|
|
1149 |
!ProjectBrowser methodsFor:'initialization'!
|
|
1150 |
|
|
1151 |
postBuildWith:aBuiler
|
1026
|
1152 |
self setupCanvasForNoSelection.
|
|
1153 |
^ super postBuildWith:aBuiler
|
1025
|
1154 |
!
|
|
1155 |
|
|
1156 |
setupCanvasForNoSelection
|
1079
|
1157 |
self
|
|
1158 |
showReadOnlyText:'Please select an existing project,
|
|
1159 |
load one from a (''.prj'')-file,
|
1025
|
1160 |
or create a new project.'.
|
|
1161 |
! !
|
|
1162 |
|
1026
|
1163 |
!ProjectBrowser methodsFor:'menus'!
|
|
1164 |
|
|
1165 |
itemMenu
|
1052
|
1166 |
|m|
|
|
1167 |
|
1026
|
1168 |
self hasProjectNodeSelected ifTrue:[
|
|
1169 |
^ self class projectItemMenu
|
|
1170 |
].
|
1037
|
1171 |
self hasSubProjectsNodeSelected ifTrue:[
|
|
1172 |
^ self class subProjectsItemMenu
|
|
1173 |
].
|
1052
|
1174 |
self hasClassesNodeSelected ifTrue:[
|
|
1175 |
^ self class classesItemMenu
|
|
1176 |
].
|
1079
|
1177 |
^ self class noItemMenu
|
1026
|
1178 |
!
|
|
1179 |
|
|
1180 |
itemMenuHolder
|
|
1181 |
^ [ self itemMenu]
|
1037
|
1182 |
!
|
|
1183 |
|
|
1184 |
itemMenuPerformer
|
|
1185 |
^ self
|
1026
|
1186 |
! !
|
|
1187 |
|
1025
|
1188 |
!ProjectBrowser methodsFor:'private'!
|
|
1189 |
|
1052
|
1190 |
hasClassesNodeSelected
|
|
1191 |
|selectedNode|
|
|
1192 |
|
|
1193 |
selectedNode := self selectedTreeNode value.
|
|
1194 |
selectedNode isNil ifTrue:[^ false].
|
|
1195 |
|
|
1196 |
^ selectedNode contents == #classes
|
|
1197 |
|
|
1198 |
!
|
|
1199 |
|
1026
|
1200 |
hasProjectNodeSelected
|
|
1201 |
|selectedNode|
|
|
1202 |
|
|
1203 |
selectedNode := self selectedTreeNode value.
|
|
1204 |
selectedNode isNil ifTrue:[^ false].
|
|
1205 |
|
|
1206 |
^ selectedNode isProjectNode
|
|
1207 |
|
|
1208 |
!
|
|
1209 |
|
1037
|
1210 |
hasSubProjectsNodeSelected
|
|
1211 |
|selectedNode|
|
|
1212 |
|
|
1213 |
selectedNode := self selectedTreeNode value.
|
|
1214 |
selectedNode isNil ifTrue:[^ false].
|
|
1215 |
|
|
1216 |
^ selectedNode contents == #subprojects
|
|
1217 |
|
|
1218 |
!
|
|
1219 |
|
1025
|
1220 |
nodeFor:aProject
|
1026
|
1221 |
"generate and return a treeNode for some project"
|
|
1222 |
|
1025
|
1223 |
|projectName pNode
|
1043
|
1224 |
propertiesNode docNode classesNode patchesNode subprojectsNode filesNode
|
|
1225 |
commentNode prerequisitesNode analysisNode designNode codeNode
|
1079
|
1226 |
userDocNode userOverViewNode userGuideNode userRefManNode
|
|
1227 |
deploymentNode|
|
1025
|
1228 |
|
|
1229 |
projectName := aProject name.
|
1026
|
1230 |
pNode := ProjectNode name:projectName.
|
1025
|
1231 |
pNode contents:aProject.
|
|
1232 |
|
|
1233 |
pNode add:(commentNode := ProjectTreeItem name:'Comment').
|
1079
|
1234 |
"/ pNode add:(docNode := ProjectTreeItem name:'Documentation').
|
1025
|
1235 |
pNode add:(propertiesNode := ProjectTreeItem name:'Properties').
|
1026
|
1236 |
pNode add:(prerequisitesNode := ProjectTreeItem name:'Prerequisites').
|
1079
|
1237 |
"/ pNode add:(subprojectsNode := ProjectTreeItem name:'SubProjects').
|
1043
|
1238 |
pNode add:(classesNode := ProjectTreeItem name:'Classes').
|
|
1239 |
pNode add:(patchesNode := ProjectTreeItem name:'Patches').
|
1025
|
1240 |
pNode add:(filesNode := ProjectTreeItem name:'Files').
|
1079
|
1241 |
pNode add:(deploymentNode := ProjectTreeItem name:'Deployment').
|
1025
|
1242 |
|
1079
|
1243 |
subprojectsNode notNil ifTrue:[
|
|
1244 |
subprojectsNode contents:#subprojects.
|
|
1245 |
aProject subProjects do:[:aSubProject |
|
|
1246 |
subprojectsNode add:(self nodeFor:aSubProject)
|
|
1247 |
].
|
1025
|
1248 |
].
|
|
1249 |
|
1079
|
1250 |
commentNode icon:(self class commentIcon).
|
1025
|
1251 |
commentNode action:[:item | self showCommentOf:item].
|
1026
|
1252 |
commentNode contents:#comment.
|
|
1253 |
|
1079
|
1254 |
docNode notNil ifTrue:[
|
|
1255 |
docNode contents:#documentation.
|
|
1256 |
docNode action:[:item | self showDocumentationFor:item].
|
1037
|
1257 |
|
1079
|
1258 |
docNode add:(analysisNode := ProjectTreeItem name:'Analysis').
|
|
1259 |
docNode add:(designNode := ProjectTreeItem name:'Design').
|
|
1260 |
docNode add:(codeNode := ProjectTreeItem name:'Code').
|
|
1261 |
docNode add:(userDocNode := ProjectTreeItem name:'User Documentation').
|
|
1262 |
userDocNode add:(userOverViewNode := ProjectTreeItem name:'Overview').
|
|
1263 |
userDocNode add:(userGuideNode := ProjectTreeItem name:'Guide').
|
|
1264 |
userDocNode add:(userRefManNode := ProjectTreeItem name:'Reference').
|
|
1265 |
docNode add:(userDocNode := ProjectTreeItem name:'Error Reports').
|
|
1266 |
docNode add:(userDocNode := ProjectTreeItem name:'Other').
|
|
1267 |
].
|
1043
|
1268 |
|
|
1269 |
prerequisitesNode contents:#prerequisites.
|
1080
|
1270 |
prerequisitesNode icon:(self class prerequisitesIcon).
|
1043
|
1271 |
|
1037
|
1272 |
classesNode contents:#classes.
|
1079
|
1273 |
classesNode icon:(self class classesIcon).
|
1043
|
1274 |
((aProject classes ? #()) copy sort:[:a :b | a name < b name])
|
|
1275 |
do:[:aClass |
|
|
1276 |
|cNode|
|
|
1277 |
|
|
1278 |
cNode := ProjectTreeItem name:aClass name.
|
|
1279 |
classesNode add:cNode.
|
|
1280 |
].
|
1026
|
1281 |
|
|
1282 |
propertiesNode contents:#properties.
|
1079
|
1283 |
propertiesNode spec:(self class rightCanvasSpecForProperties).
|
1026
|
1284 |
|
|
1285 |
filesNode contents:#files.
|
1079
|
1286 |
filesNode icon:(self class filesIcon).
|
1025
|
1287 |
|
1043
|
1288 |
patchesNode contents:#patches.
|
1079
|
1289 |
patchesNode icon:(self class methodsIcon).
|
|
1290 |
|
|
1291 |
deploymentNode icon:(self class deploymentIcon).
|
1043
|
1292 |
|
1025
|
1293 |
^ pNode
|
1026
|
1294 |
|
1080
|
1295 |
"Modified: / 23.3.1999 / 14:27:30 / cg"
|
1025
|
1296 |
!
|
|
1297 |
|
|
1298 |
projectTree
|
|
1299 |
|tree root|
|
|
1300 |
|
1026
|
1301 |
projectTree isNil ifTrue:[
|
|
1302 |
tree := SelectionInTree new.
|
|
1303 |
tree root:(root := TreeItem name:'invisibleRoot').
|
1025
|
1304 |
|
1026
|
1305 |
Project knownProjects do:[:aProject |
|
|
1306 |
root add:(self nodeFor:aProject).
|
|
1307 |
].
|
|
1308 |
projectTree := root.
|
1025
|
1309 |
].
|
|
1310 |
|
1026
|
1311 |
^ projectTree
|
1025
|
1312 |
!
|
|
1313 |
|
1080
|
1314 |
readAspectsForProject
|
|
1315 |
|p selectedNode|
|
|
1316 |
|
|
1317 |
self hasProjectNodeSelected ifTrue:[
|
|
1318 |
selectedNode := self selectedTreeNode value.
|
|
1319 |
|
|
1320 |
p := selectedNode contents.
|
|
1321 |
|
|
1322 |
self currentProjectWasNotLoadedFromFile value:p wasLoadedFromFile not.
|
|
1323 |
self projectType value:(p type).
|
|
1324 |
].
|
|
1325 |
|
|
1326 |
"Created: / 23.3.1999 / 14:16:12 / cg"
|
|
1327 |
"Modified: / 23.3.1999 / 14:18:38 / cg"
|
|
1328 |
!
|
|
1329 |
|
1025
|
1330 |
updateRightCanvas
|
1079
|
1331 |
|selectedNode nodeContents spec|
|
1025
|
1332 |
|
|
1333 |
selectedNode := self selectedTreeNode value.
|
|
1334 |
selectedNode isNil ifTrue:[
|
|
1335 |
self setupCanvasForNoSelection.
|
|
1336 |
^ self
|
|
1337 |
].
|
1026
|
1338 |
|
1079
|
1339 |
(spec := selectedNode spec) notNil ifTrue:[
|
|
1340 |
self currentCanvasHolder value:spec.
|
|
1341 |
^ self
|
|
1342 |
].
|
|
1343 |
|
1026
|
1344 |
selectedNode isProjectNode ifTrue:[
|
1080
|
1345 |
self readAspectsForProject.
|
1026
|
1346 |
self showCommentOf:selectedNode.
|
1025
|
1347 |
^ self.
|
|
1348 |
].
|
|
1349 |
|
1037
|
1350 |
selectedNode contents == #classes ifTrue:[
|
|
1351 |
self showClassListOf:selectedNode.
|
|
1352 |
^ self.
|
|
1353 |
].
|
1043
|
1354 |
selectedNode contents == #patches ifTrue:[
|
|
1355 |
self showPatchesListOf:selectedNode.
|
|
1356 |
^ self.
|
|
1357 |
].
|
|
1358 |
|
1025
|
1359 |
self currentCanvasHolder value:(self class emptyRightCanvasSpec).
|
|
1360 |
self rightCanvasTextHolder value:''.
|
|
1361 |
|
1080
|
1362 |
"Modified: / 23.3.1999 / 14:16:02 / cg"
|
1025
|
1363 |
! !
|
|
1364 |
|
1037
|
1365 |
!ProjectBrowser methodsFor:'private - table col access'!
|
|
1366 |
|
1038
|
1367 |
classFilenameFromClassInfo:cInfo
|
|
1368 |
^ cInfo classFileName
|
|
1369 |
!
|
|
1370 |
|
|
1371 |
classIncludeConditionFromClassInfo:cInfo
|
|
1372 |
^ cInfo conditionForInclusion
|
|
1373 |
!
|
|
1374 |
|
1037
|
1375 |
classNameFromClassInfo:cInfo
|
1038
|
1376 |
^ cInfo className
|
1043
|
1377 |
!
|
|
1378 |
|
|
1379 |
classNameFromPatchesInfo:pInfo
|
|
1380 |
^ pInfo methodClass name
|
|
1381 |
!
|
|
1382 |
|
|
1383 |
selectorFromPatchesInfo:pInfo
|
|
1384 |
^ pInfo methodSelector
|
1037
|
1385 |
! !
|
|
1386 |
|
1025
|
1387 |
!ProjectBrowser methodsFor:'user actions'!
|
|
1388 |
|
|
1389 |
itemSelected:index
|
|
1390 |
|item action|
|
|
1391 |
|
|
1392 |
self updateRightCanvas.
|
|
1393 |
|
|
1394 |
item := self projectTreeHolder value at:index.
|
|
1395 |
action := item action.
|
|
1396 |
action notNil ifTrue:[
|
|
1397 |
action value:item.
|
|
1398 |
].
|
|
1399 |
!
|
|
1400 |
|
1079
|
1401 |
makeCurrentProject
|
|
1402 |
"make the selected Project the current project"
|
|
1403 |
|
|
1404 |
|project selectedNode|
|
|
1405 |
|
|
1406 |
self hasProjectNodeSelected ifTrue:[
|
|
1407 |
selectedNode := self selectedTreeNode value.
|
|
1408 |
project := selectedNode contents.
|
|
1409 |
|
|
1410 |
Project current:project.
|
|
1411 |
]
|
|
1412 |
!
|
|
1413 |
|
1026
|
1414 |
newProject
|
1037
|
1415 |
self newProject:Project new.
|
|
1416 |
|
|
1417 |
!
|
1026
|
1418 |
|
1037
|
1419 |
newProject:newProject
|
|
1420 |
|newNode|
|
|
1421 |
|
1026
|
1422 |
newNode := self nodeFor:newProject.
|
|
1423 |
projectTree add:newNode.
|
|
1424 |
self projectTreeHolder root:projectTree.
|
|
1425 |
|
|
1426 |
!
|
|
1427 |
|
|
1428 |
newSubProject
|
1037
|
1429 |
|selectedNode subProjectsNode newNode parentProject newProject|
|
|
1430 |
|
|
1431 |
selectedNode := self selectedTreeNode value.
|
1026
|
1432 |
|
|
1433 |
self hasProjectNodeSelected ifTrue:[
|
|
1434 |
parentProject := selectedNode contents.
|
1037
|
1435 |
subProjectsNode := selectedNode children detect:[:child | child contents == #subprojects].
|
|
1436 |
] ifFalse:[
|
|
1437 |
self hasSubProjectsNodeSelected ifTrue:[
|
|
1438 |
subProjectsNode := selectedNode.
|
|
1439 |
parentProject := selectedNode parent contents.
|
|
1440 |
].
|
|
1441 |
].
|
|
1442 |
self halt.
|
|
1443 |
parentProject notNil ifTrue:[
|
1026
|
1444 |
newProject := Project new.
|
|
1445 |
newNode := self nodeFor:newProject.
|
|
1446 |
|
|
1447 |
parentProject addSubProject:newProject.
|
1037
|
1448 |
subProjectsNode add:newNode.
|
1026
|
1449 |
self projectTreeHolder root:projectTree.
|
1037
|
1450 |
self projectTreeHolder selectNode:newNode.
|
|
1451 |
]
|
|
1452 |
!
|
|
1453 |
|
|
1454 |
openProject
|
|
1455 |
|fn newProject|
|
|
1456 |
|
|
1457 |
fn := Dialog
|
|
1458 |
requestFileName:'filename:'
|
|
1459 |
default:nil
|
|
1460 |
ifFail:nil
|
|
1461 |
pattern:'*.prj'
|
|
1462 |
fromDirectory:(FileSelectionBox lastFileSelectionDirectory).
|
|
1463 |
|
|
1464 |
fn notNil ifTrue:[
|
|
1465 |
newProject := Project new loadFromProjectFile:fn.
|
|
1466 |
newProject notNil ifTrue:[
|
|
1467 |
self newProject:newProject
|
|
1468 |
]
|
1026
|
1469 |
]
|
|
1470 |
!
|
|
1471 |
|
1037
|
1472 |
removeProject
|
|
1473 |
|projectToRemove selectedNode subNode newNode parentNode parentProject newProject|
|
1025
|
1474 |
|
1026
|
1475 |
self hasProjectNodeSelected ifTrue:[
|
|
1476 |
selectedNode := self selectedTreeNode value.
|
|
1477 |
projectToRemove := selectedNode contents.
|
|
1478 |
|
1079
|
1479 |
(self confirm:'Really remove the project ?') ifTrue:[
|
|
1480 |
self projectTreeHolder removeSelection
|
|
1481 |
]
|
1037
|
1482 |
]
|
|
1483 |
!
|
|
1484 |
|
|
1485 |
renameProject
|
|
1486 |
|nm selectedNode selectedProject|
|
|
1487 |
|
|
1488 |
self hasProjectNodeSelected ifTrue:[
|
|
1489 |
selectedNode := self selectedTreeNode value.
|
|
1490 |
selectedProject := selectedNode contents.
|
1026
|
1491 |
|
1037
|
1492 |
nm := Dialog
|
|
1493 |
request:'Rename to:'
|
|
1494 |
initialAnswer:selectedProject name.
|
|
1495 |
|
|
1496 |
nm size > 0 ifTrue:[
|
|
1497 |
selectedProject name:nm.
|
|
1498 |
selectedNode name:nm.
|
|
1499 |
selectedNode changed.
|
|
1500 |
]
|
1026
|
1501 |
]
|
|
1502 |
!
|
|
1503 |
|
1037
|
1504 |
showClassListOf:anItem
|
|
1505 |
|projectItem project classInfo l|
|
|
1506 |
|
|
1507 |
projectItem := anItem parent.
|
|
1508 |
project := projectItem contents.
|
|
1509 |
|
1038
|
1510 |
classInfo := project classInfo asOrderedCollection.
|
|
1511 |
classInfo sort:[:a :b | a className < b className].
|
|
1512 |
|
1037
|
1513 |
l := self classList.
|
|
1514 |
l removeAll.
|
|
1515 |
l addAll:classInfo.
|
|
1516 |
|
|
1517 |
self currentCanvasHolder value:(self class rightCanvasSpecForClassList).
|
|
1518 |
!
|
|
1519 |
|
1026
|
1520 |
showCommentOf:anItem
|
|
1521 |
|projectItem project|
|
1025
|
1522 |
|
1026
|
1523 |
anItem contents == #comment ifTrue:[
|
|
1524 |
projectItem := anItem parent
|
|
1525 |
] ifFalse:[
|
|
1526 |
projectItem := anItem
|
|
1527 |
].
|
|
1528 |
project := projectItem contents.
|
|
1529 |
|
|
1530 |
self currentCanvasHolder value:(self class rightCanvasSpecForEditableText).
|
1025
|
1531 |
self rightCanvasTextHolder value:project comment.
|
|
1532 |
|
|
1533 |
!
|
|
1534 |
|
1037
|
1535 |
showDocumentationFor:anItem
|
|
1536 |
|projectItem project|
|
|
1537 |
|
|
1538 |
anItem contents == #documentation ifTrue:[
|
|
1539 |
projectItem := anItem parent
|
|
1540 |
] ifFalse:[
|
|
1541 |
projectItem := anItem
|
|
1542 |
].
|
|
1543 |
project := projectItem contents.
|
|
1544 |
|
|
1545 |
self currentCanvasHolder value:(self class rightCanvasSpecForHTMLText).
|
|
1546 |
self htmlDocumentURLHolder value:project documentationURL.
|
|
1547 |
!
|
|
1548 |
|
1043
|
1549 |
showPatchesListOf:anItem
|
|
1550 |
|projectItem project patches l|
|
|
1551 |
|
|
1552 |
projectItem := anItem parent.
|
|
1553 |
project := projectItem contents.
|
|
1554 |
|
|
1555 |
patches := project individualMethods.
|
|
1556 |
patches := patches collect:[:m | m who].
|
|
1557 |
patches := patches sort:[:w1 :w2 |
|
|
1558 |
w1 methodClass name < w2 methodClass name ifTrue:[
|
|
1559 |
true
|
|
1560 |
] ifFalse:[
|
|
1561 |
w1 methodClass name = w2 methodClass name ifFalse:[
|
|
1562 |
false
|
|
1563 |
] ifTrue:[
|
|
1564 |
w1 methodSelector < w2 methodSelector
|
|
1565 |
]
|
|
1566 |
]
|
|
1567 |
].
|
|
1568 |
|
|
1569 |
l := self patchesList.
|
|
1570 |
l removeAll.
|
|
1571 |
l addAll:patches.
|
|
1572 |
|
|
1573 |
self currentCanvasHolder value:(self class rightCanvasSpecForPatchesList).
|
|
1574 |
!
|
|
1575 |
|
1026
|
1576 |
showReadOnlyText:someText
|
|
1577 |
self currentCanvasHolder value:(self class rightCanvasSpecForReadOnlyText).
|
|
1578 |
self rightCanvasTextHolder value:someText.
|
|
1579 |
|
1025
|
1580 |
! !
|
|
1581 |
|
|
1582 |
!ProjectBrowser::ProjectTreeItem methodsFor:'accessing'!
|
|
1583 |
|
|
1584 |
action
|
|
1585 |
"return the value of the instance variable 'action' (automatically generated)"
|
|
1586 |
|
|
1587 |
^ action!
|
|
1588 |
|
|
1589 |
action:something
|
|
1590 |
"set the value of the instance variable 'action' (automatically generated)"
|
|
1591 |
|
1079
|
1592 |
action := something.!
|
|
1593 |
|
|
1594 |
spec
|
|
1595 |
"return the value of the instance variable 'spec' (automatically generated)"
|
|
1596 |
|
|
1597 |
^ spec!
|
|
1598 |
|
|
1599 |
spec:something
|
|
1600 |
"set the value of the instance variable 'spec' (automatically generated)"
|
|
1601 |
|
|
1602 |
spec := something.! !
|
1025
|
1603 |
|
1026
|
1604 |
!ProjectBrowser::ProjectTreeItem methodsFor:'queries'!
|
|
1605 |
|
|
1606 |
isProjectNode
|
|
1607 |
^ false
|
|
1608 |
! !
|
|
1609 |
|
|
1610 |
!ProjectBrowser::ProjectNode methodsFor:'queries'!
|
|
1611 |
|
|
1612 |
isProjectNode
|
|
1613 |
^ true
|
|
1614 |
|
|
1615 |
|
|
1616 |
! !
|
|
1617 |
|
1025
|
1618 |
!ProjectBrowser class methodsFor:'documentation'!
|
|
1619 |
|
|
1620 |
version
|
|
1621 |
^ '$Header$'
|
|
1622 |
! !
|