1443
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2003 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 |
|
1227
|
13 |
"{ Package: 'stx:libbasic3' }"
|
|
14 |
|
|
15 |
"{ NameSpace: Packages }"
|
|
16 |
|
|
17 |
AbstractPackageBrowser subclass:#PackageBrowser
|
|
18 |
instanceVariableNames:'packageSelectorSelectionHolder packageDetailsApplicationHolder
|
|
19 |
packageSelectorApplicationHolder'
|
|
20 |
classVariableNames:''
|
|
21 |
poolDictionaries:''
|
|
22 |
category:'Package-Application'
|
|
23 |
!
|
|
24 |
|
|
25 |
!PackageBrowser class methodsFor:'documentation'!
|
|
26 |
|
1443
|
27 |
copyright
|
|
28 |
"
|
|
29 |
COPYRIGHT (c) 2003 by eXept Software AG
|
|
30 |
All Rights Reserved
|
|
31 |
|
|
32 |
This software is furnished under a license and may be used
|
|
33 |
only in accordance with the terms of that license and with the
|
|
34 |
inclusion of the above copyright notice. This software may not
|
|
35 |
be provided or otherwise made available to, or used by, any
|
|
36 |
other person. No title to or ownership of the software is
|
|
37 |
hereby transferred.
|
|
38 |
"
|
|
39 |
!
|
|
40 |
|
1227
|
41 |
documentation
|
|
42 |
"
|
|
43 |
documentation to be added.
|
|
44 |
|
|
45 |
[author:]
|
|
46 |
(james@miraculix)
|
|
47 |
|
|
48 |
[instance variables:]
|
|
49 |
|
|
50 |
[class variables:]
|
|
51 |
|
|
52 |
[see also:]
|
|
53 |
|
|
54 |
"
|
|
55 |
!
|
|
56 |
|
|
57 |
examples
|
|
58 |
"
|
|
59 |
Starting the application:
|
|
60 |
[exBegin]
|
|
61 |
Packages::PackageBrowser open
|
|
62 |
|
|
63 |
[exEnd]
|
|
64 |
|
|
65 |
more examples to be added:
|
|
66 |
[exBegin]
|
|
67 |
... add code fragment for
|
|
68 |
... executable example here ...
|
|
69 |
[exEnd]
|
|
70 |
"
|
|
71 |
!
|
|
72 |
|
|
73 |
history
|
|
74 |
"Created: / 19.3.2003 / 11:23:18 / james"
|
|
75 |
! !
|
|
76 |
|
|
77 |
!PackageBrowser class methodsFor:'interface specs'!
|
|
78 |
|
1268
|
79 |
XXXwindowSpec
|
1227
|
80 |
"This resource specification was automatically generated
|
|
81 |
by the UIPainter of ST/X."
|
|
82 |
|
|
83 |
"Do not manually edit this!! If it is corrupted,
|
|
84 |
the UIPainter may not be able to read the specification."
|
|
85 |
|
|
86 |
"
|
|
87 |
UIPainter new openOnClass:Packages::PackageBrowser andSelector:#windowSpec
|
|
88 |
Packages::PackageBrowser new openInterface:#windowSpec
|
|
89 |
Packages::PackageBrowser open
|
|
90 |
"
|
|
91 |
|
|
92 |
<resource: #canvas>
|
|
93 |
|
|
94 |
^
|
|
95 |
#(#FullSpec
|
|
96 |
#name: #windowSpec
|
|
97 |
#window:
|
|
98 |
#(#WindowSpec
|
|
99 |
#label: 'Packages::PackageBrowser'
|
|
100 |
#name: 'Packages::PackageBrowser'
|
|
101 |
#min: #(#Point 10 10)
|
|
102 |
#max: #(#Point 1024 768)
|
|
103 |
#bounds: #(#Rectangle 29 59 777 532)
|
|
104 |
#menu: #mainMenu
|
|
105 |
)
|
|
106 |
#component:
|
|
107 |
#(#SpecCollection
|
|
108 |
#collection: #(
|
|
109 |
#(#VariableHorizontalPanelSpec
|
|
110 |
#name: 'VariableHorizontalPanel1'
|
|
111 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
|
|
112 |
#showHandle: true
|
|
113 |
#snapMode: #both
|
|
114 |
#component:
|
|
115 |
#(#SpecCollection
|
|
116 |
#collection: #(
|
|
117 |
#(#SubCanvasSpec
|
|
118 |
#name: 'PackageSelector'
|
|
119 |
#hasHorizontalScrollBar: false
|
|
120 |
#hasVerticalScrollBar: false
|
|
121 |
#majorKey: #'Packages::PackageSelector'
|
|
122 |
#subAspectHolders:
|
|
123 |
#(#Array
|
|
124 |
|
|
125 |
#(#SubChannelInfoSpec
|
|
126 |
#subAspect: #packagesSelectedHolder
|
|
127 |
#aspect: #packagesSelectedHolder
|
|
128 |
)
|
|
129 |
)
|
|
130 |
#createNewApplication: true
|
|
131 |
#createNewBuilder: true
|
|
132 |
#postBuildCallback: #packageSelectorCreated:
|
|
133 |
)
|
|
134 |
#(#SubCanvasSpec
|
|
135 |
#name: 'PackageDetails'
|
|
136 |
#hasHorizontalScrollBar: false
|
|
137 |
#hasVerticalScrollBar: false
|
|
138 |
#majorKey: #'Packages::PackageDetails'
|
|
139 |
#createNewApplication: true
|
|
140 |
#createNewBuilder: true
|
|
141 |
#postBuildCallback: #packageDetailsCreated:
|
|
142 |
)
|
|
143 |
)
|
|
144 |
|
|
145 |
)
|
|
146 |
#handles: #(#Any 0.260695 1.0)
|
|
147 |
)
|
|
148 |
)
|
|
149 |
|
|
150 |
)
|
|
151 |
)
|
|
152 |
!
|
|
153 |
|
1268
|
154 |
windowSpec
|
1227
|
155 |
"This resource specification was automatically generated
|
|
156 |
by the UIPainter of ST/X."
|
|
157 |
|
|
158 |
"Do not manually edit this!! If it is corrupted,
|
|
159 |
the UIPainter may not be able to read the specification."
|
|
160 |
|
|
161 |
"
|
|
162 |
UIPainter new openOnClass:Packages::PackageBrowser andSelector:#windowSpec
|
|
163 |
Packages::PackageBrowser new openInterface:#windowSpec
|
|
164 |
Packages::PackageBrowser open
|
|
165 |
"
|
|
166 |
|
|
167 |
<resource: #canvas>
|
|
168 |
|
|
169 |
^
|
|
170 |
#(#FullSpec
|
|
171 |
#name: #windowSpec
|
|
172 |
#window:
|
|
173 |
#(#WindowSpec
|
|
174 |
#label: 'Packages::PackageBrowser'
|
|
175 |
#name: 'Packages::PackageBrowser'
|
|
176 |
#min: #(#Point 10 10)
|
|
177 |
#max: #(#Point 1024 768)
|
1268
|
178 |
#bounds: #(#Rectangle 29 59 777 532)
|
1227
|
179 |
#menu: #mainMenu
|
|
180 |
)
|
|
181 |
#component:
|
|
182 |
#(#SpecCollection
|
|
183 |
#collection: #(
|
1268
|
184 |
#(#MenuPanelSpec
|
|
185 |
#name: 'ToolBar1'
|
|
186 |
#layout: #(#LayoutFrame 0 0 0 0 0 1 30 0)
|
|
187 |
#menu: #menu
|
|
188 |
#textDefault: true
|
|
189 |
)
|
1227
|
190 |
#(#VariableHorizontalPanelSpec
|
|
191 |
#name: 'VariableHorizontalPanel1'
|
1268
|
192 |
#layout: #(#LayoutFrame 0 0.0 30 0.0 0 1.0 0 1.0)
|
|
193 |
#showHandle: true
|
|
194 |
#snapMode: #both
|
1227
|
195 |
#component:
|
|
196 |
#(#SpecCollection
|
|
197 |
#collection: #(
|
|
198 |
#(#SubCanvasSpec
|
|
199 |
#name: 'PackageSelector'
|
|
200 |
#hasHorizontalScrollBar: false
|
|
201 |
#hasVerticalScrollBar: false
|
|
202 |
#majorKey: #'Packages::PackageSelector'
|
|
203 |
#subAspectHolders:
|
|
204 |
#(#Array
|
|
205 |
|
|
206 |
#(#SubChannelInfoSpec
|
1268
|
207 |
#subAspect: #packagesSelectedHolder
|
|
208 |
#aspect: #packagesSelectedHolder
|
1227
|
209 |
)
|
|
210 |
)
|
|
211 |
#createNewApplication: true
|
|
212 |
#createNewBuilder: true
|
|
213 |
#postBuildCallback: #packageSelectorCreated:
|
|
214 |
)
|
|
215 |
#(#SubCanvasSpec
|
|
216 |
#name: 'PackageDetails'
|
|
217 |
#hasHorizontalScrollBar: false
|
|
218 |
#hasVerticalScrollBar: false
|
|
219 |
#majorKey: #'Packages::PackageDetails'
|
|
220 |
#createNewApplication: true
|
|
221 |
#createNewBuilder: true
|
|
222 |
#postBuildCallback: #packageDetailsCreated:
|
|
223 |
)
|
|
224 |
)
|
|
225 |
|
|
226 |
)
|
1268
|
227 |
#handles: #(#Any 0.287433 1.0)
|
1227
|
228 |
)
|
|
229 |
)
|
|
230 |
|
|
231 |
)
|
|
232 |
)
|
|
233 |
! !
|
|
234 |
|
|
235 |
!PackageBrowser class methodsFor:'menu specs'!
|
|
236 |
|
|
237 |
mainMenu
|
|
238 |
"This resource specification was automatically generated by the CodeGeneratorTool."
|
|
239 |
|
|
240 |
"Do not manually edit this!! If it is corrupted,
|
|
241 |
the MenuEditor may not be able to read the specification."
|
|
242 |
|
|
243 |
"
|
|
244 |
MenuEditor new openOnClass:Packages::PackageBrowser andSelector:#mainMenu
|
|
245 |
"
|
|
246 |
|
|
247 |
<resource: #menu>
|
|
248 |
|
|
249 |
^ #(#Menu
|
|
250 |
#(
|
|
251 |
#(#MenuItem
|
|
252 |
#label: 'File'
|
|
253 |
#translateLabel: true
|
|
254 |
#submenu:
|
|
255 |
#(#Menu
|
|
256 |
#(
|
|
257 |
#(#MenuItem
|
|
258 |
#label: 'New'
|
|
259 |
#translateLabel: true
|
|
260 |
#value: #menuNew
|
|
261 |
)
|
|
262 |
#(#MenuItem
|
|
263 |
#label: '-'
|
|
264 |
)
|
|
265 |
#(#MenuItem
|
|
266 |
#label: 'Open...'
|
|
267 |
#translateLabel: true
|
|
268 |
#value: #menuOpen
|
|
269 |
)
|
|
270 |
#(#MenuItem
|
|
271 |
#label: '-'
|
|
272 |
)
|
|
273 |
#(#MenuItem
|
|
274 |
#label: 'Save'
|
|
275 |
#translateLabel: true
|
|
276 |
#value: #menuSave
|
|
277 |
)
|
|
278 |
#(#MenuItem
|
|
279 |
#label: 'Save As...'
|
|
280 |
#translateLabel: true
|
|
281 |
#value: #menuSaveAs
|
|
282 |
)
|
|
283 |
#(#MenuItem
|
|
284 |
#label: '-'
|
|
285 |
)
|
|
286 |
#(#MenuItem
|
|
287 |
#label: 'Exit'
|
|
288 |
#translateLabel: true
|
|
289 |
#value: #closeRequest
|
|
290 |
)
|
|
291 |
) nil
|
|
292 |
nil
|
|
293 |
)
|
|
294 |
)
|
|
295 |
#(#MenuItem
|
|
296 |
#label: 'Help'
|
|
297 |
#translateLabel: true
|
|
298 |
#startGroup: #right
|
|
299 |
#submenu:
|
|
300 |
#(#Menu
|
|
301 |
#(
|
|
302 |
#(#MenuItem
|
|
303 |
#label: 'Documentation'
|
|
304 |
#translateLabel: true
|
|
305 |
#value: #openDocumentation
|
|
306 |
)
|
|
307 |
#(#MenuItem
|
|
308 |
#label: '-'
|
|
309 |
)
|
|
310 |
#(#MenuItem
|
|
311 |
#label: 'About this Application'
|
|
312 |
#translateLabel: true
|
|
313 |
#value: #openAboutThisApplication
|
|
314 |
)
|
|
315 |
) nil
|
|
316 |
nil
|
|
317 |
)
|
|
318 |
)
|
|
319 |
) nil
|
|
320 |
nil
|
|
321 |
)
|
1268
|
322 |
!
|
|
323 |
|
|
324 |
menu
|
|
325 |
"This resource specification was automatically generated
|
|
326 |
by the MenuEditor of ST/X."
|
|
327 |
|
|
328 |
"Do not manually edit this!! If it is corrupted,
|
|
329 |
the MenuEditor may not be able to read the specification."
|
|
330 |
|
|
331 |
"
|
|
332 |
MenuEditor new openOnClass:Packages::PackageBrowser andSelector:#menu
|
|
333 |
(Menu new fromLiteralArrayEncoding:(Packages::PackageBrowser menu)) startUp
|
|
334 |
"
|
|
335 |
|
|
336 |
<resource: #menu>
|
|
337 |
|
|
338 |
^
|
|
339 |
#(#Menu
|
|
340 |
#(
|
|
341 |
#(#MenuItem
|
|
342 |
#label: 'Reset Smalltalk Manager'
|
|
343 |
#itemValue: #resetSmalltalkManager
|
|
344 |
#translateLabel: true
|
|
345 |
#labelImage: #(#ResourceRetriever #ToolbarIconLibrary #idea16x16Icon)
|
|
346 |
)
|
|
347 |
#(#MenuItem
|
|
348 |
#label: 'Action'
|
|
349 |
#itemValue: #inspectSmalltalkManager
|
|
350 |
#translateLabel: true
|
|
351 |
#labelImage: #(#ResourceRetriever #ToolbarIconLibrary #inspectLocals20x20Icon)
|
|
352 |
)
|
|
353 |
)
|
|
354 |
nil
|
|
355 |
nil
|
|
356 |
)
|
1227
|
357 |
! !
|
|
358 |
|
|
359 |
!PackageBrowser class methodsFor:'plugIn spec'!
|
|
360 |
|
|
361 |
aspectSelectors
|
|
362 |
"This resource specification was automatically generated
|
|
363 |
by the UIPainter of ST/X."
|
|
364 |
|
|
365 |
"Do not manually edit this. If it is corrupted,
|
|
366 |
the UIPainter may not be able to read the specification."
|
|
367 |
|
|
368 |
"Return a description of exported aspects;
|
|
369 |
these can be connected to aspects of an embedding application
|
|
370 |
(if this app is embedded in a subCanvas)."
|
|
371 |
|
|
372 |
^ #(
|
|
373 |
#packageDetailsApplicationHolder
|
|
374 |
#packageSelectorApplicationHolder
|
|
375 |
#packageSelectorSelectionHolder
|
|
376 |
).
|
|
377 |
|
|
378 |
! !
|
|
379 |
|
|
380 |
!PackageBrowser methodsFor:'accessing'!
|
|
381 |
|
|
382 |
packageDetailsApplication
|
|
383 |
^ packageDetailsApplicationHolder value
|
|
384 |
! !
|
|
385 |
|
1268
|
386 |
!PackageBrowser methodsFor:'actions'!
|
|
387 |
|
|
388 |
inspectSmalltalkManager
|
|
389 |
"This is temporary for when the manager goes a bit bonkers!!"
|
|
390 |
self packageManager inspect
|
|
391 |
!
|
|
392 |
|
|
393 |
resetSmalltalkManager
|
|
394 |
"This is temporary for when the manager goes a bit bonkers!!"
|
|
395 |
| aPackageManager |
|
|
396 |
self withWaitCursorDo:[
|
|
397 |
Packages::PackageManager smalltalkPackageManager becomeNil.
|
|
398 |
aPackageManager := Packages::PackageManager smalltalkPackageManager.
|
|
399 |
self packageManager:aPackageManager
|
|
400 |
].
|
|
401 |
! !
|
|
402 |
|
1227
|
403 |
!PackageBrowser methodsFor:'aspects'!
|
|
404 |
|
|
405 |
packageDetailsApplicationHolder
|
|
406 |
"automatically generated by UIPainter ..."
|
|
407 |
|
|
408 |
"*** the code below creates a default model when invoked."
|
|
409 |
"*** (which may not be the one you wanted)"
|
|
410 |
"*** Please change as required and accept it in the browser."
|
|
411 |
"*** (and replace this comment by something more useful ;-)"
|
|
412 |
|
|
413 |
packageDetailsApplicationHolder isNil ifTrue:[
|
|
414 |
packageDetailsApplicationHolder := ValueHolder new.
|
|
415 |
"/ if your app needs to be notified of changes, uncomment one of the lines below:
|
|
416 |
"/ packageDetailsApplicationHolder addDependent:self.
|
|
417 |
"/ packageDetailsApplicationHolder onChangeSend:#packageDetailsApplicationHolderChanged to:self.
|
|
418 |
].
|
|
419 |
^ packageDetailsApplicationHolder.
|
|
420 |
!
|
|
421 |
|
|
422 |
packageSelectorApplicationHolder
|
|
423 |
"automatically generated by UIPainter ..."
|
|
424 |
|
|
425 |
"*** the code below creates a default model when invoked."
|
|
426 |
"*** (which may not be the one you wanted)"
|
|
427 |
"*** Please change as required and accept it in the browser."
|
|
428 |
"*** (and replace this comment by something more useful ;-)"
|
|
429 |
|
|
430 |
packageSelectorApplicationHolder isNil ifTrue:[
|
|
431 |
packageSelectorApplicationHolder := ValueHolder new.
|
|
432 |
"/ if your app needs to be notified of changes, uncomment one of the lines below:
|
|
433 |
"/ packageSelectorApplicationHolder addDependent:self.
|
|
434 |
"/ packageSelectorApplicationHolder onChangeSend:#packageSelectorApplicationHolderChanged to:self.
|
|
435 |
].
|
|
436 |
^ packageSelectorApplicationHolder.
|
|
437 |
!
|
|
438 |
|
|
439 |
packagesSelectedHolder
|
|
440 |
packageSelectorSelectionHolder isNil ifTrue:[
|
|
441 |
self applicationAspectsAt:#packagesSelectedHolder put:ValueHolder new.
|
|
442 |
].
|
|
443 |
^ packageSelectorSelectionHolder.
|
|
444 |
! !
|
|
445 |
|
|
446 |
!PackageBrowser methodsFor:'callbacks'!
|
|
447 |
|
|
448 |
packageDetailsCreated:aSubCanvas
|
|
449 |
"do nothing...for now"
|
|
450 |
|
|
451 |
self packageDetailsApplicationHolder value:aSubCanvas client.
|
|
452 |
!
|
|
453 |
|
|
454 |
packageSelectorCreated:aSubCanvas
|
|
455 |
"do nothing...for now"
|
|
456 |
self packageSelectorApplicationHolder value:aSubCanvas client.
|
|
457 |
! !
|
|
458 |
|
|
459 |
!PackageBrowser methodsFor:'constants'!
|
|
460 |
|
|
461 |
smalltalkPackageManager
|
|
462 |
^ PackageManager smalltalkPackageManager
|
|
463 |
! !
|
|
464 |
|
|
465 |
!PackageBrowser methodsFor:'initialization & release'!
|
|
466 |
|
|
467 |
closeDownViews
|
|
468 |
"This is a hook method generated by the Browser.
|
|
469 |
It will be invoked when your app/dialog-window is really closed.
|
|
470 |
See also #closeDownViews, which is invoked before and may suppress the close
|
|
471 |
or ask the user for confirmation."
|
|
472 |
|
|
473 |
"/ change the code below as required ...
|
|
474 |
"/ This should cleanup any leftover resources
|
|
475 |
"/ (for example, temporary files)
|
|
476 |
"/ super closeRequest will initiate the closeDown
|
|
477 |
|
|
478 |
"/ add your code here
|
|
479 |
|
|
480 |
"/ do not remove the one below ...
|
|
481 |
^ super closeDownViews
|
|
482 |
!
|
|
483 |
|
|
484 |
closeRequest
|
|
485 |
"This is a hook method generated by the Browser.
|
|
486 |
It will be invoked when your app/dialog-window is about to be
|
|
487 |
closed (this method has a chance to suppress the close).
|
|
488 |
See also #closeDownViews, which is invoked when the close is really done."
|
|
489 |
|
|
490 |
"/ change the code below as required ...
|
|
491 |
"/ Closing can be suppressed, by simply returning.
|
|
492 |
"/ The 'super closeRequest' at the end will initiate the real closeDown
|
|
493 |
|
|
494 |
("self hasUnsavedChanges" true) ifTrue:[
|
|
495 |
(self confirm:(resources string:'Close without saving ?')) ifFalse:[
|
|
496 |
^ self
|
|
497 |
]
|
|
498 |
].
|
|
499 |
|
|
500 |
^ super closeRequest
|
|
501 |
!
|
|
502 |
|
|
503 |
initialize
|
|
504 |
self packageManager:self smalltalkPackageManager.
|
|
505 |
!
|
|
506 |
|
|
507 |
postBuildWith:aBuilder
|
|
508 |
"This is a hook method generated by the Browser.
|
|
509 |
It will be invoked during the initialization of your app/dialog,
|
|
510 |
after all of the visual components have been built,
|
|
511 |
but BEFORE the top window is made visible.
|
|
512 |
Add any app-specific actions here (reading files, setting up values etc.)
|
|
513 |
See also #postOpenWith:, which is invoked after opening."
|
|
514 |
|
|
515 |
"/ add any code here ...
|
|
516 |
|
|
517 |
^ super postBuildWith:aBuilder
|
|
518 |
!
|
|
519 |
|
|
520 |
postOpenWith:aBuilder
|
|
521 |
"This is a hook method generated by the Browser.
|
|
522 |
It will be invoked right after the applications window has been opened.
|
|
523 |
Add any app-specific actions here (starting background processes etc.).
|
|
524 |
See also #postBuildWith:, which is invoked before opening."
|
|
525 |
|
|
526 |
"/ add any code here ...
|
|
527 |
^ super postOpenWith:aBuilder
|
|
528 |
! !
|
|
529 |
|
|
530 |
!PackageBrowser methodsFor:'menu actions'!
|
|
531 |
|
|
532 |
menuNew
|
|
533 |
"This method was generated by the Browser.
|
|
534 |
It will be invoked when the menu-item 'new' is selected."
|
|
535 |
|
|
536 |
"/ change below and add any actions as required here ...
|
|
537 |
self warn:'no action for ''new'' available.'.
|
|
538 |
!
|
|
539 |
|
|
540 |
menuOpen
|
|
541 |
"This method was generated by the Browser.
|
|
542 |
It will be invoked when the menu-item 'open' is selected."
|
|
543 |
|
|
544 |
"/ change below and add any actions as required here ...
|
|
545 |
self warn:'no action for ''open'' available.'.
|
|
546 |
!
|
|
547 |
|
|
548 |
menuSave
|
|
549 |
"This method was generated by the Browser.
|
|
550 |
It will be invoked when the menu-item 'save' is selected."
|
|
551 |
|
|
552 |
"/ change below and add any actions as required here ...
|
|
553 |
self warn:'no action for ''save'' available.'.
|
|
554 |
!
|
|
555 |
|
|
556 |
menuSaveAs
|
|
557 |
"This method was generated by the Browser.
|
|
558 |
It will be invoked when the menu-item 'saveAs' is selected."
|
|
559 |
|
|
560 |
"/ change below and add any actions as required here ...
|
|
561 |
self warn:'no action for ''saveAs'' available.'.
|
|
562 |
!
|
|
563 |
|
|
564 |
openAboutThisApplication
|
|
565 |
"This method was generated by the Browser.
|
|
566 |
It will be invoked when the menu-item 'help-about' is selected."
|
|
567 |
|
|
568 |
"/ could open a customized aboutBox here ...
|
|
569 |
super openAboutThisApplication
|
|
570 |
!
|
|
571 |
|
|
572 |
openDocumentation
|
|
573 |
"This method was generated by the Browser.
|
|
574 |
It will be invoked when the menu-item 'help-documentation' is selected."
|
|
575 |
|
|
576 |
"/ change below as required ...
|
|
577 |
|
|
578 |
"/ to open an HTML viewer on some document (under 'doc/online/<language>/' ):
|
|
579 |
HTMLDocumentView openFullOnDocumentationFile:'TOP.html'.
|
|
580 |
|
|
581 |
"/ add application-specific help files under the 'doc/online/<language>/help/appName'
|
|
582 |
"/ directory, and open a viewer with:
|
|
583 |
"/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'.
|
|
584 |
! !
|
|
585 |
|
|
586 |
!PackageBrowser class methodsFor:'documentation'!
|
|
587 |
|
|
588 |
version
|
1443
|
589 |
^ '$Header: /cvs/stx/stx/libbasic3/packages/PackageBrowser.st,v 1.4 2006-01-10 09:25:17 cg Exp $'
|
1227
|
590 |
! !
|