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