author | Claus Gittinger <cg@exept.de> |
Fri, 31 Jul 1998 22:50:22 +0200 | |
changeset 1782 | 4b1d6025c814 |
parent 1780 | 1d3d4644f3c4 |
child 1794 | 8f8c1faac686 |
permissions | -rw-r--r-- |
1406 | 1 |
" |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2 |
COPYRIGHT (c) 1997-1998 by eXept Software AG |
1406 | 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 |
||
15 |
ToolApplicationModel subclass:#NewLauncher |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
16 |
instanceVariableNames:'transcript isMainLauncher helpIsOn' |
1767 | 17 |
classVariableNames:'OpenLaunchers NotifyingEmergencyHandler UserAddedTools' |
1406 | 18 |
poolDictionaries:'' |
1469 | 19 |
category:'Interface-Smalltalk' |
1406 | 20 |
! |
21 |
||
22 |
!NewLauncher class methodsFor:'documentation'! |
|
23 |
||
24 |
copyright |
|
25 |
" |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
26 |
COPYRIGHT (c) 1997-1998 by eXept Software AG |
1406 | 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 |
||
40 |
documentation |
|
41 |
" |
|
1411 | 42 |
The future launcher. |
43 |
||
44 |
[start with:] |
|
45 |
NewLauncher open |
|
46 |
||
47 |
[see also:] |
|
48 |
Launcher |
|
49 |
||
50 |
[author:] |
|
1453 | 51 |
Thomas Zwick, eXept Software AG |
1406 | 52 |
" |
53 |
! ! |
|
54 |
||
55 |
!NewLauncher class methodsFor:'accessing'! |
|
56 |
||
57 |
current |
|
58 |
"return the launcher running on the current screen. |
|
59 |
(for access via addMenu/ removeMenu)" |
|
60 |
||
1434 | 61 |
OpenLaunchers notNil ifTrue:[ |
62 |
OpenLaunchers do:[:aLauncher | |
|
63 |
aLauncher window graphicsDevice == Screen current ifTrue:[ |
|
64 |
^ aLauncher |
|
65 |
] |
|
66 |
]. |
|
1406 | 67 |
]. |
68 |
^ nil |
|
69 |
||
1434 | 70 |
"Modified: / 29.1.1998 / 22:08:12 / cg" |
1406 | 71 |
! |
72 |
||
73 |
label |
|
74 |
||
75 |
^'Launcher' |
|
76 |
||
77 |
||
1434 | 78 |
! |
79 |
||
80 |
openLaunchers |
|
81 |
||
82 |
^OpenLaunchers ? (OpenLaunchers := OrderedCollection new) |
|
1406 | 83 |
! ! |
84 |
||
85 |
!NewLauncher class methodsFor:'defaults'! |
|
86 |
||
87 |
notifyingEmergencyHandler |
|
88 |
"return a block (used as an emergency handler |
|
89 |
for exceptions), which does errorNotification before going |
|
90 |
into the debugger." |
|
91 |
||
92 |
"Remember the handlerBlock, to be able to determine if the current |
|
93 |
handler is the notifying one." |
|
94 |
||
95 |
^ NotifyingEmergencyHandler ? (NotifyingEmergencyHandler := Exception notifyingEmergencyHandler) |
|
96 |
! ! |
|
97 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
98 |
!NewLauncher class methodsFor:'help specs'! |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
99 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
100 |
helpSpec |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
101 |
"This resource specification was automatically generated |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
102 |
by the UIHelpTool of ST/X." |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
103 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
104 |
"Do not manually edit this!! If it is corrupted, |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
105 |
the UIHelpTool may not be able to read the specification." |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
106 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
107 |
" |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
108 |
UIHelpTool openOnClass:NewLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
109 |
" |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
110 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
111 |
<resource: #help> |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
112 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
113 |
^super helpSpec addPairsFrom:#( |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
114 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
115 |
#aboutLicenseConditions |
1616 | 116 |
'Open an HTML-Browser showing the license conditions of ST/X.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
117 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
118 |
#classes |
1616 | 119 |
'Class functions.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
120 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
121 |
#classesClassBrowser |
1616 | 122 |
'Open a dialog for defining and opening a Class Browser on a class.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
123 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
124 |
#classesClassHierarchyBrowser |
1616 | 125 |
'Open a dialog for defining and opening a Class Hierarchy Browser on a class.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
126 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
127 |
#classesClassTreeBrowser |
1616 | 128 |
'Open a Class Tree on the classes of ST/X.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
129 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
130 |
#classesFullClassBrowser |
1616 | 131 |
'Open a dialog for defining and opening a Full Class Browser on a class.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
132 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
133 |
#classesImplementors |
1616 | 134 |
'Find all methods which implement a particular message' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
135 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
136 |
#classesRemoveAllTracePoints |
1616 | 137 |
'Remove all trace- and break-points.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
138 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
139 |
#classesResourceMethods |
1616 | 140 |
'Open a dialog for searching resource methods.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
141 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
142 |
#classesSenders |
1616 | 143 |
'Find all methods which send a particular message.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
144 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
145 |
#classesShowTracePoints |
1616 | 146 |
'Open a list showing all trace- and break-points on methods.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
147 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
148 |
#classesSpecial |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
149 |
'Special class functions.' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
150 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
151 |
#classesSpecialReferencesToUndeclared |
1616 | 152 |
'Open a list of methods refering to undeclared variables.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
153 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
154 |
#classesSystemBrowser |
1616 | 155 |
'Open a System Browser for editing sources of the classes.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
156 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
157 |
#classesSystemBrowserOnClass |
1759 | 158 |
'Open a System Browser on a previously modified class.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
159 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
160 |
#demos |
1616 | 161 |
'Demo functions.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
162 |
|
1759 | 163 |
#demos3D |
164 |
'3D graphic demos.' |
|
165 |
||
166 |
#demos3DcubeSolid |
|
167 |
'A rotating solid cube.' |
|
168 |
||
169 |
#demos3DcubeWire |
|
170 |
'A rotating wireframe cube.' |
|
171 |
||
172 |
#demos3Ddoughnut |
|
173 |
'A rotating wireframe doughnut.' |
|
174 |
||
175 |
#demos3Dlogo |
|
176 |
'The ST/X logo.' |
|
177 |
||
178 |
#demos3Dplane |
|
179 |
'A rotating plane.' |
|
180 |
||
181 |
#demos3Dplanet |
|
182 |
'Two spheres - one rotating around the other.' |
|
183 |
||
184 |
#demos3Drubics |
|
185 |
'A rubics cube - with interaction.' |
|
186 |
||
187 |
#demos3Dsphere |
|
188 |
'A rotating wireframe sphere.' |
|
189 |
||
190 |
#demos3Dteapot |
|
191 |
'A teopot.' |
|
192 |
||
193 |
#demos3Dtetra |
|
194 |
'A rotating tetrahedron.' |
|
195 |
||
196 |
#demosAnimations |
|
197 |
'Simple animation demos.' |
|
198 |
||
199 |
#demosCalculator |
|
200 |
'Opens a calculator with decimal to hex conversion.' |
|
201 |
||
202 |
#demosCalendar |
|
203 |
'Opens a GUI on the cal unix program.' |
|
204 |
||
205 |
#demosClock |
|
206 |
'Opens an analog clock application.' |
|
207 |
||
208 |
#demosCommander |
|
209 |
'Opens a demo for the Commander class.' |
|
210 |
||
211 |
#demosDigitalClock |
|
212 |
'Opens a digital clock application' |
|
213 |
||
214 |
#demosFTP |
|
215 |
'Opens a simple FTP interface demo.' |
|
216 |
||
217 |
#demosFractalPatterns |
|
218 |
'Opens a view displaying fractals patterns.' |
|
219 |
||
220 |
#demosFractalPlants |
|
221 |
'Opens a view displaying fractal plants (iterated function systems).' |
|
222 |
||
223 |
#demosGames |
|
224 |
'Games.' |
|
225 |
||
226 |
#demosGeometric |
|
227 |
'Various demos displaying geometric designs.' |
|
228 |
||
229 |
#demosGlobe |
|
230 |
'Opens a rotating globe animation demo.' |
|
231 |
||
232 |
#demosGoodies |
|
233 |
'Goodies and Utilities.' |
|
234 |
||
1777 | 235 |
#demosGraphicEditors |
236 |
'Graphic editing demos.' |
|
237 |
||
238 |
#demosGraphicEditorsDrawTool |
|
239 |
'Object drawing demo.' |
|
240 |
||
241 |
#demosGraphicEditorsLogicTool |
|
242 |
'Simulating Logic demo.' |
|
243 |
||
244 |
#demosGraphicEditorsPaintTool |
|
245 |
'Painting demo.' |
|
246 |
||
247 |
#demosGUI |
|
248 |
'GUI builder demos.' |
|
249 |
||
250 |
#demosGUIWidgets |
|
251 |
'GUI widgets usage.' |
|
252 |
||
253 |
#demosGUICalculator |
|
254 |
'Calculator built using the GUI builder.' |
|
255 |
||
1759 | 256 |
#demosMail |
257 |
'Opens a simple mail viewer demo.' |
|
258 |
||
259 |
#demosMandel |
|
260 |
'Opens a view displaying the mandelbrot set.' |
|
261 |
||
262 |
#demosMoreFractalPatterns |
|
263 |
'Opens a view with more fractal patterns.' |
|
264 |
||
265 |
#demosNews |
|
266 |
'Opens a simple news reader demo.' |
|
267 |
||
268 |
#demosPen |
|
269 |
'Opens a demo for the Pen class.' |
|
270 |
||
271 |
#demosTelnet |
|
272 |
'Opens a Telnet terminal demo.' |
|
273 |
||
274 |
#demosWalkingMan |
|
275 |
'Opens a walking man animation demo.' |
|
276 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
277 |
#fileApplicationBuilder |
1616 | 278 |
'Open an Application Builder for building stand alone ST/X-applications.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
279 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
280 |
#fileFileBrowser |
1616 | 281 |
'Open a File Browser for loading, saving, and editing source files, etc.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
282 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
283 |
#fileLibraryBuilder |
1616 | 284 |
'Open a Library Builder for building binary class libraries.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
285 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
286 |
#fileModules |
1616 | 287 |
'Open a dialog for showing (and unloading) class libraries and other modules.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
288 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
289 |
#fileSaveImage |
1616 | 290 |
'Save the current snapshot image of ST/X.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
291 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
292 |
#fileSaveImageAs |
1616 | 293 |
'Open a file dialog to save the current snapshot image of ST/X.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
294 |
|
1759 | 295 |
#gamesTetris |
296 |
'The tetris game - written in Smalltalk.' |
|
297 |
||
298 |
#gamesTicTacToe |
|
299 |
'Play TicTacToe against the computer.' |
|
300 |
||
301 |
#gamesTicTacToe2 |
|
302 |
'Play TicTacToe against a friend.' |
|
303 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
304 |
#helpClassDocumentation |
1616 | 305 |
'Open an HTML-Browser showing smalltalk class documentation.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
306 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
307 |
#helpIndex |
1616 | 308 |
'Open an HTML-Browser showing the online documentation index.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
309 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
310 |
#helpPrintDocumentation |
1616 | 311 |
'Open a dialog to print various parts of the ST/X documentation.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
312 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
313 |
#helpSTXOnlineDocumentation |
1616 | 314 |
'Open an HTML-Browser showing the ST/X online documentation.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
315 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
316 |
#helpWhatsNew |
1616 | 317 |
'Open an HTML-Browser showing latest news about ST/X.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
318 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
319 |
#settingsCompilation |
1616 | 320 |
'Open a dialog for changing compiler settings.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
321 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
322 |
#settingsFonts |
1616 | 323 |
'Open a dialog for changing of the font defaults.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
324 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
325 |
#settingsKeyboardMappings |
1616 | 326 |
'Open a dialog for inspecting the mappings of the keyboard.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
327 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
328 |
#settingsLanguage |
1616 | 329 |
'Open a dialog for changing the national language.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
330 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
331 |
#settingsLoadSettings |
1616 | 332 |
'Open a dialog to restore the settings from a file.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
333 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
334 |
#settingsMessages |
1616 | 335 |
'Open a dialog for changing the settings for reporting infos/errors.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
336 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
337 |
#settingsMisc |
1616 | 338 |
'Open a dialog for changing other settings.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
339 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
340 |
#settingsObjectMemory |
1616 | 341 |
'Open a dialog for changing the object memory settings.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
342 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
343 |
#settingsPrinter |
1616 | 344 |
'Open a dialog for changing the printer settings.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
345 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
346 |
#settingsSaveSettings |
1616 | 347 |
'Open a dialog for saving the current settings to a file.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
348 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
349 |
#settingsScreen |
1616 | 350 |
'Open a dialog for changing the display screen settings.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
351 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
352 |
#settingsSourceAndDebugger |
1616 | 353 |
'Open a dialog for changing the settings of the source code management.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
354 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
355 |
#settingsViewStyle |
1616 | 356 |
'Open a dialog for changing the current view style.' |
1544 | 357 |
|
358 |
#system |
|
359 |
'System functions.' |
|
360 |
||
361 |
#systemEventTrace |
|
1616 | 362 |
'Select a view to toggle the event trace for it.' |
1544 | 363 |
|
364 |
#systemEventView |
|
1616 | 365 |
'Open a view and trace its window events on the console.' |
1544 | 366 |
|
367 |
#systemGarbageCollect |
|
1616 | 368 |
'Reclaim unused memory.' |
1544 | 369 |
|
370 |
#systemGarbageCollectAndCompress |
|
1616 | 371 |
'Reclaim unused memory and minimize the amount of used memory.' |
1544 | 372 |
|
373 |
#systemInterruptLatency |
|
1759 | 374 |
'Open an Interrupt Latency Monitor displaying methods which block interrupts for longer than a given time goal.' |
1544 | 375 |
|
376 |
#systemMemory |
|
1759 | 377 |
'Display object memory statistics.' |
1544 | 378 |
|
379 |
#systemMemoryUsage |
|
1616 | 380 |
'Display object memory usage by class.' |
1544 | 381 |
|
382 |
#systemProcesses |
|
1759 | 383 |
'Open a Process Monitor displaying ST/X processes.' |
1544 | 384 |
|
385 |
#systemSemaphores |
|
1759 | 386 |
'Open a Semaphore Monitor displaying ST/X semaphores.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
387 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
388 |
#tools |
1616 | 389 |
'Tool functions.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
390 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
391 |
#toolsChangesBrowser |
1616 | 392 |
'Open a Changes Browser on changes made to the current smalltalk environment.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
393 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
394 |
#toolsGUIPainter |
1616 | 395 |
'Open a GUI Painter for graphical user interface construction.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
396 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
397 |
#toolsImageEditor |
1616 | 398 |
'Open a Bitmap Image Editor.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
399 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
400 |
#toolsMenuEditor |
1616 | 401 |
'Open a Menu Editor for building menu bars, popup menus, and tool bars.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
402 |
|
1544 | 403 |
#toolsMisc |
1616 | 404 |
'Misc Tool functions.' |
1544 | 405 |
|
406 |
#toolsMiscNewLauncher |
|
1616 | 407 |
'(Re-)open a new launcher.' |
1544 | 408 |
|
409 |
#toolsMiscOldLauncher |
|
1616 | 410 |
'Open an old launcher.' |
1544 | 411 |
|
412 |
#toolsMiscProjects |
|
1616 | 413 |
'Project functions.' |
1544 | 414 |
|
415 |
#toolsMiscProjectsNewProject |
|
1616 | 416 |
'Create a new project.' |
1544 | 417 |
|
418 |
#toolsMiscProjectsSelectProject |
|
1616 | 419 |
'Select an existing project and reopen its windows.' |
1544 | 420 |
|
1759 | 421 |
#toolsOldChangesBrowser |
422 |
'Open the old changes browser.' |
|
423 |
||
1544 | 424 |
#toolsProjects |
425 |
'' |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
426 |
|
1759 | 427 |
#toolsTerminal |
428 |
'Open a terminal view (aka xterm)' |
|
429 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
430 |
#toolsWorkspace |
1616 | 431 |
'Open a Workspace for evaluating smalltalk expressions.' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
432 |
|
1544 | 433 |
#windows |
1616 | 434 |
'Window functions.' |
1544 | 435 |
|
436 |
#windowsDeiconifyAll |
|
1616 | 437 |
'Restore all minimized ST/X windows.' |
1544 | 438 |
|
439 |
#windowsFindAndDestroy |
|
1616 | 440 |
'Open a dialog for selecting an ST/X window by label and destroy it.' |
1544 | 441 |
|
442 |
#windowsFindAndRaise |
|
1616 | 443 |
'Open dialog for selecting an ST/X window by label and raise it.' |
1544 | 444 |
|
445 |
#windowsGrapScreen |
|
1616 | 446 |
'Grab the whole screen and save it to a bitmap-file.' |
1544 | 447 |
|
448 |
#windowsGrapScreenArea |
|
1616 | 449 |
'Grab an area of the screen and save it to a bitmap-file.' |
1544 | 450 |
|
451 |
#windowsGrapWindow |
|
1616 | 452 |
'Grab a window and save it to a bitmap-file.' |
1544 | 453 |
|
454 |
#windowsIconifyAll |
|
1616 | 455 |
'Minimize all ST/X windows to icons.' |
1544 | 456 |
|
457 |
#windowsSelectAndDestroy |
|
1616 | 458 |
'Select a window and destroys it.' |
1544 | 459 |
|
460 |
#windowsSelectAndInspect |
|
1616 | 461 |
'Select an ST/X window and opens an Inspector on it.' |
1544 | 462 |
|
463 |
#windowsViewTree |
|
1616 | 464 |
'Select an ST/X window and display its widget hierarchyin.' |
1544 | 465 |
|
466 |
#windowsViewTreeAllViews |
|
1616 | 467 |
'Display the widget hierarchies of all ST/X windows.' |
1544 | 468 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
469 |
) |
1759 | 470 |
|
1777 | 471 |
"Modified: / 31.7.1998 / 03:22:01 / cg" |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
472 |
! ! |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
473 |
|
1406 | 474 |
!NewLauncher class methodsFor:'interface specs'! |
475 |
||
476 |
windowSpec |
|
1527 | 477 |
"This resource specification was automatically generated |
478 |
by the UIPainter of ST/X." |
|
479 |
||
480 |
"Do not manually edit this!! If it is corrupted, |
|
481 |
the UIPainter may not be able to read the specification." |
|
1406 | 482 |
|
483 |
" |
|
484 |
UIPainter new openOnClass:NewLauncher andSelector:#windowSpec |
|
485 |
NewLauncher new openInterface:#windowSpec |
|
1527 | 486 |
NewLauncher open |
1406 | 487 |
" |
488 |
||
489 |
<resource: #canvas> |
|
490 |
||
491 |
^ |
|
492 |
||
493 |
#(#FullSpec |
|
1527 | 494 |
#window: |
1406 | 495 |
#(#WindowSpec |
1527 | 496 |
#name: 'Launcher' |
497 |
#layout: #(#LayoutFrame 407 0 353 0 697 0 554 0) |
|
498 |
#label: 'Launcher' |
|
499 |
#min: #(#Point 374 240) |
|
500 |
#max: #(#Point 1152 900) |
|
501 |
#bounds: #(#Rectangle 407 353 698 555) |
|
502 |
#menu: #menu |
|
503 |
#usePreferredExtent: false |
|
504 |
#icon: #stxIcon |
|
1406 | 505 |
) |
1527 | 506 |
#component: |
1406 | 507 |
#(#SpecCollection |
1527 | 508 |
#collection: |
1406 | 509 |
#( |
510 |
#(#MenuPanelSpec |
|
1527 | 511 |
#name: 'menuToolbarView' |
512 |
#layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 38 0) |
|
513 |
#menu: #menuToolbar |
|
514 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
1406 | 515 |
) |
516 |
#(#ArbitraryComponentSpec |
|
1527 | 517 |
#name: 'transcriptView' |
518 |
#layout: #(#LayoutFrame 0 0.0 40 0.0 0 1.0 -26 1.0) |
|
519 |
#hasHorizontalScrollBar: true |
|
520 |
#hasVerticalScrollBar: true |
|
521 |
#miniScrollerHorizontal: true |
|
522 |
#component: #TextCollector |
|
523 |
#hasBorder: false |
|
1406 | 524 |
) |
1422
bd1798d4454c
exit dialog changed + info bar as subSpec to class ToolApplicationModel moved
tz
parents:
1420
diff
changeset
|
525 |
#(#UISubSpecification |
1527 | 526 |
#name: 'infoBarSubSpec' |
527 |
#layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
|
528 |
#majorKey: #ToolApplicationModel |
|
529 |
#minorKey: #windowSpecForInfoBarWithClock |
|
1406 | 530 |
) |
531 |
) |
|
532 |
) |
|
533 |
) |
|
534 |
! ! |
|
535 |
||
1441 | 536 |
!NewLauncher class methodsFor:'menu specs'! |
537 |
||
538 |
menu |
|
1515 | 539 |
"This resource specification was automatically generated |
540 |
by the MenuEditor of ST/X." |
|
541 |
||
542 |
"Do not manually edit this!! If it is corrupted, |
|
543 |
the MenuEditor may not be able to read the specification." |
|
1441 | 544 |
|
545 |
" |
|
546 |
MenuEditor new openOnClass:NewLauncher andSelector:#menu |
|
547 |
(Menu new fromLiteralArrayEncoding:(NewLauncher menu)) startUp |
|
548 |
" |
|
549 |
||
550 |
<resource: #menu> |
|
551 |
||
552 |
^ |
|
553 |
||
554 |
#(#Menu |
|
555 |
||
556 |
#( |
|
557 |
#(#MenuItem |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
558 |
#label: 'About' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
559 |
#activeHelpKey: #about |
1479 | 560 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
561 |
#submenu: |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
562 |
#(#Menu |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
563 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
564 |
#( |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
565 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
566 |
#label: 'About Smalltalk/X...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
567 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
568 |
#value: #openAbout |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
569 |
#activeHelpKey: #aboutSTX |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
570 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
571 |
#(#MenuItem |
1590 | 572 |
#label: '-' |
573 |
) |
|
574 |
#(#MenuItem |
|
1582 | 575 |
#label: 'Licence Conditions' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
576 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
577 |
#value: #openLicenseConditions |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
578 |
#activeHelpKey: #aboutLicenseConditions |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
579 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
580 |
) nil |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
581 |
nil |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
582 |
) |
1441 | 583 |
) |
584 |
#(#MenuItem |
|
1479 | 585 |
#label: 'File' |
586 |
#translateLabel: true |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
587 |
#activeHelpKey: #file |
1479 | 588 |
#submenu: |
1441 | 589 |
#(#Menu |
590 |
||
591 |
#( |
|
592 |
#(#MenuItem |
|
1479 | 593 |
#label: 'File Browser' |
594 |
#translateLabel: true |
|
595 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
596 |
#activeHelpKey: #fileFileBrowser |
1479 | 597 |
#argument: 'FileBrowser' |
598 |
#labelImage: #(#ResourceRetriever nil #startFileBrowserIcon 'File Browser') |
|
1441 | 599 |
) |
600 |
#(#MenuItem |
|
1479 | 601 |
#label: '-' |
1441 | 602 |
) |
603 |
#(#MenuItem |
|
1479 | 604 |
#label: 'Modules...' |
605 |
#translateLabel: true |
|
606 |
#value: #objectModuleDialog |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
607 |
#activeHelpKey: #fileModules |
1479 | 608 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
1441 | 609 |
) |
610 |
#(#MenuItem |
|
1527 | 611 |
#label: '-' |
612 |
) |
|
613 |
#(#MenuItem |
|
1531 | 614 |
#label: 'Library Builder' |
1479 | 615 |
#translateLabel: true |
1711
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
616 |
#isVisible: #libraryBuilderAvailable |
1479 | 617 |
#value: #openApplication: |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
618 |
#activeHelpKey: #fileLibraryBuilder |
1479 | 619 |
#argument: 'LibraryBuilder' |
1441 | 620 |
) |
621 |
#(#MenuItem |
|
1531 | 622 |
#label: 'Application Builder' |
1479 | 623 |
#translateLabel: true |
1711
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
624 |
#isVisible: #libraryBuilderAvailable |
1515 | 625 |
#value: #openApplication: |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
626 |
#activeHelpKey: #fileApplicationBuilder |
1515 | 627 |
#argument: 'ApplicationBuilder' |
1441 | 628 |
) |
629 |
#(#MenuItem |
|
1479 | 630 |
#label: '-' |
1711
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
631 |
#isVisible: #libraryBuilderAvailable |
1441 | 632 |
) |
633 |
#(#MenuItem |
|
1479 | 634 |
#label: 'Save Image' |
635 |
#translateLabel: true |
|
636 |
#value: #saveImage |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
637 |
#activeHelpKey: #fileSaveImage |
1479 | 638 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
1441 | 639 |
) |
640 |
#(#MenuItem |
|
1479 | 641 |
#label: 'Save Image As...' |
642 |
#translateLabel: true |
|
643 |
#value: #saveImageAs |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
644 |
#activeHelpKey: #fileSaveImageAs |
1479 | 645 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
1441 | 646 |
) |
647 |
#(#MenuItem |
|
1479 | 648 |
#label: '-' |
1441 | 649 |
) |
650 |
#(#MenuItem |
|
1479 | 651 |
#label: 'Exit...' |
652 |
#translateLabel: true |
|
653 |
#value: #exit |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
654 |
#activeHelpKey: #fileExit |
1479 | 655 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
1441 | 656 |
) |
657 |
) nil |
|
658 |
nil |
|
659 |
) |
|
660 |
) |
|
661 |
#(#MenuItem |
|
1479 | 662 |
#label: 'Classes' |
663 |
#translateLabel: true |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
664 |
#activeHelpKey: #classes |
1479 | 665 |
#submenu: |
1441 | 666 |
#(#Menu |
667 |
||
668 |
#( |
|
669 |
#(#MenuItem |
|
1479 | 670 |
#label: 'System Browser' |
671 |
#translateLabel: true |
|
672 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
673 |
#activeHelpKey: #classesSystemBrowser |
1479 | 674 |
#argument: 'SystemBrowser' |
675 |
#labelImage: #(#ResourceRetriever nil #startSystemBrowserIcon 'System Browser') |
|
1441 | 676 |
) |
677 |
#(#MenuItem |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
678 |
#label: 'System Browser On Class' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
679 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
680 |
#activeHelpKey: #classesSystemBrowserOnClass |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
681 |
#labelImage: #(#ResourceRetriever nil #startSystemBrowserOnHistoryClassIcon 'System Browser On Class') |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
682 |
#submenuChannel: #menuClassHistory |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
683 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
684 |
#(#MenuItem |
1479 | 685 |
#label: '-' |
1441 | 686 |
) |
687 |
#(#MenuItem |
|
1479 | 688 |
#label: 'Class Browser...' |
689 |
#translateLabel: true |
|
690 |
#value: #startClassBrowser |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
691 |
#activeHelpKey: #classesClassBrowser |
1441 | 692 |
) |
693 |
#(#MenuItem |
|
1479 | 694 |
#label: 'Full Class Browser...' |
695 |
#translateLabel: true |
|
696 |
#value: #startFullClassBrowser |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
697 |
#activeHelpKey: #classesFullClassBrowser |
1441 | 698 |
) |
699 |
#(#MenuItem |
|
1479 | 700 |
#label: 'Class Hierarchy Browser...' |
701 |
#translateLabel: true |
|
702 |
#value: #startClassHierarchyBrowser |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
703 |
#activeHelpKey: #classesClassHierarchyBrowser |
1441 | 704 |
) |
705 |
#(#MenuItem |
|
1479 | 706 |
#label: 'Class Tree' |
707 |
#translateLabel: true |
|
708 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
709 |
#activeHelpKey: #classesClassTreeBrowser |
1479 | 710 |
#argument: 'ClassTreeGraphView' |
1441 | 711 |
) |
712 |
#(#MenuItem |
|
1479 | 713 |
#label: '-' |
1441 | 714 |
) |
715 |
#(#MenuItem |
|
1479 | 716 |
#label: 'Implementors...' |
717 |
#translateLabel: true |
|
718 |
#value: #browseImplementors |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
719 |
#activeHelpKey: #classesImplementors |
1441 | 720 |
) |
721 |
#(#MenuItem |
|
1479 | 722 |
#label: 'Senders...' |
723 |
#translateLabel: true |
|
724 |
#value: #browseSenders |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
725 |
#activeHelpKey: #classesSenders |
1441 | 726 |
) |
727 |
#(#MenuItem |
|
1479 | 728 |
#label: '-' |
1441 | 729 |
) |
730 |
#(#MenuItem |
|
1479 | 731 |
#label: 'Special' |
732 |
#translateLabel: true |
|
733 |
#value: #special |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
734 |
#activeHelpKey: #classesSpecial |
1479 | 735 |
#submenu: |
1441 | 736 |
#(#Menu |
737 |
||
738 |
#( |
|
739 |
#(#MenuItem |
|
1479 | 740 |
#label: 'References To Undeclared' |
741 |
#translateLabel: true |
|
742 |
#value: #browseUndeclared |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
743 |
#activeHelpKey: #classesSpecialReferencesToUndeclared |
1441 | 744 |
) |
745 |
#(#MenuItem |
|
1774 | 746 |
#label: 'Find Resource Methods...' |
1479 | 747 |
#translateLabel: true |
748 |
#value: #browseResources |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
749 |
#activeHelpKey: #classesResourceMethods |
1441 | 750 |
) |
751 |
#(#MenuItem |
|
1774 | 752 |
#label: 'Show All Break && Trace Points' |
1479 | 753 |
#translateLabel: true |
754 |
#value: #browseAllBreakAndTracePoints |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
755 |
#activeHelpKey: #classesShowTracePoints |
1441 | 756 |
) |
757 |
#(#MenuItem |
|
1479 | 758 |
#label: '-' |
1441 | 759 |
) |
760 |
#(#MenuItem |
|
1774 | 761 |
#label: 'Remove All Break && Trace Points' |
1479 | 762 |
#translateLabel: true |
763 |
#value: #removeAllBreakAndTracePoints |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
764 |
#activeHelpKey: #classesRemoveAllTracePoints |
1441 | 765 |
) |
766 |
) nil |
|
767 |
nil |
|
768 |
) |
|
769 |
) |
|
770 |
) nil |
|
771 |
nil |
|
772 |
) |
|
773 |
) |
|
774 |
#(#MenuItem |
|
1479 | 775 |
#label: 'Tools' |
776 |
#translateLabel: true |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
777 |
#activeHelpKey: #tools |
1479 | 778 |
#submenu: |
1441 | 779 |
#(#Menu |
780 |
||
781 |
#( |
|
782 |
#(#MenuItem |
|
1479 | 783 |
#label: 'Workspace' |
784 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
785 |
#activeHelpKey: #toolsWorkspace |
1479 | 786 |
#argument: 'Workspace' |
787 |
#labelImage: #(#ResourceRetriever nil #startWorkspaceIcon 'Workspace') |
|
1441 | 788 |
) |
789 |
#(#MenuItem |
|
1479 | 790 |
#label: '-' |
1441 | 791 |
) |
792 |
#(#MenuItem |
|
1480 | 793 |
#label: 'GUI Painter' |
1479 | 794 |
#value: #openApplication: |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
795 |
#activeHelpKey: #toolsGUIPainter |
1479 | 796 |
#argument: 'UIPainter' |
1480 | 797 |
#labelImage: #(#ResourceRetriever nil #startUIPainterIcon 'GUI Painter') |
1441 | 798 |
) |
799 |
#(#MenuItem |
|
1479 | 800 |
#label: 'Menu Editor' |
801 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
802 |
#activeHelpKey: #toolsMenuEditor |
1479 | 803 |
#argument: 'MenuEditor' |
804 |
#labelImage: #(#ResourceRetriever nil #startMenuEditorIcon 'Menu Editor') |
|
1441 | 805 |
) |
806 |
#(#MenuItem |
|
1479 | 807 |
#label: 'Image Editor' |
808 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
809 |
#activeHelpKey: #toolsImageEditor |
1479 | 810 |
#argument: 'ImageEditor' |
811 |
#labelImage: #(#ResourceRetriever nil #startImageEditorIcon 'Image Editor') |
|
1441 | 812 |
) |
813 |
#(#MenuItem |
|
1479 | 814 |
#label: '-' |
1441 | 815 |
) |
816 |
#(#MenuItem |
|
1479 | 817 |
#label: 'Changes Browser' |
818 |
#translateLabel: true |
|
819 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
820 |
#activeHelpKey: #toolsChangesBrowser |
1637 | 821 |
#argument: 'NewChangesBrowser' |
1479 | 822 |
#labelImage: #(#ResourceRetriever nil #startChangesBrowserIcon 'Changes Browser') |
1441 | 823 |
) |
824 |
#(#MenuItem |
|
1479 | 825 |
#label: '-' |
1441 | 826 |
) |
827 |
#(#MenuItem |
|
1544 | 828 |
#label: 'Misc' |
1479 | 829 |
#translateLabel: true |
1544 | 830 |
#activeHelpKey: #toolsMisc |
1479 | 831 |
#submenu: |
1441 | 832 |
#(#Menu |
833 |
||
834 |
#( |
|
835 |
#(#MenuItem |
|
1544 | 836 |
#label: 'Projects' |
1479 | 837 |
#translateLabel: true |
1544 | 838 |
#activeHelpKey: #toolsMiscProjects |
839 |
#submenu: |
|
840 |
#(#Menu |
|
841 |
||
842 |
#( |
|
843 |
#(#MenuItem |
|
844 |
#label: 'New Project' |
|
845 |
#translateLabel: true |
|
846 |
#value: #newProject |
|
847 |
#activeHelpKey: #toolsMiscProjectsNewProject |
|
848 |
) |
|
849 |
#(#MenuItem |
|
850 |
#label: '-' |
|
851 |
) |
|
852 |
#(#MenuItem |
|
853 |
#label: 'Select Project...' |
|
854 |
#translateLabel: true |
|
855 |
#value: #selectProject |
|
856 |
#activeHelpKey: #toolsMiscProjectsSelectProject |
|
857 |
) |
|
858 |
) nil |
|
859 |
nil |
|
860 |
) |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
861 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
862 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
863 |
#label: '-' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
864 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
865 |
#(#MenuItem |
1544 | 866 |
#label: 'New Launcher' |
1479 | 867 |
#translateLabel: true |
1544 | 868 |
#value: #startNewLauncher |
869 |
#activeHelpKey: #toolsMiscNewLauncher |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
870 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
871 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
872 |
#label: 'Old Launcher' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
873 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
874 |
#value: #startOldLauncher |
1544 | 875 |
#activeHelpKey: #toolsMiscOldLauncher |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
876 |
) |
1680
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
877 |
#(#MenuItem |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
878 |
#label: '-' |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
879 |
) |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
880 |
#(#MenuItem |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
881 |
#label: 'Old Changes Browser' |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
882 |
#translateLabel: true |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
883 |
#value: #startOldChangesBrowser |
1759 | 884 |
#activeHelpKey: #toolsOldChangesBrowser |
1680
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
885 |
) |
1752 | 886 |
#(#MenuItem |
887 |
#label: '-' |
|
888 |
) |
|
889 |
#(#MenuItem |
|
890 |
#label: 'Terminal' |
|
891 |
#translateLabel: true |
|
892 |
#isVisible: #canDoTerminal |
|
893 |
#value: #openTerminal |
|
1759 | 894 |
#activeHelpKey: #toolsTerminal |
1752 | 895 |
) |
1441 | 896 |
) nil |
897 |
nil |
|
898 |
) |
|
899 |
) |
|
900 |
) nil |
|
901 |
nil |
|
902 |
) |
|
903 |
) |
|
904 |
#(#MenuItem |
|
1544 | 905 |
#label: 'System' |
1479 | 906 |
#translateLabel: true |
1544 | 907 |
#activeHelpKey: #system |
1479 | 908 |
#submenu: |
1441 | 909 |
#(#Menu |
910 |
||
911 |
#( |
|
912 |
#(#MenuItem |
|
1544 | 913 |
#label: 'Memory' |
914 |
#translateLabel: true |
|
915 |
#value: #openApplication: |
|
916 |
#activeHelpKey: #systemMemory |
|
917 |
#argument: 'MemoryMonitor' |
|
918 |
) |
|
919 |
#(#MenuItem |
|
920 |
#label: 'Memory Usage' |
|
1479 | 921 |
#translateLabel: true |
1544 | 922 |
#value: #openApplication: |
923 |
#activeHelpKey: #systemMemoryUsage |
|
924 |
#argument: 'MemoryUsageView' |
|
925 |
) |
|
926 |
#(#MenuItem |
|
927 |
#label: '-' |
|
928 |
) |
|
929 |
#(#MenuItem |
|
930 |
#label: 'Processes' |
|
931 |
#translateLabel: true |
|
932 |
#value: #openApplication: |
|
933 |
#activeHelpKey: #systemProcesses |
|
934 |
#argument: 'ProcessMonitor' |
|
935 |
) |
|
936 |
#(#MenuItem |
|
937 |
#label: 'Semaphores' |
|
938 |
#translateLabel: true |
|
939 |
#value: #openApplication: |
|
940 |
#activeHelpKey: #systemSemaphores |
|
941 |
#argument: 'SemaphoreMonitor' |
|
1441 | 942 |
) |
943 |
#(#MenuItem |
|
1479 | 944 |
#label: '-' |
1441 | 945 |
) |
946 |
#(#MenuItem |
|
1544 | 947 |
#label: 'Interrupt Latency' |
948 |
#translateLabel: true |
|
949 |
#value: #startLatencyMonitor |
|
950 |
#activeHelpKey: #systemInterruptLatency |
|
951 |
) |
|
952 |
#(#MenuItem |
|
953 |
#label: '-' |
|
954 |
) |
|
955 |
#(#MenuItem |
|
956 |
#label: 'Event View' |
|
957 |
#translateLabel: true |
|
958 |
#value: #openApplication: |
|
959 |
#activeHelpKey: #systemEventView |
|
960 |
#argument: 'EventMonitor' |
|
961 |
) |
|
962 |
#(#MenuItem |
|
963 |
#label: 'Event Trace' |
|
1479 | 964 |
#translateLabel: true |
1544 | 965 |
#value: #startStopEventTrace |
966 |
#activeHelpKey: #systemEventTrace |
|
967 |
) |
|
968 |
#(#MenuItem |
|
969 |
#label: '-' |
|
970 |
) |
|
971 |
#(#MenuItem |
|
972 |
#label: 'Collect Garbage' |
|
973 |
#translateLabel: true |
|
974 |
#value: #garbageCollect |
|
975 |
#activeHelpKey: #systemGarbageCollect |
|
976 |
#labelImage: #(#ResourceRetriever nil #garbageCollectIcon 'Collect Garbage') |
|
977 |
) |
|
978 |
#(#MenuItem |
|
979 |
#label: 'Collect Garbage And Compress' |
|
980 |
#translateLabel: true |
|
981 |
#value: #compressingGarbageCollect |
|
982 |
#activeHelpKey: #systemGarbageCollectAndCompress |
|
983 |
#labelImage: #(#ResourceRetriever nil #garbageCollectIcon 'Collect Garbage And Compress') |
|
984 |
) |
|
985 |
#(#MenuItem |
|
986 |
#label: '-' |
|
987 |
#isVisible: #javaSupportPresent |
|
988 |
) |
|
989 |
#(#MenuItem |
|
990 |
#label: 'Reinit Java VM' |
|
991 |
#isVisible: #javaSupportPresent |
|
992 |
#value: #initJavaVM |
|
1441 | 993 |
) |
994 |
) nil |
|
995 |
nil |
|
996 |
) |
|
997 |
) |
|
998 |
#(#MenuItem |
|
1479 | 999 |
#label: 'Settings' |
1582 | 1000 |
#translateLabel: true |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1001 |
#activeHelpKey: #settings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1002 |
#submenu: |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1003 |
#(#Menu |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1004 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1005 |
#( |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1006 |
#(#MenuItem |
1658 | 1007 |
#label: 'Language...' |
1008 |
#translateLabel: true |
|
1009 |
#value: #languageSetting |
|
1010 |
#activeHelpKey: #settingsLanguage |
|
1011 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
1012 |
) |
|
1013 |
#(#MenuItem |
|
1014 |
#label: 'Keyboard Mappings...' |
|
1015 |
#translateLabel: true |
|
1016 |
#value: #keyboardSetting |
|
1017 |
#activeHelpKey: #settingsKeyboardMappings |
|
1018 |
) |
|
1019 |
#(#MenuItem |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1020 |
#label: 'View Style...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1021 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1022 |
#value: #viewStyleSetting |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1023 |
#activeHelpKey: #settingsViewStyle |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1024 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1025 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1026 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1027 |
#label: 'Fonts...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1028 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1029 |
#value: #fontSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1030 |
#activeHelpKey: #settingsFonts |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1031 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1032 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1033 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1034 |
#label: '-' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1035 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1036 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1037 |
#label: 'Messages...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1038 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1039 |
#value: #messageSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1040 |
#activeHelpKey: #settingsMessages |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1041 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1042 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1043 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1044 |
#label: 'Compilation...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1045 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1046 |
#value: #compilerSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1047 |
#activeHelpKey: #settingsCompilation |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1048 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1049 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1050 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1051 |
#label: 'Object Memory...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1052 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1053 |
#value: #memorySettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1054 |
#activeHelpKey: #settingsObjectMemory |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1055 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1056 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1057 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1058 |
#label: 'Source And Debugger...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1059 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1060 |
#value: #sourceAndDebuggerSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1061 |
#activeHelpKey: #settingsSourceAndDebugger |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1062 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1063 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1064 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1065 |
#label: '-' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1066 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1067 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1068 |
#label: 'Printer...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1069 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1070 |
#value: #printerSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1071 |
#activeHelpKey: #settingsPrinter |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1072 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1073 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1074 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1075 |
#label: 'Screen...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1076 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1077 |
#value: #displaySettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1078 |
#activeHelpKey: #settingsScreen |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1079 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1080 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1081 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1082 |
#label: '-' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1083 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1084 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1085 |
#label: 'Misc...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1086 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1087 |
#value: #miscSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1088 |
#activeHelpKey: #settingsMisc |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1089 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1090 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1091 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1092 |
#label: '-' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1093 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1094 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1095 |
#label: 'Save Settings...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1096 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1097 |
#value: #saveSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1098 |
#activeHelpKey: #settingsSaveSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1099 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1100 |
#(#MenuItem |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1101 |
#label: 'Load Settings...' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1102 |
#translateLabel: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1103 |
#value: #loadSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1104 |
#activeHelpKey: #settingsLoadSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1105 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1106 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1107 |
) nil |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1108 |
nil |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1109 |
) |
1441 | 1110 |
) |
1111 |
#(#MenuItem |
|
1544 | 1112 |
#label: 'Windows' |
1113 |
#translateLabel: true |
|
1114 |
#activeHelpKey: #windows |
|
1115 |
#submenu: |
|
1116 |
#(#Menu |
|
1117 |
||
1118 |
#( |
|
1119 |
#(#MenuItem |
|
1120 |
#label: 'Iconify All' |
|
1121 |
#translateLabel: true |
|
1122 |
#value: #iconifyAllWindows |
|
1123 |
#activeHelpKey: #windowsIconifyAll |
|
1124 |
) |
|
1125 |
#(#MenuItem |
|
1126 |
#label: 'De-iconify All' |
|
1127 |
#translateLabel: true |
|
1128 |
#value: #deIconifyAllWindows |
|
1129 |
#activeHelpKey: #windowsDeiconifyAll |
|
1130 |
) |
|
1131 |
#(#MenuItem |
|
1132 |
#label: '-' |
|
1133 |
) |
|
1134 |
#(#MenuItem |
|
1135 |
#label: 'View Tree' |
|
1136 |
#translateLabel: true |
|
1137 |
#value: #startWindowTreeView |
|
1138 |
#activeHelpKey: #windowsViewTree |
|
1139 |
) |
|
1140 |
#(#MenuItem |
|
1141 |
#label: 'View Tree (all windows)' |
|
1142 |
#translateLabel: true |
|
1143 |
#value: #openApplication: |
|
1144 |
#activeHelpKey: #windowsViewTreeAllViews |
|
1145 |
#argument: 'WindowTreeView' |
|
1146 |
) |
|
1147 |
#(#MenuItem |
|
1148 |
#label: '-' |
|
1149 |
) |
|
1150 |
#(#MenuItem |
|
1151 |
#label: 'Select And Inspect' |
|
1152 |
#translateLabel: true |
|
1153 |
#value: #viewInspect |
|
1154 |
#activeHelpKey: #windowsSelectAndInspect |
|
1155 |
) |
|
1156 |
#(#MenuItem |
|
1157 |
#label: 'Select And Destroy' |
|
1158 |
#translateLabel: true |
|
1159 |
#value: #viewDestroy |
|
1160 |
#activeHelpKey: #windowsSelectAndDestroy |
|
1161 |
) |
|
1162 |
#(#MenuItem |
|
1163 |
#label: '-' |
|
1164 |
) |
|
1165 |
#(#MenuItem |
|
1166 |
#label: 'Find And Raise...' |
|
1167 |
#translateLabel: true |
|
1168 |
#value: #findAndRaiseWindow |
|
1169 |
#activeHelpKey: #windowsFindAndRaise |
|
1170 |
) |
|
1171 |
#(#MenuItem |
|
1172 |
#label: 'Find And Destroy...' |
|
1173 |
#translateLabel: true |
|
1174 |
#value: #findAndDestroyWindow |
|
1175 |
#activeHelpKey: #windowsFindAndDestroy |
|
1176 |
) |
|
1177 |
#(#MenuItem |
|
1178 |
#label: '-' |
|
1179 |
) |
|
1180 |
#(#MenuItem |
|
1181 |
#label: 'Grab Window...' |
|
1182 |
#translateLabel: true |
|
1183 |
#value: #viewHardcopy |
|
1184 |
#activeHelpKey: #windowsGrapWindow |
|
1185 |
) |
|
1186 |
#(#MenuItem |
|
1187 |
#label: 'Grab Screen...' |
|
1188 |
#translateLabel: true |
|
1189 |
#value: #fullScreenHardcopy |
|
1190 |
#activeHelpKey: #windowsGrapScreen |
|
1191 |
) |
|
1192 |
#(#MenuItem |
|
1193 |
#label: 'Grab Screen Area...' |
|
1194 |
#translateLabel: true |
|
1195 |
#value: #screenHardcopy |
|
1196 |
#activeHelpKey: #windowsGrapScreenArea |
|
1197 |
) |
|
1198 |
) nil |
|
1199 |
nil |
|
1200 |
) |
|
1201 |
) |
|
1202 |
#(#MenuItem |
|
1479 | 1203 |
#label: 'Demos' |
1204 |
#translateLabel: true |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1205 |
#activeHelpKey: #demos |
1479 | 1206 |
#submenu: |
1441 | 1207 |
#(#Menu |
1208 |
||
1209 |
#( |
|
1210 |
#(#MenuItem |
|
1479 | 1211 |
#label: 'Goodies' |
1212 |
#translateLabel: true |
|
1759 | 1213 |
#activeHelpKey: #demosGoodies |
1479 | 1214 |
#submenu: |
1441 | 1215 |
#(#Menu |
1216 |
||
1217 |
#( |
|
1218 |
#(#MenuItem |
|
1479 | 1219 |
#label: 'Clock' |
1220 |
#translateLabel: true |
|
1221 |
#value: #openDemo: |
|
1759 | 1222 |
#activeHelpKey: #demosClock |
1479 | 1223 |
#argument: 'Clock' |
1441 | 1224 |
) |
1225 |
#(#MenuItem |
|
1479 | 1226 |
#label: 'Digital Clock' |
1227 |
#translateLabel: true |
|
1228 |
#value: #openDemo: |
|
1759 | 1229 |
#activeHelpKey: #demosDigitalClock |
1479 | 1230 |
#argument: 'DigitalClockView' |
1441 | 1231 |
) |
1232 |
#(#MenuItem |
|
1479 | 1233 |
#label: 'Calendar' |
1234 |
#translateLabel: true |
|
1235 |
#value: #openDemo: |
|
1759 | 1236 |
#activeHelpKey: #demosCalendar |
1479 | 1237 |
#argument: 'Calendar' |
1441 | 1238 |
) |
1239 |
#(#MenuItem |
|
1479 | 1240 |
#label: 'Calculator' |
1241 |
#translateLabel: true |
|
1242 |
#value: #openDemo: |
|
1759 | 1243 |
#activeHelpKey: #demosCalculator |
1479 | 1244 |
#argument: 'CalculatorView' |
1441 | 1245 |
) |
1246 |
#(#MenuItem |
|
1479 | 1247 |
#label: '-' |
1441 | 1248 |
) |
1249 |
#(#MenuItem |
|
1479 | 1250 |
#label: 'Mail Tool' |
1251 |
#translateLabel: true |
|
1252 |
#value: #openDemo: |
|
1759 | 1253 |
#activeHelpKey: #demosMail |
1479 | 1254 |
#argument: 'MailView' |
1441 | 1255 |
) |
1256 |
#(#MenuItem |
|
1479 | 1257 |
#label: 'News Tool' |
1258 |
#translateLabel: true |
|
1259 |
#value: #openDemo: |
|
1759 | 1260 |
#activeHelpKey: #demosNews |
1479 | 1261 |
#argument: 'NewsView' |
1441 | 1262 |
) |
1263 |
#(#MenuItem |
|
1479 | 1264 |
#label: 'FTP Tool' |
1265 |
#translateLabel: true |
|
1266 |
#value: #openDemo: |
|
1759 | 1267 |
#activeHelpKey: #demosFTP |
1479 | 1268 |
#argument: 'FTPTool' |
1441 | 1269 |
) |
1755
3e0a522d55ec
added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents:
1752
diff
changeset
|
1270 |
#(#MenuItem |
3e0a522d55ec
added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents:
1752
diff
changeset
|
1271 |
#label: 'Telnet Tool' |
3e0a522d55ec
added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents:
1752
diff
changeset
|
1272 |
#translateLabel: true |
3e0a522d55ec
added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents:
1752
diff
changeset
|
1273 |
#value: #openDemo: |
1759 | 1274 |
#activeHelpKey: #demosTelnet |
1755
3e0a522d55ec
added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents:
1752
diff
changeset
|
1275 |
#argument: 'TelnetTool' |
3e0a522d55ec
added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents:
1752
diff
changeset
|
1276 |
) |
1441 | 1277 |
) nil |
1278 |
nil |
|
1279 |
) |
|
1280 |
) |
|
1281 |
#(#MenuItem |
|
1479 | 1282 |
#label: 'Games' |
1283 |
#translateLabel: true |
|
1759 | 1284 |
#activeHelpKey: #demosGames |
1479 | 1285 |
#submenu: |
1441 | 1286 |
#(#Menu |
1287 |
||
1288 |
#( |
|
1289 |
#(#MenuItem |
|
1479 | 1290 |
#label: 'Tetris' |
1291 |
#translateLabel: true |
|
1292 |
#value: #openDemo: |
|
1759 | 1293 |
#activeHelpKey: #gamesTetris |
1479 | 1294 |
#argument: 'Games::Tetris' |
1441 | 1295 |
) |
1296 |
#(#MenuItem |
|
1479 | 1297 |
#label: 'Tic Tac Toe' |
1298 |
#translateLabel: true |
|
1299 |
#value: #openDemo: |
|
1759 | 1300 |
#activeHelpKey: #gamesTicTacToe |
1588 | 1301 |
#argument: 'Games::TicTacToeGame' |
1441 | 1302 |
) |
1303 |
#(#MenuItem |
|
1479 | 1304 |
#label: 'Tic Tac Toe (2 players)' |
1305 |
#translateLabel: true |
|
1306 |
#value: #startTicTacToe2 |
|
1759 | 1307 |
#activeHelpKey: #gamesTicTacToe2 |
1441 | 1308 |
) |
1309 |
) nil |
|
1310 |
nil |
|
1311 |
) |
|
1312 |
) |
|
1313 |
#(#MenuItem |
|
1479 | 1314 |
#label: 'Geometric Designs' |
1315 |
#translateLabel: true |
|
1759 | 1316 |
#activeHelpKey: #demosGeometric |
1479 | 1317 |
#submenu: |
1441 | 1318 |
#(#Menu |
1319 |
||
1320 |
#( |
|
1321 |
#(#MenuItem |
|
1479 | 1322 |
#label: 'Pen Demo' |
1323 |
#translateLabel: true |
|
1324 |
#value: #openDemo: |
|
1759 | 1325 |
#activeHelpKey: #demosPen |
1479 | 1326 |
#argument: 'PenDemo' |
1441 | 1327 |
) |
1328 |
#(#MenuItem |
|
1479 | 1329 |
#label: 'Commander Demo' |
1330 |
#translateLabel: true |
|
1331 |
#value: #openDemo: |
|
1759 | 1332 |
#activeHelpKey: #demosCommander |
1479 | 1333 |
#argument: 'CommanderDemo' |
1441 | 1334 |
) |
1335 |
#(#MenuItem |
|
1479 | 1336 |
#label: '-' |
1441 | 1337 |
) |
1338 |
#(#MenuItem |
|
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
1339 |
#label: 'Mandel' |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
1340 |
#translateLabel: true |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
1341 |
#value: #openMandelbrotDemo |
1759 | 1342 |
#activeHelpKey: #demosMandel |
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
1343 |
) |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
1344 |
#(#MenuItem |
1479 | 1345 |
#label: 'Fractal Plants Demo' |
1346 |
#translateLabel: true |
|
1347 |
#value: #openDemo: |
|
1759 | 1348 |
#activeHelpKey: #demosFractalPlants |
1479 | 1349 |
#argument: 'FractalPlantsDemo' |
1441 | 1350 |
) |
1351 |
#(#MenuItem |
|
1479 | 1352 |
#label: 'Fractal Patterns Demo' |
1353 |
#translateLabel: true |
|
1354 |
#value: #openDemo: |
|
1759 | 1355 |
#activeHelpKey: #demosFractalPatterns |
1479 | 1356 |
#argument: 'FractalPatternsDemo' |
1441 | 1357 |
) |
1358 |
#(#MenuItem |
|
1479 | 1359 |
#label: 'More Fractal Patterns Demo' |
1360 |
#translateLabel: true |
|
1361 |
#value: #openDemo: |
|
1759 | 1362 |
#activeHelpKey: #demosMoreFractalPatterns |
1479 | 1363 |
#argument: 'ArmchairUniverseDemo' |
1441 | 1364 |
) |
1365 |
) nil |
|
1366 |
nil |
|
1367 |
) |
|
1368 |
) |
|
1369 |
#(#MenuItem |
|
1479 | 1370 |
#label: 'Simple Animations' |
1371 |
#translateLabel: true |
|
1759 | 1372 |
#activeHelpKey: #demosAnimations |
1479 | 1373 |
#submenu: |
1441 | 1374 |
#(#Menu |
1375 |
||
1376 |
#( |
|
1377 |
#(#MenuItem |
|
1479 | 1378 |
#label: 'Walking Man' |
1379 |
#translateLabel: true |
|
1380 |
#value: #openDemo: |
|
1759 | 1381 |
#activeHelpKey: #demosWalkingMan |
1479 | 1382 |
#argument: 'Animation' |
1441 | 1383 |
) |
1384 |
#(#MenuItem |
|
1479 | 1385 |
#label: 'Globe Demo' |
1386 |
#translateLabel: true |
|
1387 |
#value: #openDemo: |
|
1759 | 1388 |
#activeHelpKey: #demosGlobe |
1479 | 1389 |
#argument: 'GlobeDemo' |
1441 | 1390 |
) |
1391 |
) nil |
|
1392 |
nil |
|
1393 |
) |
|
1394 |
) |
|
1395 |
#(#MenuItem |
|
1479 | 1396 |
#label: '3D Graphics' |
1397 |
#translateLabel: true |
|
1759 | 1398 |
#activeHelpKey: #demos3D |
1479 | 1399 |
#submenu: |
1441 | 1400 |
#(#Menu |
1401 |
||
1402 |
#( |
|
1403 |
#(#MenuItem |
|
1479 | 1404 |
#label: 'Plane' |
1405 |
#translateLabel: true |
|
1406 |
#value: #openDemo: |
|
1759 | 1407 |
#activeHelpKey: #demos3Dplane |
1479 | 1408 |
#argument: 'GLPlaneDemoView2' |
1441 | 1409 |
) |
1410 |
#(#MenuItem |
|
1479 | 1411 |
#label: 'Tetra' |
1412 |
#translateLabel: true |
|
1413 |
#value: #openDemo: |
|
1759 | 1414 |
#activeHelpKey: #demos3Dtetra |
1479 | 1415 |
#argument: 'GLTetraDemoView' |
1441 | 1416 |
) |
1417 |
#(#MenuItem |
|
1479 | 1418 |
#label: 'Cube (wireframe)' |
1419 |
#translateLabel: true |
|
1420 |
#value: #openDemo: |
|
1759 | 1421 |
#activeHelpKey: #demos3DcubeWire |
1479 | 1422 |
#argument: 'GLWireCubeDemoView' |
1441 | 1423 |
) |
1424 |
#(#MenuItem |
|
1479 | 1425 |
#label: 'Cube (solid)' |
1426 |
#translateLabel: true |
|
1427 |
#value: #openDemo: |
|
1759 | 1428 |
#activeHelpKey: #demos3DcubeSolid |
1479 | 1429 |
#argument: 'GLCubeDemoView' |
1441 | 1430 |
) |
1431 |
#(#MenuItem |
|
1479 | 1432 |
#label: 'Sphere (wireframe)' |
1433 |
#translateLabel: true |
|
1434 |
#value: #openDemo: |
|
1759 | 1435 |
#activeHelpKey: #demos3Dsphere |
1479 | 1436 |
#argument: 'GLWireSphereDemoView' |
1441 | 1437 |
) |
1438 |
#(#MenuItem |
|
1479 | 1439 |
#label: 'Doughnut (wireframe)' |
1440 |
#translateLabel: true |
|
1441 |
#value: #openDemo: |
|
1759 | 1442 |
#activeHelpKey: #demos3Ddoughnut |
1479 | 1443 |
#argument: 'GLDoughnutDemoView' |
1441 | 1444 |
) |
1445 |
#(#MenuItem |
|
1479 | 1446 |
#label: 'Planet' |
1447 |
#translateLabel: true |
|
1448 |
#value: #openDemo: |
|
1759 | 1449 |
#activeHelpKey: #demos3Dplanet |
1479 | 1450 |
#argument: 'GLPlanetDemoView' |
1441 | 1451 |
) |
1452 |
#(#MenuItem |
|
1479 | 1453 |
#label: 'Teapot' |
1454 |
#translateLabel: true |
|
1455 |
#value: #openDemo: |
|
1759 | 1456 |
#activeHelpKey: #demos3Dteapot |
1479 | 1457 |
#argument: 'GLTeapotDemo' |
1441 | 1458 |
) |
1459 |
#(#MenuItem |
|
1479 | 1460 |
#label: 'Logo' |
1461 |
#translateLabel: true |
|
1462 |
#value: #openDemo: |
|
1759 | 1463 |
#activeHelpKey: #demos3Dlogo |
1479 | 1464 |
#argument: 'Logo3DView1' |
1441 | 1465 |
) |
1466 |
#(#MenuItem |
|
1479 | 1467 |
#label: 'Rubics Cube' |
1468 |
#translateLabel: true |
|
1469 |
#value: #openDemo: |
|
1759 | 1470 |
#activeHelpKey: #demosCommander |
1479 | 1471 |
#argument: 'RubicsCubeView' |
1441 | 1472 |
) |
1473 |
#(#MenuItem |
|
1479 | 1474 |
#label: 'X/Y Graph' |
1475 |
#translateLabel: true |
|
1476 |
#value: #openDemo: |
|
1477 |
#argument: 'GLXYGraph' |
|
1441 | 1478 |
) |
1479 |
#(#MenuItem |
|
1679 | 1480 |
#label: 'X/Y Graph Widget' |
1481 |
#translateLabel: true |
|
1482 |
#value: #openDemo: |
|
1483 |
#argument: 'CodingExamples_GUI::GLXYGraph3DDemo' |
|
1484 |
) |
|
1485 |
#(#MenuItem |
|
1486 |
#label: 'X/Y Graph Animated' |
|
1487 |
#translateLabel: true |
|
1488 |
#value: #openDemo: |
|
1489 |
#argument: 'CodingExamples_GUI::AnimatedGLXYGraph3DDemo' |
|
1490 |
) |
|
1491 |
#(#MenuItem |
|
1479 | 1492 |
#label: '-' |
1441 | 1493 |
) |
1494 |
#(#MenuItem |
|
1479 | 1495 |
#label: 'Cube (light)' |
1496 |
#translateLabel: true |
|
1497 |
#value: #openDemo: |
|
1498 |
#argument: 'GLCubeDemoView2' |
|
1441 | 1499 |
) |
1500 |
#(#MenuItem |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1501 |
#label: 'Cube (light and texture)' |
1479 | 1502 |
#translateLabel: true |
1503 |
#value: #openDemo: |
|
1504 |
#argument: 'GLBrickCubeDemoView' |
|
1441 | 1505 |
) |
1506 |
#(#MenuItem |
|
1479 | 1507 |
#label: 'Sphere (light)' |
1508 |
#translateLabel: true |
|
1509 |
#value: #openDemo: |
|
1510 |
#argument: 'GLSphereDemoView2' |
|
1441 | 1511 |
) |
1512 |
#(#MenuItem |
|
1479 | 1513 |
#label: 'Colored Octahedron' |
1514 |
#translateLabel: true |
|
1515 |
#value: #openDemo: |
|
1516 |
#argument: 'GLOctaHedronDemoView' |
|
1441 | 1517 |
) |
1518 |
) nil |
|
1519 |
nil |
|
1520 |
) |
|
1521 |
) |
|
1522 |
#(#MenuItem |
|
1479 | 1523 |
#label: 'Graphic Editors' |
1524 |
#translateLabel: true |
|
1777 | 1525 |
#activeHelpKey: #demosGraphicEditors |
1479 | 1526 |
#submenu: |
1441 | 1527 |
#(#Menu |
1528 |
||
1529 |
#( |
|
1530 |
#(#MenuItem |
|
1479 | 1531 |
#label: 'Draw Tool' |
1532 |
#translateLabel: true |
|
1533 |
#value: #openDemo: |
|
1534 |
#argument: 'DrawTool' |
|
1777 | 1535 |
#activeHelpKey: #demosGraphicEditorsDrawTool |
1441 | 1536 |
) |
1537 |
#(#MenuItem |
|
1479 | 1538 |
#label: 'Logic Tool' |
1539 |
#translateLabel: true |
|
1540 |
#value: #openDemo: |
|
1541 |
#argument: 'LogicTool' |
|
1777 | 1542 |
#activeHelpKey: #demosGraphicEditorsLogicTool |
1441 | 1543 |
) |
1544 |
#(#MenuItem |
|
1479 | 1545 |
#label: 'Paint Demo' |
1546 |
#translateLabel: true |
|
1547 |
#value: #openDemo: |
|
1548 |
#argument: 'ColorDrawDemo3' |
|
1777 | 1549 |
#activeHelpKey: #demosGraphicEditorsPaintTool |
1441 | 1550 |
) |
1551 |
) nil |
|
1552 |
nil |
|
1553 |
) |
|
1554 |
) |
|
1555 |
#(#MenuItem |
|
1479 | 1556 |
#label: 'GUI' |
1557 |
#translateLabel: true |
|
1777 | 1558 |
#activeHelpKey: #demosGUI |
1479 | 1559 |
#submenu: |
1441 | 1560 |
#(#Menu |
1561 |
||
1562 |
#( |
|
1563 |
#(#MenuItem |
|
1479 | 1564 |
#label: 'Widget Gallery' |
1565 |
#translateLabel: true |
|
1566 |
#value: #openDemo: |
|
1567 |
#argument: 'CodingExamples_GUI::GUIDemo' |
|
1777 | 1568 |
#activeHelpKey: #demosGUIWidgets |
1441 | 1569 |
) |
1570 |
#(#MenuItem |
|
1479 | 1571 |
#label: '-' |
1441 | 1572 |
) |
1573 |
#(#MenuItem |
|
1479 | 1574 |
#label: 'Calculator' |
1575 |
#translateLabel: true |
|
1576 |
#value: #openDemo: |
|
1577 |
#argument: 'CodingExamples_GUI::GUIDemoCalculator' |
|
1777 | 1578 |
#activeHelpKey: #demosGUICalculator |
1441 | 1579 |
) |
1580 |
) nil |
|
1581 |
nil |
|
1582 |
) |
|
1583 |
) |
|
1584 |
) nil |
|
1585 |
nil |
|
1586 |
) |
|
1587 |
) |
|
1588 |
#(#MenuItem |
|
1479 | 1589 |
#label: 'Help' |
1590 |
#translateLabel: true |
|
1591 |
#startGroup: #right |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1592 |
#activeHelpKey: #help |
1479 | 1593 |
#submenu: |
1441 | 1594 |
#(#Menu |
1595 |
||
1596 |
#( |
|
1597 |
#(#MenuItem |
|
1479 | 1598 |
#label: 'What''s New' |
1599 |
#translateLabel: true |
|
1600 |
#value: #startWhatsNewDocumentation |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1601 |
#activeHelpKey: #helpWhatsNew |
1441 | 1602 |
) |
1603 |
#(#MenuItem |
|
1479 | 1604 |
#label: 'Index' |
1605 |
#translateLabel: true |
|
1606 |
#value: #startDocumentationIndex |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1607 |
#activeHelpKey: #helpIndex |
1441 | 1608 |
) |
1609 |
#(#MenuItem |
|
1479 | 1610 |
#label: '-' |
1441 | 1611 |
) |
1612 |
#(#MenuItem |
|
1479 | 1613 |
#label: 'ST/X Online Documentation' |
1614 |
#translateLabel: true |
|
1615 |
#value: #startDocumentationTool |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1616 |
#activeHelpKey: #helpSTXOnlineDocumentation |
1441 | 1617 |
) |
1618 |
#(#MenuItem |
|
1479 | 1619 |
#label: 'Class Documentation' |
1620 |
#translateLabel: true |
|
1621 |
#value: #startClassDocumentation |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1622 |
#activeHelpKey: #helpClassDocumentation |
1441 | 1623 |
) |
1624 |
#(#MenuItem |
|
1479 | 1625 |
#label: '-' |
1441 | 1626 |
) |
1627 |
#(#MenuItem |
|
1651 | 1628 |
#label: 'Print Documentation...' |
1479 | 1629 |
#translateLabel: true |
1630 |
#value: #showBookPrintDocument |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1631 |
#activeHelpKey: #helpPrintDocumentation |
1441 | 1632 |
) |
1633 |
#(#MenuItem |
|
1479 | 1634 |
#label: '-' |
1441 | 1635 |
) |
1636 |
#(#MenuItem |
|
1479 | 1637 |
#label: 'Active Help' |
1638 |
#translateLabel: true |
|
1639 |
#value: #toggleActiveHelp: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1640 |
#activeHelpKey: #helpShowHelp |
1479 | 1641 |
#indication: #activeHelp |
1441 | 1642 |
) |
1643 |
) nil |
|
1644 |
nil |
|
1645 |
) |
|
1646 |
) |
|
1647 |
) nil |
|
1648 |
nil |
|
1649 |
) |
|
1679 | 1650 |
|
1777 | 1651 |
"Modified: / 31.7.1998 / 03:22:04 / cg" |
1441 | 1652 |
! |
1653 |
||
1654 |
menuToolbar |
|
1527 | 1655 |
"This resource specification was automatically generated |
1656 |
by the MenuEditor of ST/X." |
|
1657 |
||
1658 |
"Do not manually edit this!! If it is corrupted, |
|
1659 |
the MenuEditor may not be able to read the specification." |
|
1441 | 1660 |
|
1661 |
" |
|
1662 |
MenuEditor new openOnClass:NewLauncher andSelector:#menuToolbar |
|
1663 |
(Menu new fromLiteralArrayEncoding:(NewLauncher menuToolbar)) startUp |
|
1664 |
" |
|
1665 |
||
1666 |
<resource: #menu> |
|
1667 |
||
1668 |
^ |
|
1669 |
||
1670 |
#(#Menu |
|
1671 |
||
1672 |
#( |
|
1673 |
#(#MenuItem |
|
1527 | 1674 |
#label: 'open workspace' |
1675 |
#isButton: true |
|
1676 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1677 |
#activeHelpKey: #toolsWorkspace |
1527 | 1678 |
#argument: 'Workspace' |
1679 |
#labelImage: #(#ResourceRetriever nil #startWorkspaceIcon) |
|
1441 | 1680 |
) |
1681 |
#(#MenuItem |
|
1527 | 1682 |
#label: 'open file browser' |
1683 |
#isButton: true |
|
1684 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1685 |
#activeHelpKey: #fileFileBrowser |
1527 | 1686 |
#argument: 'FileBrowser' |
1687 |
#labelImage: #(#ResourceRetriever nil #startFileBrowserIcon) |
|
1441 | 1688 |
) |
1689 |
#(#MenuItem |
|
1527 | 1690 |
#label: 'save image' |
1691 |
#isButton: true |
|
1692 |
#value: #saveImageAs |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1693 |
#activeHelpKey: #fileSaveImageAs |
1527 | 1694 |
#labelImage: #(#ResourceRetriever nil #saveImageIcon) |
1441 | 1695 |
) |
1696 |
#(#MenuItem |
|
1527 | 1697 |
#label: '' |
1441 | 1698 |
) |
1699 |
#(#MenuItem |
|
1527 | 1700 |
#label: 'open system browser' |
1701 |
#isButton: true |
|
1702 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1703 |
#activeHelpKey: #classesSystemBrowser |
1527 | 1704 |
#argument: 'SystemBrowser' |
1705 |
#labelImage: #(#ResourceRetriever nil #startSystemBrowserIcon) |
|
1441 | 1706 |
) |
1707 |
#(#MenuItem |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1708 |
#label: 'System Browser On Class' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1709 |
#isButton: true |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1710 |
#activeHelpKey: #classesSystemBrowserOnClass |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1711 |
#labelImage: #(#ResourceRetriever nil #startSystemBrowserOnHistoryClassIcon) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1712 |
#submenuChannel: #menuClassHistory |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1713 |
) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1714 |
#(#MenuItem |
1527 | 1715 |
#label: 'open changes browser' |
1716 |
#isButton: true |
|
1717 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1718 |
#activeHelpKey: #toolsChangesBrowser |
1637 | 1719 |
#argument: 'NewChangesBrowser' |
1527 | 1720 |
#labelImage: #(#ResourceRetriever nil #startChangesBrowserIcon) |
1441 | 1721 |
) |
1722 |
#(#MenuItem |
|
1527 | 1723 |
#label: '' |
1441 | 1724 |
) |
1725 |
#(#MenuItem |
|
1527 | 1726 |
#label: 'open GUI Builder' |
1727 |
#isButton: true |
|
1728 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1729 |
#activeHelpKey: #toolsGUIPainter |
1527 | 1730 |
#argument: 'UIPainter' |
1731 |
#labelImage: #(#ResourceRetriever nil #startUIPainterIcon) |
|
1441 | 1732 |
) |
1733 |
#(#MenuItem |
|
1527 | 1734 |
#label: 'open menu editor' |
1735 |
#isButton: true |
|
1736 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1737 |
#activeHelpKey: #toolsMenuEditor |
1527 | 1738 |
#argument: 'MenuEditor' |
1739 |
#labelImage: #(#ResourceRetriever nil #startMenuEditorIcon) |
|
1441 | 1740 |
) |
1741 |
#(#MenuItem |
|
1527 | 1742 |
#label: 'open image editor' |
1743 |
#isButton: true |
|
1744 |
#value: #openApplication: |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1745 |
#activeHelpKey: #toolsImageEditor |
1527 | 1746 |
#argument: 'ImageEditor' |
1747 |
#labelImage: #(#ResourceRetriever nil #startImageEditorIcon) |
|
1441 | 1748 |
) |
1749 |
#(#MenuItem |
|
1527 | 1750 |
#label: '' |
1441 | 1751 |
) |
1752 |
#(#MenuItem |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1753 |
#label: 'garbage collect and compress' |
1527 | 1754 |
#isButton: true |
1755 |
#value: #compressingGarbageCollect |
|
1544 | 1756 |
#activeHelpKey: #systemGarbageCollectAndCompress |
1527 | 1757 |
#labelImage: #(#ResourceRetriever nil #garbageCollectIcon) |
1441 | 1758 |
) |
1759 |
) nil |
|
1760 |
nil |
|
1761 |
) |
|
1762 |
! ! |
|
1763 |
||
1424 | 1764 |
!NewLauncher class methodsFor:'resources'! |
1765 |
||
1766 |
garbageCollectIcon |
|
1527 | 1767 |
"This resource specification was automatically generated |
1768 |
by the ImageEditor of ST/X." |
|
1769 |
||
1770 |
"Do not manually edit this!! If it is corrupted, |
|
1771 |
the ImageEditor may not be able to read the specification." |
|
1772 |
||
1424 | 1773 |
" |
1527 | 1774 |
ImageEditor openOnClass:self andSelector:#garbageCollectIcon |
1424 | 1775 |
" |
1776 |
||
1777 |
<resource: #image> |
|
1778 |
||
1779 |
^Icon |
|
1780 |
constantNamed:#'NewLauncher garbageCollectIcon' |
|
1527 | 1781 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'DQD@@@.;.1D[DQDQD@@QDP@@.;.;,[,@@ADP@ADQ@@.;@@.;.1@@@A@@DQD@B;@@@[.;DCH@D@@QDP@K,@@K.;,Q@2@P@ADQ@K.;@@DQDQDPL @@DQDKB;B0@QDQ@@@C@@@QD[B0B0,ADP@"H"@@@ADQ@@@@@@DQ@P@@@0@@DQ@@@@C 8@@ADQL3@@@Q@@@@;.;.@@DCL0H@@@@@@@@NC @@@PLC@ @@@@@@C.;.8@@A@0LB@@@@@@@@8N@@@@DC@0H@@@@@B (@@AD@@PLC@ @@@@****@LG@@A@0LB@@@@@JB CL3L0@DC@0H@@@B***(@0L@Q@SLCL @@@@(J@L3L3AD@L"H @@@@@QDQC@0QDQD@@@DP@@@ADQD@@@@QD@@@@@@@@ @B@ @B@@HB@ H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B@@H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@H@@@H@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@G1@@@C>0@@A1=0@@XO^@@FG30@C0@^@AZ@? @)P?8@@@O>@@B#? @C<?8@@TO>@@_#? @B ?8@E@O>@G9S? @)>?8@?JO>@EO3? @APO @@@@@@]7]7\DUUUDAEUUQ@U7]5\EUUUTAUUUU@]U]W\@@a') ; yourself); yourself]! |
1424 | 1782 |
|
1783 |
saveImageIcon |
|
1527 | 1784 |
"This resource specification was automatically generated |
1785 |
by the ImageEditor of ST/X." |
|
1786 |
||
1787 |
"Do not manually edit this!! If it is corrupted, |
|
1788 |
the ImageEditor may not be able to read the specification." |
|
1789 |
||
1424 | 1790 |
" |
1527 | 1791 |
ImageEditor openOnClass:self andSelector:#saveImageIcon |
1424 | 1792 |
" |
1793 |
||
1794 |
<resource: #image> |
|
1795 |
||
1796 |
^Icon |
|
1797 |
constantNamed:#'NewLauncher saveImageIcon' |
|
1527 | 1798 |
ifAbsentPut:[(Depth2Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UPSL3L0A@ET7L3L0?PAUML3L3OT@US\3L3C5@ET43L3L?PAUM3L3LO4@USSL3L3=@ET7L3L0?PAUML3L3O4@US\3L3C=@ET43L3L?PAUM@@@@O4@US?????=@ET?UUUU?PAUO7??6?4@US=T?=+=@ET?ZO?Z?PAUO4C?6/4@U]U**)WU@ET@@@@@@@AUUUUUUUUU%Y%UUUTE%%UUUUTU)UEUUUUEUUUUUUVYUUTEUTUUUUDUAUUUUUUQUPUUVUUUUUTU%P@a') ; colorMapFromArray:#[255 255 255 0 0 0 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C??>@@@@@@@@@@@@;*9R<H*(W)BJ*E:@S.9R,B)HT)@*REJP:$9R<@@a') ; yourself); yourself]! |
1424 | 1799 |
|
1800 |
startChangesBrowserIcon |
|
1527 | 1801 |
"This resource specification was automatically generated |
1802 |
by the ImageEditor of ST/X." |
|
1803 |
||
1804 |
"Do not manually edit this!! If it is corrupted, |
|
1805 |
the ImageEditor may not be able to read the specification." |
|
1806 |
||
1424 | 1807 |
" |
1527 | 1808 |
ImageEditor openOnClass:self andSelector:#startChangesBrowserIcon |
1424 | 1809 |
" |
1810 |
||
1811 |
<resource: #image> |
|
1812 |
||
1813 |
^Icon |
|
1814 |
constantNamed:#'NewLauncher startChangesBrowserIcon' |
|
1527 | 1815 |
ifAbsentPut:[(Depth2Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@B****@@@@@@@@@ @@@B****H@@@@@@@@"@@@C????H @@@@@@@2H@@C????L"@@@@@@@3H@@AUUUUL2@@@@@@@SL@@AUUUUD3@@@_=UUQL@@@EUUUTS@@@A]7UUD@@@@U7]5Q@@@@E7]5T@@@@AUUUU@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BH@@@@@@@@LB@L@@@@@@@@@@@@@@@@J@@@@@@@@@@@@@@@@@@H@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@??8@@O?>@@O?? @C??8@C??>@@??? @???8@O??>@O??? C??? C???8@???8@O??>@C??>@@??? @O?? @C??8@@??8@@O?>@@@@@@@@@@@@@Z.$7LH+-YDBJ+TQ@#.=WHH*+UABJ*5PPZ*$7X@@a') ; yourself); yourself]! |
1424 | 1816 |
|
1817 |
startFileBrowserIcon |
|
1527 | 1818 |
"This resource specification was automatically generated |
1819 |
by the ImageEditor of ST/X." |
|
1820 |
||
1821 |
"Do not manually edit this!! If it is corrupted, |
|
1822 |
the ImageEditor may not be able to read the specification." |
|
1823 |
||
1424 | 1824 |
" |
1527 | 1825 |
ImageEditor openOnClass:self andSelector:#startFileBrowserIcon |
1424 | 1826 |
" |
1827 |
||
1828 |
<resource: #image> |
|
1829 |
||
1830 |
^Icon |
|
1831 |
constantNamed:#'NewLauncher startFileBrowserIcon' |
|
1527 | 1832 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@CLA&Y&Y&Y&X@@@@@@@@L0F@@@@@@A @@@@@@@@3@XN;.;.8F@@@@@@@@CLA ;.@@@@@@@@@@@@@L0FC.8O[6=/[0@@@@@@3@X@; [6=/[6@@@@@@CLA DNC6<@@F<@@@@@@L0F@A@F= [0= @@@@@@3@X@@P=/[6=/@@@@@@CLA @@A/[6=/X@@@@@@L0FC0@O[6=/[0@@@@@@3@XF<@@@@@@@@@@@@@CLA = @@@@@@@@@@@@@L0FA/[6=/A @@@@@@@@3@XO[6=/XF@@@@@@@@CLA @@@@@@X@@@@@@@@L0FY&Y&Y&Y @@@@@@@@C@Y&Y&Y&Y&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C @b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??<@@_??@@G??0@A??<@@_??8@G??>@A??? @_??8@G??>@A??? @_??8@G??>@A??? @_??@@G??0@A??<@@_??@@G??0@@??<@@G??@@@@@@@G.P=0AADHP@PQBD@GDP8 AADHD@PQBA@DN^=0@@a') ; yourself); yourself]! |
1424 | 1833 |
|
1834 |
startImageEditorIcon |
|
1527 | 1835 |
"This resource specification was automatically generated |
1836 |
by the ImageEditor of ST/X." |
|
1837 |
||
1838 |
"Do not manually edit this!! If it is corrupted, |
|
1839 |
the ImageEditor may not be able to read the specification." |
|
1840 |
||
1424 | 1841 |
" |
1527 | 1842 |
ImageEditor openOnClass:self andSelector:#startImageEditorIcon |
1424 | 1843 |
" |
1844 |
||
1845 |
<resource: #image> |
|
1846 |
||
1847 |
^Icon |
|
1848 |
constantNamed:#'NewLauncher startImageEditorIcon' |
|
1527 | 1849 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@M7]7]7]7]7]7]@@@@@@@@@@@@@@@@@@@@@@@@@"H"H"HDQEUVY @@@@@BH"H3L QDUUY&@@@@@@HA@#L2ADQUU&X@@@@@@"H"H"HH"I&W]0@@@@@BL3L3L "H&Y]7@@@@@@H"H"H"BH"Y%7\@@@@@@#L3L3HDQEUVY @@@@@BH"H"H QDUUY&@@@@@@H3L3L2ADQUU&X@@@@@@"H"H"HH"I&W]0@@@@@BL#L3L "H&Y]7@@@@@@H2L3L2BH"Y%7\@@@@@@"H"H"HBH"H"H @@@@@@@@@@@@@@@@@@@@@@@@H"H"H"H"H"H"H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@0@0@0L@L@@@@@@@@@@0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@L@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???8@O??>@C??? @???8@O??>PC???&@???90O??>^C???''0???90O??>TC??? ???8HO??>AC??? P???8@O??>@C??? @???8@@@@@@@@@@@@;[7/@D>%J@AJ)P @RK5.@D"%J@AH)R @:JW/@@@a') ; yourself); yourself]! |
1424 | 1850 |
|
1851 |
startMenuEditorIcon |
|
1527 | 1852 |
"This resource specification was automatically generated |
1853 |
by the ImageEditor of ST/X." |
|
1854 |
||
1855 |
"Do not manually edit this!! If it is corrupted, |
|
1856 |
the ImageEditor may not be able to read the specification." |
|
1857 |
||
1424 | 1858 |
" |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
1859 |
self startMenuEditorIcon inspect |
1527 | 1860 |
ImageEditor openOnClass:self andSelector:#startMenuEditorIcon |
1424 | 1861 |
" |
1862 |
||
1863 |
<resource: #image> |
|
1864 |
||
1865 |
^Icon |
|
1866 |
constantNamed:#'NewLauncher startMenuEditorIcon' |
|
1527 | 1867 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@DQDQDQDQDQDQD@@@@@@@@@@@@@@@@@@@@@@@@@QH"H DQHQD"H @@@@@ATBH"@RHBH H"@@@@@@H@H"HAT%UUUUT@@@@@@%H"H D%IRT%IP@@@@@BUQIU@UIRT%IR@@@@@@IRHBHAIRT%IRT@@@@@@%H"H ERT%IRT @@@@@BUQIU@RT%IRT%@@@@@@IRHBHAT%IRT%H@@@@@@%H"H D%IRT%IP@@@@@BUQIU@UIRT%IR@@@@@@H"HBHAIRT%IRT@@@@@@"H"H IRT%IRT @@@@@@@@@@@@@@@@@@@@@@@@H"H"H"H"H"H"H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@APT@@@@@@@@@@@@@@@@@T@@@@@@@@@@@@@@@@@@@@@@@@@T@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@T@T@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 255 255 0 0 127 127 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 0 255 127 0 0 0 127 0 0 0 127 127 127 0 127 0 0]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???8@O??>@C??? @???8@O??>PC???&@???90O??>^C???''0???90O??>TC??? ???8HO??>AC??? P???8@O??>@C??? @???8@@@@@@@@@@@@6=D$@O(YI@B*GRP@"9T$@H(WI@BJD2P@"=D<@@@a') ; yourself); yourself]! |
1424 | 1868 |
|
1869 |
startSystemBrowserIcon |
|
1527 | 1870 |
"This resource specification was automatically generated |
1871 |
by the ImageEditor of ST/X." |
|
1872 |
||
1873 |
"Do not manually edit this!! If it is corrupted, |
|
1874 |
the ImageEditor may not be able to read the specification." |
|
1875 |
||
1424 | 1876 |
" |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
1877 |
self startSystemBrowserIcon inspect |
1527 | 1878 |
ImageEditor openOnClass:self andSelector:#startSystemBrowserIcon |
1424 | 1879 |
" |
1880 |
||
1881 |
<resource: #image> |
|
1882 |
||
1883 |
^Icon |
|
1884 |
constantNamed:#'NewLauncher startSystemBrowserIcon' |
|
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
1885 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@ADQDQDQG0@@@@@@@@@@D"H"H"H.@@@@@@@@@@@RH"H"H"8@@@@@@@@@@O;.;.;.; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQDQDQG0@@@@@P;.;.@SL3L3L>@@@@@@@@@@@O;.;.;.8@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQDQDQG0@@@@@P;.;.@VY&Y&Y.@@@@@@@@@@@O;.;.;.8@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@N@NC @@8@@@C @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@@@@@@8@C @@@@8b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@@O?<@@C??@@@??0@@O?<@@C??@@@@ @@@@H@@@@B@?? A0O?8@_??>@G@?? @ O?8@H@@@@B@?? A0O?8@_??>@G@?? @@O?8@@@@@@@@@@@9O\7\IRTQDBD%DQ@!!OH''HHRQEABT$QPP99]7\@@a') ; yourself); yourself] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
1886 |
! |
1424 | 1887 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1888 |
startSystemBrowserOnHistoryClassIcon |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1889 |
"This resource specification was automatically generated |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1890 |
by the ImageEditor of ST/X." |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1891 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1892 |
"Do not manually edit this!! If it is corrupted, |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1893 |
the ImageEditor may not be able to read the specification." |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1894 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1895 |
" |
1609 | 1896 |
self startSystemBrowserOnHistoryClassIcon inspect |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1897 |
ImageEditor openOnClass:self andSelector:#startSystemBrowserOnHistoryClassIcon |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1898 |
" |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1899 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1900 |
<resource: #image> |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1901 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1902 |
^Icon |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1903 |
constantNamed:#'NewLauncher startSystemBrowserOnHistoryClassIcon' |
1609 | 1904 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@ADQDQDQG0@@@@@@@@@@D"H"H"H.@@@@@@@@@@@RH"H"H"8@@@@@@@@@@O;.;.;.; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQ@@@QG0@@@@@P;.;.@SL@@CL>@@@@@@@@@@@O; @@;.8@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQ@@@QG0@@@@@P;.;.@VX@@FY.@@@@@@@@@@@O8@@@C.8@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C @@@@8@8@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@8@8@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0^@O?<O0C??FF@??1!! O?<XXC??CF@@ @C@@H@A @B@>7 A0O[8@_?6>@G@=/ @ O[8@H@@@@B@<O A0O[8@_??>@G@;7 @@NY8@@@@@@@@@@@%]7/TITIJUBUBR%P=H$/TIQIJRBTRR$ %\'')P@@a') ; yourself); yourself]! |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
1905 |
|
1424 | 1906 |
startUIPainterIcon |
1527 | 1907 |
"This resource specification was automatically generated |
1908 |
by the ImageEditor of ST/X." |
|
1909 |
||
1910 |
"Do not manually edit this!! If it is corrupted, |
|
1911 |
the ImageEditor may not be able to read the specification." |
|
1912 |
||
1424 | 1913 |
" |
1527 | 1914 |
ImageEditor openOnClass:self andSelector:#startUIPainterIcon |
1424 | 1915 |
" |
1916 |
||
1917 |
<resource: #image> |
|
1918 |
||
1919 |
^Icon |
|
1920 |
constantNamed:#'NewLauncher startUIPainterIcon' |
|
1527 | 1921 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@DQDQDQDQDQDQD@@@@@@@@@@@@@@@@@@@@@@@@@3H"H DQHQD"H @@@@@CLBH"@RHBH H"@@@@@@H@H"HAT%UUUUT@@@@@@%H"H D%IRT%IP@@@@@BUSMU@UIRT%IR@@@@@@IRLBHAIRT%IRT@@@@@@%H"H ERT%IRT @@@@@BUSMU@RT%IRT%@@@@@@IRLBHAT%IRT%H@@@@@@%H"H D%IRT%IP@@@@@BUSMU@UIRT%IR@@@@@@H"LBHAIRT%IRT@@@@@@"H"H IRT%IRT @@@@@@@@@@@@@@@@@@@@@@@@H"H"H"H"H"H"H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@T@AP@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@T@@@AP@E@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 255 255 0 0 127 127 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 0 255 127 0 0 0 127 0 0 0 127 127 127 0 127 0 0]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???8@O??>@C??? @???8@O??>PC???&@???90O??>^C???''8???90O??>TC??? ???8HO??>A#??? X???8@O??>@C??? @???8@@@@@@@@@@@@>QN@@H$Q@@BADP@@.QD@@H$Q@@BIDP@@>_N@@@@a') ; yourself); yourself]! |
1424 | 1922 |
|
1923 |
startWorkspaceIcon |
|
1527 | 1924 |
"This resource specification was automatically generated |
1925 |
by the ImageEditor of ST/X." |
|
1926 |
||
1927 |
"Do not manually edit this!! If it is corrupted, |
|
1928 |
the ImageEditor may not be able to read the specification." |
|
1929 |
||
1424 | 1930 |
" |
1527 | 1931 |
ImageEditor openOnClass:self andSelector:#startWorkspaceIcon |
1424 | 1932 |
" |
1933 |
||
1934 |
<resource: #image> |
|
1935 |
||
1936 |
^Icon |
|
1937 |
constantNamed:#'NewLauncher startWorkspaceIcon' |
|
1527 | 1938 |
ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@M7]7]7]7]7]7]7]@@@@@@@@@@@@@@@@@@@@@@@QDQDQDQDQDQDQ@0@@@AUPUUUUAUAQDQDB@@@@EUAUUUTE@@DQDPH@@@@P@E@@UPUPTQDQ@ @@@AAPTEAUAUAQDQDB@@@@D@AP@ETET@DQDPH@@@@QDQDQDQDQEADQ@ @@@ADQDQDQDQDTPQDB@@@@DQDQDQDQDQQDDPH@@@@QDQDQDQDQEDDQ@ @@@ADQDQDQDQDQEADB@@@@DQDQDQDQDQDTDPH@@@@QDQDQDQDQDQDQ@0@@@@@@@@@@@@@@@@@@@@@@L"H"H"H"H"H"H0L@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@L@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@L@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'????@O???0C???<@????@O???0C???<@????@O???0C???<@????@O???0C???<@????@O???0C???<@????@O???0C???<@????@@@@@@@@@@@@ //R@HJJT BB"%P@$(/X@IJJU@BR"%H@[O)R@@@a') ; yourself); yourself]! ! |
1424 | 1939 |
|
1659 | 1940 |
!NewLauncher methodsFor:'accessing'! |
1941 |
||
1942 |
menuToolbar |
|
1943 |
|menu item| |
|
1944 |
||
1945 |
menu := Menu new fromLiteralArrayEncoding:(self class menuToolbar). |
|
1946 |
menu receiver:self. |
|
1947 |
menu findGuiResourcesIn:self. |
|
1948 |
||
1949 |
^ menu |
|
1950 |
||
1951 |
||
1952 |
! ! |
|
1953 |
||
1544 | 1954 |
!NewLauncher methodsFor:'aspects'! |
1955 |
||
1752 | 1956 |
canDoTerminal |
1957 |
^ [OperatingSystem isUNIXlike] |
|
1958 |
||
1959 |
"Created: / 27.7.1998 / 12:47:54 / cg" |
|
1960 |
! |
|
1961 |
||
1544 | 1962 |
enableDangerousMenuItemsInRemoteLauncher |
1963 |
||
1964 |
|holder| |
|
1965 |
(holder := builder bindingAt:#enableDangerousMenuItemsInRemoteLauncher) isNil ifTrue:[ |
|
1966 |
builder aspectAt:#enableDangerousMenuItemsInRemoteLauncher put:(holder := true asValue). |
|
1967 |
]. |
|
1968 |
^ holder |
|
1969 |
! |
|
1970 |
||
1971 |
javaSupportPresent |
|
1972 |
^ (JavaVM notNil and:[JavaVM isBehavior and:[JavaVM isLoaded]]) asValue |
|
1973 |
||
1974 |
"Created: / 13.2.1998 / 14:25:59 / cg" |
|
1975 |
"Modified: / 13.2.1998 / 14:26:31 / cg" |
|
1711
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
1976 |
! |
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
1977 |
|
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
1978 |
libraryBuilderAvailable |
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
1979 |
^ false |
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
1980 |
|
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
1981 |
"Created: / 20.6.1998 / 16:54:31 / cg" |
1544 | 1982 |
! ! |
1983 |
||
1984 |
!NewLauncher methodsFor:'change & update'! |
|
1985 |
||
1986 |
update:something with:aParameter from:changedObject |
|
1987 |
"care for project changes & update my infoView" |
|
1988 |
||
1989 |
((something == #currentProject) or:[changedObject == Project]) ifTrue: [self updateInfo] |
|
1990 |
||
1991 |
! |
|
1992 |
||
1993 |
updateInfo |
|
1994 |
"update the infoView from the current project" |
|
1995 |
||
1996 |
|project projectName projectDir packageName defNameSpace msg args projectInfo| |
|
1997 |
||
1998 |
(Project isNil or:[(project := Project current) isNil]) ifTrue:[ |
|
1999 |
projectName := '* none *'. |
|
2000 |
projectDir := '.'. |
|
2001 |
packageName := '* none *'. |
|
2002 |
] ifFalse:[ |
|
2003 |
projectName := project name. |
|
2004 |
projectDir := project directory. |
|
2005 |
packageName := project packageName. |
|
2006 |
defNameSpace := project defaultNameSpace. |
|
2007 |
]. |
|
2008 |
defNameSpace isNil ifTrue:[ |
|
2009 |
defNameSpace := Smalltalk. |
|
2010 |
]. |
|
2011 |
||
2012 |
defNameSpace == Smalltalk ifTrue:[ |
|
2013 |
msg := 'Project: ''%1'' fileOut to: ''%3'' package: ''%2'''. |
|
2014 |
args := Array |
|
2015 |
with:projectName |
|
2016 |
with:packageName |
|
2017 |
with:(projectDir contractTo:30). |
|
2018 |
] ifFalse:[ |
|
2019 |
msg := 'Project: ''%1'' fileOut to: ''%3'' package: ''%2'' nameSpace: %4'. |
|
2020 |
args := Array |
|
2021 |
with:projectName |
|
2022 |
with:packageName |
|
2023 |
with:(projectDir contractTo:30) |
|
2024 |
with:defNameSpace name. |
|
2025 |
]. |
|
2026 |
||
2027 |
self valueOfInfoLabel value:(projectInfo := resources string:msg withArgs:args). |
|
2028 |
^projectInfo |
|
2029 |
! ! |
|
2030 |
||
2031 |
!NewLauncher methodsFor:'help'! |
|
2032 |
||
2033 |
defaultInfoLabel |
|
2034 |
||
2035 |
^self updateInfo |
|
2036 |
||
2037 |
! ! |
|
2038 |
||
2039 |
!NewLauncher methodsFor:'private'! |
|
2040 |
||
2041 |
findWindow:title |
|
2042 |
"a helper for find & destroy and find & raise operations; |
|
2043 |
let user choose a view and return it; return nil on cancel" |
|
2044 |
||
2045 |
|knownTopViews nameList box| |
|
2046 |
||
2047 |
knownTopViews := IdentitySet new. |
|
2048 |
Screen allScreens do:[:aScreen | |
|
2049 |
aScreen knownViews do:[:aView | |
|
2050 |
|top showIt wg| |
|
2051 |
||
2052 |
aView notNil ifTrue:[ |
|
2053 |
top := aView topView. |
|
2054 |
(top isKindOf:DebugView) ifTrue:[ |
|
2055 |
"/ although modal, show it. |
|
2056 |
showIt := top realized |
|
2057 |
] ifFalse:[ |
|
2058 |
wg := top windowGroup. |
|
2059 |
showIt := (wg notNil and:[wg isModal not]). |
|
2060 |
]. |
|
2061 |
showIt ifTrue:[ |
|
2062 |
knownTopViews add:top |
|
2063 |
] |
|
2064 |
] |
|
2065 |
] |
|
2066 |
]. |
|
2067 |
||
2068 |
knownTopViews := knownTopViews asOrderedCollection. |
|
2069 |
knownTopViews sort:[:v1 :v2 | |l1 l2| |
|
2070 |
l1 := v1 label ? 'aView'. |
|
2071 |
l2 := v2 label ? 'aView'. |
|
2072 |
l1 < l2 |
|
2073 |
]. |
|
2074 |
nameList := knownTopViews collect:[:v | |
|
2075 |
|isDead wg p l| |
|
2076 |
||
2077 |
l := v label ? 'aView'. |
|
2078 |
((wg := v windowGroup) notNil |
|
2079 |
and:[(p := wg process) notNil |
|
2080 |
and:[p state ~~ #dead]]) ifTrue:[ |
|
2081 |
l |
|
2082 |
] ifFalse:[ |
|
2083 |
l , ' (dead ?)' |
|
2084 |
] |
|
2085 |
]. |
|
2086 |
||
2087 |
box := ListSelectionBox new. |
|
2088 |
box noEnterField. |
|
2089 |
box list:nameList. |
|
2090 |
box label:(resources string:'view selection'). |
|
2091 |
box title:(resources string:title) withCRs. |
|
2092 |
box action:[:selection | |
|
2093 |
|v| |
|
2094 |
||
2095 |
v := knownTopViews at:box selectionIndex. |
|
2096 |
box destroy. |
|
2097 |
^ v |
|
2098 |
]. |
|
2099 |
box extent:400@300. |
|
2100 |
box showAtPointer. |
|
2101 |
^ nil |
|
2102 |
||
2103 |
! |
|
2104 |
||
2105 |
menuClassHistory |
|
2106 |
"returns a sub menu on the history of the classes" |
|
2107 |
||
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2108 |
|menu history| |
1544 | 2109 |
|
1576 | 2110 |
BrowserView checkClassHistory. |
2111 |
||
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2112 |
history := BrowserView classHistory. |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2113 |
|
1544 | 2114 |
menu := Menu new receiver: self. |
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2115 |
menu addItemGroup: (history collect: |
1576 | 2116 |
[:histEntry| |
2117 |
||
1544 | 2118 |
MenuItem new |
2119 |
label: (histEntry upTo: $ ); |
|
2120 |
value: [SystemBrowser open loadFromMessage: histEntry]; |
|
2121 |
activeHelpKey: #classesSystemBrowserOnClass |
|
2122 |
] |
|
2123 |
). |
|
1652
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2124 |
menu addItem: (MenuItem new |
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2125 |
label: 'Empty History'; |
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2126 |
value: [BrowserView classHistory removeAll]; |
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2127 |
translateLabel: true; |
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2128 |
enabled:(history notEmpty); |
1652
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2129 |
activeHelpKey: #historyEmptyMenu). |
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2130 |
|
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
2131 |
menu findGuiResourcesIn:self. |
1544 | 2132 |
^menu |
2133 |
||
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2134 |
"Modified: / 8.7.1998 / 00:59:50 / cg" |
1544 | 2135 |
! |
2136 |
||
2137 |
openApplication: className |
|
2138 |
"open an application, given by the classe name." |
|
2139 |
||
2140 |
self openApplication:className nameSpace:nil |
|
2141 |
! |
|
2142 |
||
2143 |
openApplication:className nameSpace:aNameSpace |
|
2144 |
"open some application, given the classes name. |
|
2145 |
Look for it in Smalltalk and the given nameSpace" |
|
2146 |
||
2147 |
self openApplication:className nameSpace:aNameSpace with:#open |
|
2148 |
! |
|
2149 |
||
2150 |
openApplication:className nameSpace:aNameSpace with:aSelector |
|
2151 |
"open some application, given the classes name. |
|
2152 |
Look for it in Smalltalk and the given nameSpace" |
|
2153 |
||
2154 |
|cls| |
|
2155 |
||
2156 |
cls := Smalltalk at:className asSymbol. |
|
2157 |
cls isNil ifTrue:[ |
|
2158 |
"/ look if its in the nameSpace |
|
2159 |
aNameSpace notNil ifTrue:[ |
|
2160 |
cls := aNameSpace at:className asSymbol |
|
2161 |
] |
|
2162 |
]. |
|
2163 |
||
2164 |
cls isNil ifTrue:[ |
|
2165 |
self warn:(resources string:'Sorry, the %1 class is not available.' with:className). |
|
2166 |
] ifFalse:[ |
|
2167 |
Autoload autoloadFailedSignal handle:[:ex | |
|
2168 |
self warn:(resources string:'Sorry, the %1 class seems to be not available.' with:className) |
|
2169 |
] do:[ |
|
2170 |
self withWaitCursorDo:[cls perform:aSelector] |
|
2171 |
] |
|
2172 |
] |
|
2173 |
||
2174 |
! |
|
2175 |
||
2176 |
saveAllViews |
|
2177 |
"tell each topview that we are going to terminate and give it chance |
|
2178 |
to save its contents." |
|
2179 |
||
2180 |
ObjectMemory changed:#aboutToExit |
|
2181 |
! |
|
2182 |
||
2183 |
saveScreenImage:anImage defaultName:defaultName |
|
2184 |
"save an image into a file |
|
2185 |
- ask user for filename using a fileSelectionBox." |
|
2186 |
||
2187 |
|fileName| |
|
2188 |
||
2189 |
fileName := Dialog |
|
2190 |
requestFileName:(resources string:'save image in:') |
|
2191 |
default:(defaultName , '.tiff') |
|
2192 |
ok:(resources string:'save') |
|
2193 |
abort:(resources string:'cancel') |
|
2194 |
pattern:'*.tiff'. |
|
2195 |
||
2196 |
fileName notNil ifTrue:[ |
|
2197 |
anImage saveOn:fileName |
|
2198 |
]. |
|
2199 |
||
2200 |
"Modified: / 21.2.1996 / 13:09:28 / cg" |
|
2201 |
"Created: / 29.1.1998 / 23:20:36 / cg" |
|
2202 |
! |
|
2203 |
||
2204 |
showDocumentation:aRelativeDocFilePath |
|
2205 |
"open an HTML browser on some document" |
|
2206 |
||
2207 |
" |
|
2208 |
although that one is not yet finished, |
|
2209 |
its better than nothing ... |
|
2210 |
" |
|
2211 |
HTMLDocumentView notNil ifTrue:[ |
|
2212 |
self withWaitCursorDo:[ |
|
2213 |
" |
|
2214 |
temporary kludge; |
|
2215 |
not all machines can autoload binaries; |
|
2216 |
however, on my SGI (which can) we want it |
|
2217 |
to load automatically. |
|
2218 |
" |
|
2219 |
HTMLDocumentView isLoaded ifFalse:[ |
|
2220 |
ErrorSignal catch:[HTMLDocumentView autoload] |
|
2221 |
]. |
|
2222 |
HTMLDocumentView isLoaded ifTrue:[ |
|
2223 |
HTMLDocumentView openFullOnDocumentationFile:aRelativeDocFilePath. |
|
2224 |
^ self |
|
2225 |
]. |
|
2226 |
] |
|
2227 |
]. |
|
2228 |
||
2229 |
self warn:'Sorry, the ST/X HTML reader is not |
|
2230 |
included in this release. |
|
2231 |
||
2232 |
Please use Mosaic, netscape, chimera or any |
|
2233 |
other HTML viewer to see the documentation. |
|
2234 |
||
2235 |
The documentation is found in the ''doc/online'' directory.'. |
|
2236 |
||
2237 |
"Modified: / 25.2.1998 / 21:24:20 / cg" |
|
2238 |
! ! |
|
2239 |
||
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2240 |
!NewLauncher methodsFor:'private - settings callBacks'! |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2241 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2242 |
changeViewStyleTo:newStyle |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2243 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2244 |
newStyle notNil ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2245 |
self withWaitCursorDo:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2246 |
transcript showCR:'change style to ' , newStyle , ' ...'. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2247 |
View defaultStyle:newStyle asSymbol. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2248 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2249 |
self reOpen |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2250 |
] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2251 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2252 |
! |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2253 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2254 |
fontBoxForEncoding:encodingMatch |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2255 |
"open a fontBox, showing fonts which match some encoding |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2256 |
(used when changing to japanese ...)" |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2257 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2258 |
|box y b |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2259 |
labelDef buttonDef listDef menuDef textDef |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2260 |
models labels allOfThem filter| |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2261 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2262 |
encodingMatch notNil ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2263 |
filter := [:f | f encoding notNil |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2264 |
and:[encodingMatch match:f encoding]]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2265 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2266 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2267 |
models := OrderedCollection new. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2268 |
labels := OrderedCollection new. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2269 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2270 |
models add:(allOfThem := nil asValue). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2271 |
models add:(labelDef := Label defaultFont asValue). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2272 |
models add:(buttonDef := Button defaultFont asValue). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2273 |
models add:(listDef := SelectionInListView defaultFont asValue). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2274 |
models add:(menuDef := MenuView defaultFont asValue). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2275 |
models add:(textDef := TextView defaultFont asValue). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2276 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2277 |
box := Dialog new. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2278 |
box label:(resources string:'Font settings'). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2279 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2280 |
models |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2281 |
with:(resources array:#('all' 'labels' 'buttons' 'lists' 'menus' 'edit text')) |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2282 |
do:[:model :title | |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2283 |
|y2 lbl f i| |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2284 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2285 |
f := model value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2286 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2287 |
(box addTextLabel:title) adjust:#left. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2288 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2289 |
y := box yPosition. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2290 |
b := box addComponent:(Button label:(resources string:'change ...')) tabable:true. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2291 |
b relativeExtent:nil; extent:(b preferredExtent). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2292 |
y2 := box yPosition. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2293 |
box yPosition:y. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2294 |
i := box leftIndent. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2295 |
box leftIndent:(b widthIncludingBorder + View viewSpacing). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2296 |
(lbl := box addTextLabel:'') |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2297 |
adjust:#left; |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2298 |
font:(model value); |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2299 |
labelChannel:(BlockValue |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2300 |
with:[:v | |f| |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2301 |
f := v value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2302 |
f isNil ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2303 |
'' |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2304 |
] ifFalse:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2305 |
f userFriendlyName |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2306 |
] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2307 |
] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2308 |
argument:model). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2309 |
labels add:lbl. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2310 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2311 |
box leftIndent:i. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2312 |
box yPosition:(box yPosition max:y2). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2313 |
box addVerticalSpace. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2314 |
box addHorizontalLine. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2315 |
box addVerticalSpace. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2316 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2317 |
b action:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2318 |
|f| |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2319 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2320 |
f := FontPanel |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2321 |
fontFromUserInitial:(model value) |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2322 |
title:(resources string:'font for %1' with:title) |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2323 |
filter:filter. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2324 |
f notNil ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2325 |
model == allOfThem ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2326 |
models do:[:m | m value:f]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2327 |
labels do:[:l | l font:f] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2328 |
] ifFalse:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2329 |
model value:f. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2330 |
lbl font:f. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2331 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2332 |
] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2333 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2334 |
model == allOfThem ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2335 |
box addVerticalSpace |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2336 |
] |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2337 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2338 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2339 |
box addAbortButton; addOkButton. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2340 |
(box addButton:(Button label:(resources string:'defaults')) before:nil) |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2341 |
action:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2342 |
"/ fetch defaults |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2343 |
View updateAllStyleCaches. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2344 |
labelDef value: Label defaultFont. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2345 |
buttonDef value: Button defaultFont. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2346 |
listDef value: SelectionInListView defaultFont. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2347 |
menuDef value: MenuView defaultFont. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2348 |
textDef value: TextView defaultFont. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2349 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2350 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2351 |
box open. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2352 |
box accepted ifTrue:[ |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2353 |
Label defaultFont:labelDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2354 |
Button defaultFont:buttonDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2355 |
Toggle defaultFont:buttonDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2356 |
SelectionInListView defaultFont:listDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2357 |
MenuView defaultFont:menuDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2358 |
PullDownMenu defaultFont:menuDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2359 |
TextView defaultFont:textDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2360 |
EditTextView defaultFont:textDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2361 |
CodeView defaultFont:textDef value. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2362 |
]. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2363 |
box destroy. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2364 |
^ box accepted |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2365 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2366 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2367 |
! |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2368 |
|
1603
6a49f338be82
need compatible reopen protocol.
Claus Gittinger <cg@exept.de>
parents:
1600
diff
changeset
|
2369 |
reopenLauncher |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2370 |
"reopen a new launcher. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2371 |
for now (since style & language settings currently do |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2372 |
not affect living views ...) |
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2373 |
WARNING: bad design: Message known in LauncherDialogs" |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2374 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2375 |
|contents builder newLauncher| |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2376 |
|
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2377 |
contents := transcript endEntry; list. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2378 |
builder := self class openAt:(self window origin). |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2379 |
builder window waitUntilVisible. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2380 |
newLauncher := builder application. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2381 |
newLauncher transcript list:contents; hideCursor; scrollToBottom; cursorToEnd; showCursor. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2382 |
DebugView newDebugger. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2383 |
|
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2384 |
"Modified: / 31.7.1998 / 22:48:17 / cg" |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2385 |
! ! |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2386 |
|
1544 | 2387 |
!NewLauncher methodsFor:'queries'! |
2388 |
||
2389 |
preferredExtent |
|
2390 |
||
2391 |
^super preferredExtent max: Screen current extent//(2.5@3.5) |
|
2392 |
||
2393 |
||
2394 |
! |
|
2395 |
||
2396 |
processName |
|
2397 |
"for monitors only - my name" |
|
2398 |
||
2399 |
^ 'ST/X Launcher' |
|
2400 |
||
2401 |
! |
|
2402 |
||
2403 |
transcript |
|
2404 |
"my transcript" |
|
2405 |
||
2406 |
^ transcript |
|
2407 |
! ! |
|
2408 |
||
2409 |
!NewLauncher methodsFor:'startup / release'! |
|
2410 |
||
2411 |
addTopViewsToCurrentProject |
|
2412 |
"ignored here - the launcher is always global (i.e. not project private)." |
|
2413 |
||
2414 |
^ self |
|
2415 |
||
2416 |
! |
|
2417 |
||
2418 |
allButOpenInterface:anInterface |
|
2419 |
"sent by my superclass to open up my interface" |
|
2420 |
||
2421 |
"/ if there is already a transcript on my device, |
|
2422 |
"/ I am a slave launcher with limited functionality. |
|
2423 |
||
2424 |
Transcript notNil ifTrue:[ |
|
2425 |
Transcript ~~ Stderr ifTrue:[ |
|
2426 |
isMainLauncher := (Transcript graphicsDevice == device). |
|
2427 |
self enableDangerousMenuItemsInRemoteLauncher value: isMainLauncher. |
|
2428 |
] ifFalse:[ |
|
2429 |
isMainLauncher := true |
|
2430 |
] |
|
2431 |
] ifFalse:[ |
|
2432 |
isMainLauncher := true |
|
2433 |
]. |
|
2434 |
||
2435 |
super allButOpenInterface:anInterface. |
|
2436 |
||
2437 |
self setupTranscript; updateInfo. |
|
2438 |
Project notNil ifTrue: [Project addDependent:self]. |
|
2439 |
self class openLaunchers add: self. |
|
2440 |
^ builder |
|
2441 |
||
2442 |
"Created: / 5.2.1998 / 19:45:07 / cg" |
|
1710 | 2443 |
"Modified: / 20.6.1998 / 14:53:58 / cg" |
1544 | 2444 |
! |
2445 |
||
2446 |
closeRequest |
|
2447 |
||
2448 |
(self confirm:(resources string:'really close %1 ?' with:self class name)) ifTrue:[ |
|
2449 |
super closeRequest |
|
2450 |
] |
|
2451 |
||
2452 |
! |
|
2453 |
||
2454 |
postOpenWith:aBuilder |
|
2455 |
"increase my priority" |
|
2456 |
||
2457 |
self builder window windowGroup process priority:(Processor userSchedulingPriority + 1). |
|
1772
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2458 |
UserAddedTools notNil ifTrue:[ |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2459 |
UserAddedTools associationsDo: |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2460 |
[:userTool| |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2461 |
self addUserTool: userTool key |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2462 |
action: (userTool value at: 1) |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2463 |
in: (userTool value at: 2) |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2464 |
icon: (userTool value at: 3) |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2465 |
space: (userTool value at: 4) |
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2466 |
]. |
1767 | 2467 |
]. |
1544 | 2468 |
super postOpenWith:aBuilder. |
2469 |
self startClockOnTimedBlock: |
|
2470 |
[ |
|
2471 |
|now hours minutes suffix| |
|
2472 |
||
2473 |
now := Time now. |
|
2474 |
||
2475 |
hours := now hours. |
|
2476 |
minutes := now minutes printString. |
|
2477 |
suffix := ''. |
|
2478 |
||
2479 |
(resources at:'TIME_FORMAT' ifAbsent:12) == 12 ifTrue:[ |
|
2480 |
suffix := ' am '. |
|
2481 |
hours > 12 ifTrue: [hours := hours - 12. suffix := ' pm ']. |
|
2482 |
]. |
|
2483 |
||
2484 |
minutes size = 1 ifTrue: [minutes := '0', minutes]. |
|
2485 |
||
2486 |
self valueOfTimeLabel value: hours printString, ':', minutes, suffix. |
|
2487 |
||
2488 |
Processor removeTimedBlock: timeBlock. |
|
2489 |
Processor addTimedBlock: timeBlock afterSeconds: 1 |
|
2490 |
]. |
|
2491 |
||
1772
6ab4a13490ed
care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents:
1767
diff
changeset
|
2492 |
"Modified: / 30.7.1998 / 21:46:43 / cg" |
1544 | 2493 |
! |
2494 |
||
2495 |
reOpen |
|
2496 |
"reopen a new launcher. |
|
2497 |
for now (since style & language settings currently do |
|
2498 |
not affect living views ...)" |
|
2499 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2500 |
self reopenLauncher "/ WARNING: bad design: Message known in LauncherDialogs |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2501 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2502 |
"Modified: / 31.7.1998 / 22:48:12 / cg" |
1544 | 2503 |
! |
2504 |
||
2505 |
restarted |
|
2506 |
"image restart - since WindowGroup recreates the process with |
|
2507 |
the default priority, we have to raise the prio again. |
|
2508 |
Mhmh - this looks like a bug to me ... |
|
2509 |
Also, the cursor (which was stored as a write or waitCursor) must |
|
2510 |
be reset to normal." |
|
2511 |
||
2512 |
Processor activeProcess priority:(Processor userSchedulingPriority + 1). |
|
2513 |
builder window extent: self preferredExtent. |
|
2514 |
super restarted |
|
2515 |
||
2516 |
! |
|
2517 |
||
2518 |
saveAndTerminateRequest |
|
2519 |
"some windowManagers can send this, to shutDown an application |
|
2520 |
but let it save its state before, for later restart. |
|
2521 |
Although I have not yet encountered such a windowManager, |
|
2522 |
we are already prepared for this ;-)" |
|
2523 |
||
2524 |
self snapshot. |
|
2525 |
super saveAndTerminateRequest |
|
2526 |
||
2527 |
! |
|
2528 |
||
2529 |
setupTranscript |
|
2530 |
"create the transcript view" |
|
2531 |
||
2532 |
|launcher oldLauncher| |
|
2533 |
||
2534 |
"/ check if this is an additional launcher on a remote display. |
|
2535 |
"/ if so, do not close the real launcher. |
|
2536 |
||
2537 |
(Transcript notNil and:[Transcript ~~ Stderr]) ifTrue:[ |
|
2538 |
isMainLauncher ifTrue:[ |
|
2539 |
launcher := Transcript topView application |
|
2540 |
] ifFalse:[ |
|
2541 |
launcher := self class current. |
|
2542 |
]. |
|
2543 |
launcher notNil ifTrue:[ |
|
2544 |
launcher window graphicsDevice == device ifTrue:[ |
|
2545 |
OpenLaunchers notNil ifTrue:[ |
|
2546 |
OpenLaunchers removeIdentical:launcher ifAbsent:nil. |
|
2547 |
]. |
|
2548 |
(oldLauncher := Smalltalk at: #Launcher) notNil |
|
2549 |
ifTrue: [oldLauncher openLaunchers removeIdentical:launcher ifAbsent:nil]. |
|
2550 |
launcher close |
|
2551 |
] |
|
2552 |
] |
|
2553 |
]. |
|
2554 |
||
2555 |
transcript := (builder componentAt: #transcriptView) subViews first. |
|
2556 |
||
2557 |
isMainLauncher ifTrue:[ |
|
2558 |
transcript beTranscript. |
|
2559 |
] ifFalse:[ |
|
2560 |
transcript showCR:'**************** Notice ***********************'. |
|
2561 |
transcript showCR:'** this is NOT the Transcript **'. |
|
2562 |
transcript showCR:'** The real Transcript is on the main screen **'. |
|
2563 |
transcript showCR:'** **'. |
|
2564 |
transcript showCR:'** Menus affecting common state are disabled **'. |
|
2565 |
transcript showCR:'***********************************************'. |
|
2566 |
] |
|
2567 |
||
2568 |
"Modified: / 29.1.1998 / 22:06:03 / cg" |
|
2569 |
! |
|
2570 |
||
2571 |
uninitialize |
|
2572 |
||
2573 |
super uninitialize. |
|
2574 |
||
1604 | 2575 |
Screen current beep. |
1544 | 2576 |
OpenLaunchers notNil ifTrue:[OpenLaunchers removeIdentical:self ifAbsent:nil]. |
2577 |
Project notNil ifTrue:[Project removeDependent:self] |
|
2578 |
! ! |
|
2579 |
||
2580 |
!NewLauncher methodsFor:'user actions - about'! |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2581 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2582 |
openLicenseConditions |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2583 |
"open an HTML browser on the 'LICENCE' document" |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2584 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2585 |
self withWaitCursorDo:[ |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2586 |
|lang doc| |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2587 |
|
1580 | 2588 |
Smalltalk releaseIdentification = 'ST/X_free_demo_vsn' ifTrue:[ |
2589 |
doc := 'english/LICENCE_DEMO_STX.html' |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2590 |
] ifFalse:[ |
1580 | 2591 |
((lang := Smalltalk language) = 'de' |
2592 |
or:[lang = 'german']) ifTrue:[ |
|
2593 |
doc := 'german/LICENCE_STX.html' |
|
2594 |
] ifFalse:[ |
|
2595 |
doc := 'english/LICENCE_STX.html' |
|
2596 |
]. |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2597 |
]. |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2598 |
doc := resources at:'LICENCEFILE' default:doc. |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2599 |
self showDocumentation:('../' , doc) |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2600 |
] |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2601 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2602 |
"Created: / 5.2.1998 / 21:43:19 / cg" |
1580 | 2603 |
"Modified: / 23.4.1998 / 11:45:53 / cg" |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2604 |
! ! |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2605 |
|
1544 | 2606 |
!NewLauncher methodsFor:'user actions - classes'! |
1406 | 2607 |
|
2608 |
browseAllBreakAndTracePoints |
|
2609 |
"open a browser showing all breakPointed/traced methods |
|
2610 |
(but, to get rid of them, there is also a menu itme to remove them all)" |
|
2611 |
||
2612 |
SystemBrowser browseMethods: WrappedMethod allInstances title:'all breakPointed/traced methods' |
|
2613 |
||
2614 |
! |
|
2615 |
||
2616 |
browseImplementors |
|
2617 |
"open an implementors- browser after asking for a selector" |
|
2618 |
||
2619 |
|enterBox selector| |
|
2620 |
||
2621 |
enterBox := EnterBox |
|
2622 |
title:(resources at:'Browse implementors of:') withCRs |
|
2623 |
okText:(resources at:'browse') |
|
2624 |
action:[:acceptedString | selector := acceptedString]. |
|
2625 |
enterBox showAtPointer. |
|
2626 |
||
2627 |
selector notNil ifTrue:[ |
|
2628 |
self withWaitCursorDo:[ |
|
2629 |
SystemBrowser browseImplementorsOf:selector |
|
2630 |
] |
|
2631 |
]. |
|
2632 |
||
2633 |
! |
|
2634 |
||
2635 |
browseResources |
|
2636 |
"open a resource- browser after asking for a resource string" |
|
2637 |
||
2638 |
|box resourceHolder valueHolder component rsrc value t anyString| |
|
2639 |
||
2640 |
anyString := resources string:'* any *'. |
|
2641 |
||
2642 |
resourceHolder := ValueHolder newString. |
|
2643 |
valueHolder := '*' asValue. |
|
2644 |
||
2645 |
box := DialogBox new. |
|
2646 |
box label:(resources at:'Resource search:'). |
|
2647 |
component := box addTextLabel:(resources at:'Search for methods which contain a\particular resource specification') withCRs. |
|
2648 |
component adjust:#left. |
|
2649 |
box addVerticalSpace:10. |
|
2650 |
||
2651 |
component := box addTextLabel:(resources at:'Resource symbol (empty for any; no matchPattern allowed):') withCRs. |
|
2652 |
component adjust:#left. |
|
2653 |
component := box addComboBoxOn:resourceHolder tabable:true. |
|
2654 |
component list:((Array with:anyString) , #('canvas' 'menu' 'keyboard' 'style' 'image' 'programMenu' nil 'needsFix')). |
|
2655 |
||
2656 |
component := box addTextLabel:(resources at:'Resource value (* for any; matchPattern is allowed):') withCRs. |
|
2657 |
component adjust:#left. |
|
2658 |
box addInputFieldOn:valueHolder tabable:true. |
|
2659 |
||
2660 |
box addVerticalSpace:10. |
|
2661 |
box addHelpButtonFor:'programming/language.html#RESOURCEDEFS'. |
|
2662 |
box addAbortButton; addOkButton. |
|
2663 |
||
2664 |
box showAtPointer. |
|
2665 |
box destroy. |
|
2666 |
||
2667 |
box accepted ifTrue:[ |
|
2668 |
rsrc := resourceHolder value. |
|
2669 |
value := valueHolder value. |
|
2670 |
||
2671 |
(rsrc isNil or:[rsrc isEmpty or:[rsrc = '*' or:[rsrc = anyString]]]) ifTrue:[ |
|
2672 |
t := 'methods with any resource'. |
|
2673 |
rsrc := nil |
|
2674 |
] ifFalse:[ |
|
2675 |
t := 'methods with #' , rsrc , '-resource'. |
|
2676 |
rsrc := rsrc withoutSeparators asSymbol |
|
2677 |
]. |
|
2678 |
(value isNil or:[value isEmpty or:[value = '*']]) ifTrue:[ |
|
2679 |
t := t , ' and any value'. |
|
2680 |
value := nil |
|
2681 |
] ifFalse:[ |
|
2682 |
t := t , ' and value ' , value. |
|
2683 |
]. |
|
2684 |
self withWaitCursorDo:[ |
|
2685 |
SystemBrowser browseForResource:rsrc |
|
2686 |
containing:value |
|
2687 |
in:(Smalltalk allClasses) |
|
2688 |
title:t |
|
2689 |
] |
|
2690 |
]. |
|
2691 |
||
2692 |
! |
|
2693 |
||
2694 |
browseSenders |
|
2695 |
"open a senders- browser after asking for a selector" |
|
2696 |
||
2697 |
|enterBox selector| |
|
2698 |
||
2699 |
enterBox := EnterBox |
|
2700 |
title:(resources at:'Browse senders of:') withCRs |
|
2701 |
okText:(resources at:'browse') |
|
2702 |
action:[:acceptedString | selector := acceptedString]. |
|
2703 |
enterBox showAtPointer. |
|
2704 |
||
2705 |
selector notNil ifTrue:[ |
|
2706 |
self withWaitCursorDo:[ |
|
2707 |
SystemBrowser browseAllCallsOn:selector |
|
2708 |
] |
|
2709 |
]. |
|
2710 |
||
2711 |
! |
|
2712 |
||
2713 |
browseUndeclared |
|
2714 |
"open a browser on methods refering to undeclared variables" |
|
2715 |
||
2716 |
self withWaitCursorDo:[ |
|
2717 |
SystemBrowser |
|
2718 |
browseReferendsOf:(Smalltalk underclaredPrefix , '*') |
|
2719 |
title:(resources string:'references to undeclared variables') |
|
2720 |
warnIfNone:true |
|
2721 |
] |
|
2722 |
||
2723 |
! |
|
2724 |
||
1467
59bf087a0423
missing call added + using own extent calc routine for opening
tz
parents:
1466
diff
changeset
|
2725 |
removeAllBreakAndTracePoints |
59bf087a0423
missing call added + using own extent calc routine for opening
tz
parents:
1466
diff
changeset
|
2726 |
"remove all break- and trace points" |
59bf087a0423
missing call added + using own extent calc routine for opening
tz
parents:
1466
diff
changeset
|
2727 |
|
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
2728 |
self withCursor:Cursor execute do:[ MessageTracer cleanup] |
1467
59bf087a0423
missing call added + using own extent calc routine for opening
tz
parents:
1466
diff
changeset
|
2729 |
|
59bf087a0423
missing call added + using own extent calc routine for opening
tz
parents:
1466
diff
changeset
|
2730 |
! |
59bf087a0423
missing call added + using own extent calc routine for opening
tz
parents:
1466
diff
changeset
|
2731 |
|
1406 | 2732 |
startClassBrowser |
2733 |
"open a classBrowser; asks for class" |
|
2734 |
||
2735 |
SystemBrowser askThenBrowseClass |
|
2736 |
||
2737 |
! |
|
2738 |
||
2739 |
startClassHierarchyBrowser |
|
2740 |
"open a classHierarchyBrowser; asks for class" |
|
2741 |
||
2742 |
SystemBrowser askThenBrowseClassHierarchy |
|
2743 |
||
2744 |
! |
|
2745 |
||
2746 |
startFullClassBrowser |
|
2747 |
"open a fullClass systemBrowser; asks for class" |
|
2748 |
||
2749 |
SystemBrowser askThenBrowseFullClassProtocol |
|
2750 |
||
2751 |
! ! |
|
2752 |
||
1544 | 2753 |
!NewLauncher methodsFor:'user actions - demos'! |
1406 | 2754 |
|
2755 |
openDemo:className |
|
2756 |
"open a demo, given its name. |
|
2757 |
Looks in both the Smalltalk- and the Demos-Namespace |
|
2758 |
for that class." |
|
2759 |
||
2760 |
self openApplication:className nameSpace:Demos |
|
2761 |
||
2762 |
! |
|
2763 |
||
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2764 |
openMandelbrotDemo |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2765 |
Demos::ComplexIterationView new open |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2766 |
|
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2767 |
"Created: / 8.7.1998 / 20:36:37 / cg" |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2768 |
! |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
2769 |
|
1406 | 2770 |
startTicTacToe2 |
2771 |
"opens a 2-user ticTacToe game" |
|
2772 |
||
2773 |
self openApplication:'TicTacToeGame' nameSpace:Games with:#open2UserGame |
|
2774 |
! ! |
|
2775 |
||
1544 | 2776 |
!NewLauncher methodsFor:'user actions - file'! |
1406 | 2777 |
|
2778 |
exit |
|
2779 |
"saves a snapshot image and exits, after asking for a fileName" |
|
2780 |
||
2781 |
|fileName saveAndExit box| |
|
2782 |
||
1593 | 2783 |
box := EnterBox2 title:(resources string:'Save image before exiting?') |
2784 |
okText:(resources string:'Save & Exit') |
|
2785 |
abortText:(resources string:'Cancel') |
|
1422
bd1798d4454c
exit dialog changed + info bar as subSpec to class ToolApplicationModel moved
tz
parents:
1420
diff
changeset
|
2786 |
action:[:str|fileName := str. saveAndExit := true]. |
1593 | 2787 |
box label: (resources string:'Exiting ST/X'). |
1406 | 2788 |
box initialText: ObjectMemory nameForSnapshot. |
1593 | 2789 |
box okText2:(resources string:'Exit') action2:[:str|saveAndExit := false]; showAtPointer. |
1406 | 2790 |
|
2791 |
saveAndExit notNil |
|
2792 |
ifTrue:[ |
|
2793 |
saveAndExit |
|
2794 |
ifTrue: |
|
2795 |
[ |
|
2796 |
self saveImageAs: fileName |
|
2797 |
]. |
|
2798 |
Smalltalk exit |
|
2799 |
] |
|
2800 |
||
1593 | 2801 |
"Modified: / 23.4.1998 / 18:37:46 / cg" |
1406 | 2802 |
! |
2803 |
||
2804 |
objectModuleDialog |
|
2805 |
"opens a moduleInfo dialog" |
|
2806 |
||
1780
1d3d4644f3c4
use objectModuleDialog from Launcher.
Claus Gittinger <cg@exept.de>
parents:
1777
diff
changeset
|
2807 |
^ Launcher::LauncherDialogs objectModuleDialogFor:self |
1d3d4644f3c4
use objectModuleDialog from Launcher.
Claus Gittinger <cg@exept.de>
parents:
1777
diff
changeset
|
2808 |
|
1d3d4644f3c4
use objectModuleDialog from Launcher.
Claus Gittinger <cg@exept.de>
parents:
1777
diff
changeset
|
2809 |
"Modified: / 31.7.1998 / 17:33:24 / cg" |
1406 | 2810 |
! |
2811 |
||
2812 |
saveImage |
|
2813 |
"save image" |
|
2814 |
||
2815 |
self showCursor:Cursor write. |
|
2816 |
[ |
|
2817 |
(ObjectMemory snapShotOn:ObjectMemory nameForSnapshot) ifFalse:[ |
|
2818 |
self warn:(resources string:'Failed to save snapshot image (disk full or not writable)'). |
|
2819 |
] |
|
2820 |
] valueNowOrOnUnwindDo:[ |
|
2821 |
self restoreCursors. |
|
2822 |
]. |
|
2823 |
||
2824 |
! |
|
2825 |
||
2826 |
saveImageAs |
|
2827 |
"save image, after asking for a file name" |
|
2828 |
||
2829 |
self saveImageAs: ( |
|
2830 |
FileSelectionBrowser |
|
1593 | 2831 |
request: (resources string:'Save Image As') |
1406 | 2832 |
fileName: ObjectMemory nameForSnapshot |
2833 |
inDirectory: Filename currentDirectory name |
|
2834 |
withFileFilters: #('*.img')) |
|
1593 | 2835 |
|
2836 |
"Modified: / 23.4.1998 / 18:25:17 / cg" |
|
1406 | 2837 |
! |
2838 |
||
2839 |
saveImageAs: aFileName |
|
2840 |
||
2841 |
aFileName notNil ifTrue:[ |
|
2842 |
self showCursor:Cursor write. |
|
2843 |
[ |
|
2844 |
(ObjectMemory snapShotOn:aFileName) ifFalse:[ |
|
2845 |
self warn:(resources string:'Failed to save snapshot image (disk full or not writable)'). |
|
2846 |
] |
|
2847 |
] valueNowOrOnUnwindDo:[ |
|
2848 |
self restoreCursors. |
|
2849 |
]. |
|
2850 |
]. |
|
2851 |
! ! |
|
2852 |
||
1544 | 2853 |
!NewLauncher methodsFor:'user actions - help'! |
1406 | 2854 |
|
1429 | 2855 |
activeHelp |
2856 |
||
2857 |
^helpIsOn ? (helpIsOn := false) |
|
2858 |
! |
|
2859 |
||
1411 | 2860 |
showBookPrintDocument |
2861 |
"open an HTML browser on the 'book'-printing document" |
|
2862 |
||
2863 |
self showDocumentation:'BOOK.html' |
|
2864 |
! |
|
2865 |
||
2866 |
startClassDocumentation |
|
2867 |
"open an HTML browser on the 'classDoc/TOP' document" |
|
2868 |
||
2869 |
self showDocumentation:'classDoc/TOP.html' |
|
2870 |
||
2871 |
! |
|
2872 |
||
2873 |
startDocumentationIndex |
|
2874 |
"open an HTML browser on the 'index' document" |
|
2875 |
||
2876 |
self showDocumentation:'index.html' |
|
2877 |
! |
|
2878 |
||
1406 | 2879 |
startDocumentationTool |
2880 |
"open an HTML browser on the 'TOP' document" |
|
2881 |
||
2882 |
self showDocumentation:'TOP.html' |
|
2883 |
||
1411 | 2884 |
! |
2885 |
||
2886 |
startWhatsNewDocumentation |
|
2887 |
"open an HTML browser on the 'whatsNew.html' document" |
|
2888 |
||
2889 |
self showDocumentation:'whatsNew.html' |
|
2890 |
||
2891 |
! |
|
2892 |
||
2893 |
toggleActiveHelp:aBoolean |
|
2894 |
"turn on/off active help" |
|
2895 |
||
1429 | 2896 |
ActiveHelp notNil ifTrue:[ |
2897 |
helpIsOn := aBoolean. |
|
2898 |
helpIsOn ifTrue:[ |
|
2899 |
ActiveHelp start |
|
2900 |
] ifFalse:[ |
|
2901 |
ActiveHelp stop |
|
2902 |
] |
|
2903 |
]. |
|
1411 | 2904 |
|
1406 | 2905 |
! ! |
2906 |
||
1544 | 2907 |
!NewLauncher methodsFor:'user actions - settings'! |
1406 | 2908 |
|
2909 |
compilerSettings |
|
2910 |
"open a dialog on compiler related settings" |
|
2911 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2912 |
Launcher::LauncherDialogs compilerSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2913 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2914 |
"Modified: / 31.7.1998 / 22:45:16 / cg" |
1406 | 2915 |
! |
2916 |
||
2917 |
displaySettings |
|
2918 |
"open a dialog on display related settings" |
|
2919 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2920 |
Launcher::LauncherDialogs displaySettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2921 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2922 |
"Modified: / 31.7.1998 / 22:45:38 / cg" |
1406 | 2923 |
! |
2924 |
||
2925 |
fontSettings |
|
2926 |
"open a dialog on font related settings" |
|
2927 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2928 |
Launcher::LauncherDialogs fontSettingsFor:self |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2929 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2930 |
"Modified: / 31.7.1998 / 22:45:44 / cg" |
1406 | 2931 |
! |
2932 |
||
2933 |
keyboardSetting |
|
2934 |
"open a dialog on keyboard related settings" |
|
2935 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2936 |
Launcher::LauncherDialogs keyboardSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2937 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2938 |
"Modified: / 31.7.1998 / 22:45:56 / cg" |
1406 | 2939 |
! |
2940 |
||
2941 |
languageSetting |
|
2942 |
"open a dialog on language related settings" |
|
2943 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2944 |
Launcher::LauncherDialogs languageSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2945 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2946 |
"Modified: / 31.7.1998 / 22:46:13 / cg" |
1406 | 2947 |
! |
2948 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2949 |
loadSettings |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2950 |
"restore settings from a settings-file." |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2951 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2952 |
"a temporary kludge - we need a central systemSettings object for this, |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2953 |
which can be saved/restored with a single store/read." |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2954 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2955 |
|fileName| |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2956 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2957 |
fileName := Dialog |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2958 |
requestFileName:(resources string:'load settings from:') |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2959 |
default:'settings.stx' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2960 |
ok:(resources string:'load') |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2961 |
abort:(resources string:'cancel') |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2962 |
pattern:'*.stx' |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2963 |
fromDirectory:nil. |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2964 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2965 |
(fileName isNil or:[fileName isEmpty]) ifTrue:[ |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2966 |
"/ canceled |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2967 |
^ self |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2968 |
]. |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2969 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2970 |
self withWaitCursorDo:[ |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2971 |
Smalltalk fileIn:fileName. |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2972 |
self reOpen |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2973 |
]. |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2974 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2975 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2976 |
! |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
2977 |
|
1406 | 2978 |
memorySettings |
2979 |
"open a dialog on objectMemory related settings" |
|
2980 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2981 |
Launcher::LauncherDialogs memorySettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2982 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2983 |
"Modified: / 31.7.1998 / 22:46:33 / cg" |
1406 | 2984 |
! |
2985 |
||
2986 |
messageSettings |
|
2987 |
"open a dialog on infoMessage related settings" |
|
2988 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2989 |
Launcher::LauncherDialogs messageSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2990 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2991 |
"Modified: / 31.7.1998 / 22:46:45 / cg" |
1406 | 2992 |
! |
2993 |
||
2994 |
miscSettings |
|
2995 |
"open a dialog on misc other settings" |
|
2996 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2997 |
Launcher::LauncherDialogs miscSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2998 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
2999 |
"Modified: / 31.7.1998 / 22:46:56 / cg" |
1406 | 3000 |
! |
3001 |
||
3002 |
printerSettings |
|
3003 |
"open a dialog on printer related settings" |
|
3004 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3005 |
Launcher::LauncherDialogs printerSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3006 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3007 |
"Modified: / 31.7.1998 / 22:47:05 / cg" |
1406 | 3008 |
! |
3009 |
||
3010 |
saveSettings |
|
3011 |
"save settings to a settings-file." |
|
3012 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3013 |
Launcher::LauncherDialogs saveSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3014 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3015 |
"Modified: / 31.7.1998 / 22:48:38 / cg" |
1406 | 3016 |
! |
3017 |
||
3018 |
sourceAndDebuggerSettings |
|
3019 |
"open a dialog on misc other settings" |
|
3020 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3021 |
Launcher::LauncherDialogs sourceAndDebuggerSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3022 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3023 |
"Modified: / 31.7.1998 / 22:47:21 / cg" |
1406 | 3024 |
! |
3025 |
||
3026 |
viewStyleSetting |
|
3027 |
"open a dialog on viewStyle related settings" |
|
3028 |
||
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3029 |
Launcher::LauncherDialogs viewStyleSettingsFor:self. |
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3030 |
|
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3031 |
"Modified: / 31.7.1998 / 22:47:33 / cg" |
1406 | 3032 |
! ! |
3033 |
||
1544 | 3034 |
!NewLauncher methodsFor:'user actions - system'! |
1406 | 3035 |
|
3036 |
compressingGarbageCollect |
|
3037 |
"perform a compressing garbageCollect" |
|
3038 |
||
1608 | 3039 |
self withWaitCursorDo:[ObjectMemory verboseGarbageCollect] |
1406 | 3040 |
|
3041 |
! |
|
3042 |
||
1544 | 3043 |
garbageCollect |
3044 |
"perform a non-compressing garbageCollect" |
|
3045 |
||
1608 | 3046 |
self withWaitCursorDo:[ObjectMemory reclaimSymbols] |
1544 | 3047 |
|
3048 |
! |
|
3049 |
||
3050 |
initJavaVM |
|
3051 |
JavaVM initializeVM |
|
3052 |
||
3053 |
"Created: / 9.2.1998 / 12:06:07 / cg" |
|
3054 |
! |
|
3055 |
||
3056 |
startLatencyMonitor |
|
3057 |
"open an interruptLatencyMonitor view" |
|
3058 |
||
3059 |
InterruptLatencyMonitor notNil ifTrue:[ |
|
3060 |
Autoload autoloadFailedSignal catch:[ |
|
3061 |
InterruptLatencyMonitor autoload. |
|
3062 |
]. |
|
3063 |
InterruptLatencyMonitor isLoaded ifTrue:[ |
|
3064 |
InterruptLatencyMonitor open. |
|
3065 |
^ self. |
|
3066 |
] |
|
3067 |
]. |
|
3068 |
self warn:'Sorry - the irq latency monitor is only available |
|
3069 |
in the full commercial release'. |
|
3070 |
||
3071 |
! |
|
3072 |
||
3073 |
startStopEventTrace |
|
3074 |
"start/stop event tracing for a particular view" |
|
3075 |
||
3076 |
|v wg| |
|
3077 |
||
3078 |
v := Screen current viewFromUser. |
|
3079 |
v notNil ifTrue:[ |
|
3080 |
v := v topView. |
|
3081 |
wg := v windowGroup. |
|
3082 |
wg notNil ifTrue:[ |
|
3083 |
"/ |
|
3084 |
"/ toggle eventTrace in its windowGroup |
|
3085 |
"/ |
|
3086 |
wg traceEvents:(wg preEventHook isNil) |
|
3087 |
] |
|
3088 |
] |
|
3089 |
||
3090 |
! ! |
|
3091 |
||
3092 |
!NewLauncher methodsFor:'user actions - tools'! |
|
3093 |
||
1767 | 3094 |
addUserTool: toolName action: action icon: icon |
3095 |
"adds a menu item labeled toolName, and action and icon both to the |
|
3096 |
sub menu 'Tools' and the tool bar. |
|
3097 |
" |
|
3098 |
||
3099 |
self addUserTool: toolName action: action in: nil icon: icon space: true |
|
3100 |
||
3101 |
! |
|
3102 |
||
3103 |
addUserTool: toolName action: action in: what icon: icon space: space |
|
3104 |
"adds a menu item labeled toolName, and action and icon; |
|
3105 |
for what == #menu menu item is added at the end of the sub menu 'Tools', |
|
3106 |
for what == #toolbar menu item is added at the end of the tool bar, |
|
3107 |
" |
|
3108 |
||
3109 |
|menuPanel freeMenuIndex| |
|
3110 |
||
3111 |
(what isNil or: [what == #toolbar]) |
|
3112 |
ifTrue: |
|
3113 |
[ |
|
3114 |
menuPanel := builder namedComponents at: #menuToolbarView. |
|
3115 |
||
3116 |
(menuPanel findFirst: [:i| i activeHelpKey = toolName]) == 0 |
|
3117 |
ifTrue: |
|
3118 |
[ |
|
3119 |
freeMenuIndex := menuPanel numberOfItems + 1. |
|
3120 |
space |
|
3121 |
ifTrue: |
|
3122 |
[ |
|
3123 |
(menuPanel createAtIndex: freeMenuIndex) menuItem: (MenuItem labeled: ''). |
|
3124 |
freeMenuIndex := freeMenuIndex + 1. |
|
3125 |
]. |
|
3126 |
||
3127 |
(menuPanel createAtIndex: freeMenuIndex) menuItem: |
|
3128 |
(MenuItem new |
|
3129 |
label: toolName; |
|
3130 |
value: action; |
|
3131 |
isButton: true; |
|
3132 |
labelImage: icon; |
|
3133 |
activeHelpKey: toolName) |
|
3134 |
]. |
|
3135 |
]. |
|
3136 |
(what isNil or: [what== #menu]) |
|
3137 |
ifTrue: |
|
3138 |
[ |
|
3139 |
menuPanel := ((self builder window subViews at: 1 ifAbsent: [^self]) itemAt: 4) submenu. |
|
3140 |
||
3141 |
(menuPanel findFirst: [:i| i activeHelpKey = toolName]) == 0 |
|
3142 |
ifTrue: |
|
3143 |
[ |
|
3144 |
freeMenuIndex := menuPanel numberOfItems + 1. |
|
3145 |
space |
|
3146 |
ifTrue: |
|
3147 |
[ |
|
3148 |
(menuPanel createAtIndex: freeMenuIndex) menuItem: (MenuItem labeled: '-'). |
|
3149 |
freeMenuIndex := freeMenuIndex + 1. |
|
3150 |
]. |
|
3151 |
||
3152 |
(menuPanel createAtIndex: freeMenuIndex) menuItem: |
|
3153 |
(MenuItem new |
|
3154 |
label: toolName; |
|
3155 |
value: action; |
|
3156 |
labelImage: (LabelAndIcon icon: icon string: toolName); |
|
3157 |
activeHelpKey: toolName) |
|
3158 |
]. |
|
3159 |
]. |
|
3160 |
||
3161 |
UserAddedTools isNil ifTrue: [UserAddedTools := Dictionary new]. |
|
3162 |
UserAddedTools at: toolName put: (Array with: action with: what with: icon with: space) |
|
3163 |
! |
|
3164 |
||
1544 | 3165 |
newProject |
3166 |
"creates a new project & opens a projectView for it" |
|
3167 |
||
3168 |
Project notNil ifTrue: [(ProjectView for: Project new) open] |
|
3169 |
! |
|
3170 |
||
1752 | 3171 |
openTerminal |
3172 |
VT100TerminalView open |
|
3173 |
||
3174 |
"Created: / 27.7.1998 / 12:48:30 / cg" |
|
3175 |
! |
|
3176 |
||
1767 | 3177 |
removeUserTool: toolName |
3178 |
"removes a menu item labeled toolName |
|
3179 |
" |
|
3180 |
||
3181 |
|userTool space menuIndex removeInMenuBlock| |
|
3182 |
||
3183 |
UserAddedTools isNil ifTrue: [^nil]. |
|
3184 |
userTool := UserAddedTools at: toolName ifAbsent: [^nil]. |
|
3185 |
space := userTool at: 4. |
|
3186 |
||
3187 |
removeInMenuBlock := |
|
3188 |
[:menuPanel| |
|
3189 |
(menuIndex := menuPanel findFirst: [:i| i activeHelpKey = toolName]) ~~ 0 |
|
3190 |
ifTrue: |
|
3191 |
[ |
|
3192 |
menuPanel remove: menuIndex. |
|
3193 |
space ifTrue: [menuPanel remove: menuIndex - 1]. |
|
3194 |
]. |
|
3195 |
]. |
|
3196 |
||
3197 |
removeInMenuBlock value: (builder namedComponents at: #menuToolbarView). |
|
3198 |
removeInMenuBlock value: ((self builder window subViews at: 1 ifAbsent: [^self]) itemAt: 4) submenu. |
|
3199 |
||
3200 |
||
3201 |
UserAddedTools removeKey: toolName |
|
3202 |
||
3203 |
! |
|
3204 |
||
1544 | 3205 |
selectProject |
3206 |
"asks for and switch to another project" |
|
3207 |
||
3208 |
|list box| |
|
3209 |
||
3210 |
Project notNil ifTrue:[ |
|
3211 |
list := Project allInstances. |
|
3212 |
box := ListSelectionBox new. |
|
3213 |
box list:(list collect:[:p | p name]). |
|
3214 |
box title:(resources string:'select a project'). |
|
3215 |
box action:[:selection | |
|
3216 |
|project| |
|
3217 |
||
3218 |
project := list detect:[:p | p name = selection] ifNone:[nil]. |
|
3219 |
project isNil ifTrue:[ |
|
3220 |
transcript showCR:'no such project.' |
|
3221 |
] ifFalse:[ |
|
3222 |
project showViews. |
|
3223 |
Project current:project |
|
3224 |
] |
|
3225 |
]. |
|
3226 |
box showAtPointer. |
|
3227 |
box destroy |
|
3228 |
] |
|
3229 |
! |
|
3230 |
||
3231 |
startNewLauncher |
|
3232 |
"opens the new launcher" |
|
3233 |
||
3234 |
NewLauncher openAt:(self window origin) |
|
3235 |
||
3236 |
! |
|
3237 |
||
1680
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3238 |
startOldChangesBrowser |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3239 |
"opens the old changeBrowser" |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3240 |
|
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3241 |
ChangesBrowser open |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3242 |
|
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3243 |
"Created: / 6.6.1998 / 19:47:26 / cg" |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3244 |
! |
b1156fe1df3b
added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents:
1679
diff
changeset
|
3245 |
|
1544 | 3246 |
startOldLauncher |
3247 |
"opens the old launcher" |
|
3248 |
||
3249 |
Launcher openAt:(self window origin) |
|
3250 |
||
3251 |
! ! |
|
3252 |
||
3253 |
!NewLauncher methodsFor:'user actions - windows'! |
|
3254 |
||
1406 | 3255 |
deIconifyAllWindows |
3256 |
|setOfViews| |
|
3257 |
||
3258 |
setOfViews := Project current views asIdentitySet. |
|
3259 |
setOfViews addAll:(Project defaultProject views). |
|
3260 |
||
3261 |
setOfViews do:[:aTopView | |
|
3262 |
aTopView device == Screen current ifTrue:[ |
|
3263 |
aTopView expand |
|
3264 |
]. |
|
3265 |
]. |
|
3266 |
||
3267 |
! |
|
3268 |
||
3269 |
findAndDestroyWindow |
|
3270 |
"find a window (by name) and destroy it" |
|
3271 |
||
3272 |
|v| |
|
3273 |
v := self findWindow:'select view to close:'. |
|
3274 |
v notNil ifTrue:[v destroy] |
|
3275 |
||
3276 |
! |
|
3277 |
||
3278 |
findAndRaiseWindow |
|
3279 |
"find a window (by name) and raise it" |
|
3280 |
||
3281 |
|v| |
|
3282 |
||
3283 |
v := self findWindow:'select view to raise deiconified:'. |
|
3284 |
v notNil ifTrue:[v raiseDeiconified] |
|
3285 |
||
3286 |
! |
|
3287 |
||
3288 |
fullScreenHardcopy |
|
3289 |
"after a second (to allow redraw of views under menu ...), |
|
3290 |
save the contents of the whole screen." |
|
3291 |
||
3292 |
Processor |
|
3293 |
addTimedBlock:[ |
|
3294 |
self |
|
3295 |
saveScreenImage:(Image fromScreen) |
|
3296 |
defaultName:'screen' |
|
3297 |
] |
|
3298 |
afterSeconds:1 |
|
3299 |
||
3300 |
! |
|
3301 |
||
3302 |
iconifyAllWindows |
|
3303 |
|setOfViews| |
|
3304 |
||
3305 |
setOfViews := Project current views asIdentitySet. |
|
3306 |
setOfViews addAll:(Project defaultProject views). |
|
3307 |
||
3308 |
setOfViews do:[:aTopView | |
|
3309 |
aTopView device == Screen current ifTrue:[ |
|
3310 |
aTopView collapse |
|
3311 |
] |
|
3312 |
] |
|
3313 |
||
3314 |
! |
|
3315 |
||
3316 |
pickAView |
|
3317 |
"let user pick a view and return it" |
|
3318 |
||
3319 |
|v| |
|
3320 |
||
3321 |
(Delay forSeconds:1) wait. |
|
3322 |
v := Screen current viewFromUser. |
|
3323 |
v isNil ifTrue:[ |
|
3324 |
self warn:'Sorry, this is not a smalltalk view'. |
|
3325 |
^ nil |
|
3326 |
]. |
|
3327 |
^ v |
|
3328 |
||
3329 |
! |
|
3330 |
||
3331 |
screenHardcopy |
|
3332 |
"after a second (to allow redraw of views under menu ...), |
|
3333 |
let user specify a rectangular area on the screen |
|
3334 |
and save its contents." |
|
3335 |
||
3336 |
|area| |
|
3337 |
||
3338 |
Processor |
|
3339 |
addTimedBlock:[ |
|
3340 |
[Screen current leftButtonPressed] whileTrue:[Processor yield]. |
|
3341 |
||
3342 |
area := Rectangle fromUser. |
|
3343 |
(area width > 0 and:[area height > 0]) ifTrue:[ |
|
3344 |
self saveScreenImage:(Image fromScreen:area) defaultName:'hardcopy' |
|
3345 |
] |
|
3346 |
] |
|
3347 |
afterSeconds:1 |
|
3348 |
||
3349 |
! |
|
3350 |
||
3351 |
startWindowTreeView |
|
3352 |
"open a windowTree view (on a topView)" |
|
3353 |
||
3354 |
|v| |
|
3355 |
||
3356 |
v := self pickAView. |
|
3357 |
v notNil ifTrue:[ |
|
3358 |
WindowTreeView openOn:v topView |
|
3359 |
] |
|
3360 |
||
3361 |
! |
|
3362 |
||
3363 |
viewDestroy |
|
3364 |
"let user pick a view and destroy it. |
|
3365 |
Even allow destroying non-smalltalk views |
|
3366 |
(also for views which I forgot due to some error)" |
|
3367 |
||
3368 |
|device v id i c| |
|
3369 |
||
3370 |
(Delay forSeconds:1) wait. |
|
3371 |
||
3372 |
device := Screen current. |
|
3373 |
i := Image fromFile:'bitmaps/xpmBitmaps/cursors/cross2.xpm'. |
|
3374 |
i isNil ifTrue:[ |
|
3375 |
c := Cursor crossHair |
|
3376 |
] ifFalse:[ |
|
3377 |
c := Cursor fromImage:i |
|
3378 |
]. |
|
3379 |
id := device viewIdFromPoint:(device pointFromUserShowing:c). |
|
3380 |
(v := device viewFromId:id) notNil ifTrue:[ |
|
3381 |
v topView destroy. |
|
3382 |
^ self |
|
3383 |
]. |
|
3384 |
id = device rootView id ifTrue:[ |
|
3385 |
^ self |
|
3386 |
]. |
|
3387 |
(Dialog confirm:'mhmh, this may not a be smalltalk view\(Or I somehow forgot about it).\Destroy anyway ?' withCRs) |
|
3388 |
ifTrue:[ |
|
3389 |
device destroyView:nil withId:id |
|
3390 |
]. |
|
3391 |
||
3392 |
||
3393 |
! |
|
3394 |
||
3395 |
viewHardcopy |
|
3396 |
"after a second (to allow redraw of views under menu ...), |
|
3397 |
let user specify a view and save its contents." |
|
3398 |
||
3399 |
Processor |
|
3400 |
addTimedBlock:[ |
|
3401 |
|v| |
|
3402 |
(v := Screen current viewFromUser) notNil ifTrue:[ |
|
3403 |
self saveScreenImage:(Image fromView:(v topView)) defaultName:'hardcopy' |
|
3404 |
] |
|
3405 |
] |
|
3406 |
afterSeconds:1 |
|
3407 |
||
3408 |
! |
|
3409 |
||
3410 |
viewInspect |
|
3411 |
"let user pick a view and inspect it. Only smalltalk views are allowed" |
|
3412 |
||
3413 |
|v| |
|
3414 |
||
3415 |
(v := self pickAView) notNil |
|
3416 |
ifTrue: |
|
3417 |
[ |
|
3418 |
v inspect |
|
3419 |
] |
|
3420 |
||
3421 |
! ! |
|
3422 |
||
3423 |
!NewLauncher class methodsFor:'documentation'! |
|
3424 |
||
3425 |
version |
|
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
3426 |
^ '$Header: /cvs/stx/stx/libtool/NewLauncher.st,v 1.90 1998-07-31 20:50:22 cg Exp $' |
1406 | 3427 |
! ! |