author | Claus Gittinger <cg@exept.de> |
Tue, 25 Jun 2013 19:09:16 +0200 | |
changeset 13013 | 4b200c1f1846 |
parent 12991 | 8323397ef226 |
child 13027 | a477491219f4 |
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 |
12335 | 3 |
All Rights Reserved |
1406 | 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 |
" |
|
2659 | 12 |
"{ Package: 'stx:libtool' }" |
13 |
||
2003
b44e8c80ec07
refactored with Launcher into AbstractLauncherApplication
Claus Gittinger <cg@exept.de>
parents:
1998
diff
changeset
|
14 |
AbstractLauncherApplication subclass:#NewLauncher |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
15 |
instanceVariableNames:'isMainLauncher helpIsOn errorListCanvas infoLineTemplate' |
3915 | 16 |
classVariableNames:'UserAddedMenuItems UserAddedToolBarItems' |
17 |
poolDictionaries:'' |
|
18 |
category:'Interface-Smalltalk' |
|
1406 | 19 |
! |
20 |
||
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
21 |
Object subclass:#AddedToolInfo |
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
22 |
instanceVariableNames:'item resourceProvider where positionSpec space before |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
23 |
menuWithNewItem originalLabel' |
3915 | 24 |
classVariableNames:'' |
25 |
poolDictionaries:'' |
|
26 |
privateIn:NewLauncher |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
27 |
! |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
28 |
|
1406 | 29 |
!NewLauncher class methodsFor:'documentation'! |
30 |
||
31 |
copyright |
|
32 |
" |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
33 |
COPYRIGHT (c) 1997-1998 by eXept Software AG |
12335 | 34 |
All Rights Reserved |
1406 | 35 |
|
36 |
This software is furnished under a license and may be used |
|
37 |
only in accordance with the terms of that license and with the |
|
38 |
inclusion of the above copyright notice. This software may not |
|
39 |
be provided or otherwise made available to, or used by, any |
|
40 |
other person. No title to or ownership of the software is |
|
41 |
hereby transferred. |
|
42 |
" |
|
43 |
||
44 |
||
45 |
! |
|
46 |
||
47 |
documentation |
|
48 |
" |
|
2011 | 49 |
The new launcher. |
12335 | 50 |
This one provides all of the Launchers functionality, |
2011 | 51 |
but has been written using the new GUI painter tools. |
52 |
(i.e. its menu and toolbar is defined by specs, which can be |
|
53 |
easily modified). |
|
54 |
Functionality which can be shared with the old launcher |
|
55 |
has been moved to a common superclass. |
|
56 |
||
57 |
If you want to write your own (application-)launcher, we recommend |
|
58 |
creating a subclass, and redefining the appropriate menu & menuToolBar |
|
59 |
methods there. |
|
1411 | 60 |
|
61 |
[start with:] |
|
12335 | 62 |
NewLauncher open |
1411 | 63 |
|
64 |
[see also:] |
|
12335 | 65 |
Launcher |
1411 | 66 |
|
67 |
[author:] |
|
12335 | 68 |
Thomas Zwick, eXept Software AG |
69 |
Claus Gittinger, eXept Software AG |
|
1406 | 70 |
" |
2011 | 71 |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
72 |
! |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
73 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
74 |
examples |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
75 |
" |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
76 |
reopening a standard launcher (without any added tools) |
12335 | 77 |
[exBegin] |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
78 |
NewLauncher removeAllUserAddedTools. |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
79 |
NewLauncher open. |
12335 | 80 |
[exEnd] |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
81 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
82 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
83 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
84 |
adding your own menu items (for user-applications) |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
85 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
86 |
an additional item in the tools menu: |
12335 | 87 |
[exBegin] |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
88 |
Transcript topView application |
12335 | 89 |
addMenuItem:(MenuItem new |
90 |
label: 'Foo'; |
|
91 |
value: [Transcript showCR:'foo invoked']; |
|
92 |
isButton: false; |
|
93 |
labelImage: nil; |
|
94 |
nameKey: #foo; |
|
95 |
activeHelpKey: #Foo) |
|
96 |
in:#menu |
|
97 |
position:#(before workspace) |
|
98 |
space:true |
|
99 |
[exEnd] |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
100 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
101 |
an additional item in the tools menu: |
12335 | 102 |
[exBegin] |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
103 |
Transcript topView application |
12335 | 104 |
addMenuItem:(MenuItem new |
105 |
label: 'Foo'; |
|
106 |
value: [Transcript showCR:'foo invoked']; |
|
107 |
isButton: false; |
|
108 |
labelImage: nil; |
|
109 |
activeHelpKey: #Foo) |
|
110 |
in:#menu |
|
111 |
position:#(after guiPainter) |
|
112 |
space:true |
|
113 |
[exEnd] |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
114 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
115 |
an additional item in one of the tools sub menus: |
12335 | 116 |
[exBegin] |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
117 |
Transcript topView application |
12335 | 118 |
addMenuItem:(MenuItem new |
119 |
label: 'Foo'; |
|
120 |
value: [Transcript showCR:'foo invoked']; |
|
121 |
isButton: false; |
|
122 |
labelImage: nil; |
|
123 |
activeHelpKey: #Foo) |
|
124 |
in:#menu |
|
125 |
position:#(after Workspace) |
|
126 |
space:true |
|
127 |
[exEnd] |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
128 |
" |
1406 | 129 |
! ! |
130 |
||
131 |
!NewLauncher class methodsFor:'accessing'! |
|
132 |
||
133 |
label |
|
134 |
||
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
135 |
^'ST/X Launcher' |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
136 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
137 |
|
1406 | 138 |
! ! |
139 |
||
140 |
!NewLauncher class methodsFor:'defaults'! |
|
141 |
||
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
142 |
defaultInfoLineTemplate |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
143 |
"available values: |
12335 | 144 |
PACKAGE - the current packageID |
145 |
PACKAGEOREMPTY - the current packageID or empty if its __NoPackage__ |
|
146 |
IMAGE - the current snapshot image |
|
147 |
CVS - the CVS source repository or empty |
|
148 |
DB - the Store source repository DB or empty |
|
149 |
SVN_WORKING_COPY- the SVN working copy dir or empty |
|
150 |
NOREPOSITORY - the tring 'No Repository' empty |
|
151 |
NS - the default namespace, or empty (if Smalltalk) |
|
152 |
PROJECTDIR - the default fileOut directory or empty (if current) |
|
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
153 |
" |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
154 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
155 |
(SVN::RepositoryManager notNil |
12335 | 156 |
and:[ SVN::RepositoryManager isLoaded |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
157 |
and:[ SVN::RepositoryManager enabled ]]) ifTrue:[ |
12335 | 158 |
^ '%(PACKAGEOREMPTY)%(IMAGE) %(CVS)%(DB)%(SVN_WORKING_COPY)' |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
159 |
]. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
160 |
^ '%(PACKAGEOREMPTY)%(IMAGE)%(CVS)%(DB)%(NOREPOSITORY)%(NS)' |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
161 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
162 |
"/ ^ '%(PACKAGEOREMPTY)%(IMAGE)%(CVS)%(DB)%(NOREPOSITORY)%(NS)' |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
163 |
"/ ^ '%(PACKAGE)%(IMAGE)%(CVS)%(DB)%(NOREPOSITORY)%(NS)%(PROJECTDIR)' |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
164 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
165 |
"Modified: / 30-09-2008 / 12:45:49 / Jan Vrany <vranyj1@fel.cvut.cz>" |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
166 |
! |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
167 |
|
1836
5f36df45604f
added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents:
1819
diff
changeset
|
168 |
windowIcon |
5f36df45604f
added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents:
1819
diff
changeset
|
169 |
^ Icon stxIcon |
5f36df45604f
added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents:
1819
diff
changeset
|
170 |
|
5f36df45604f
added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents:
1819
diff
changeset
|
171 |
"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
|
172 |
"Modified: / 17.8.1998 / 10:07:09 / cg" |
1406 | 173 |
! ! |
174 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
175 |
!NewLauncher class methodsFor:'help specs'! |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
176 |
|
3489 | 177 |
flyByHelpSpec |
178 |
<resource: #help> |
|
179 |
||
180 |
^super flyByHelpSpec addPairsFrom:#( |
|
181 |
||
182 |
#fileFileBrowser |
|
183 |
'FileBrowser' |
|
184 |
||
3808 | 185 |
#fileBrowserV2 |
12991 | 186 |
'FileBrowser / Recently visited folders' |
3808 | 187 |
|
3489 | 188 |
#fileSaveImage |
189 |
'Save Image' |
|
190 |
||
191 |
#fileSaveImageAs |
|
192 |
'Save Image' |
|
193 |
||
194 |
#helpSTXOnlineDocumentation |
|
195 |
'Online Manual' |
|
196 |
||
197 |
#classesSystemBrowserOnClass |
|
198 |
'Browser history' |
|
199 |
||
200 |
#classesSystemBrowser |
|
3808 | 201 |
'SystemBrowser' |
3489 | 202 |
|
203 |
#newSystemBrowser |
|
12991 | 204 |
'New SystemBrowser / Recently visited classes' |
3489 | 205 |
|
206 |
#systemGarbageCollect |
|
207 |
'GarbageCollect' |
|
208 |
||
209 |
#systemGarbageCollectAndCompress |
|
210 |
'GarbageCollect' |
|
211 |
||
212 |
#toolsGUIPainter |
|
213 |
'GUIPainter' |
|
214 |
||
215 |
#toolsImageEditor |
|
216 |
'BitmapEditor' |
|
217 |
||
218 |
#toolsMenuEditor |
|
219 |
'MenuEditor' |
|
220 |
||
221 |
#toolsChangesBrowser |
|
3493 | 222 |
'Changes Browser' |
3489 | 223 |
|
8423 | 224 |
toolsChangesBrowserOrNavigateToRecentChange |
225 |
'Changes Browser / Recent Change' |
|
226 |
||
3489 | 227 |
#toolsMiscProjectsNewProject |
228 |
'New Project' |
|
229 |
||
230 |
#toolsNewChangesBrowser |
|
231 |
'ChangesBrowser (new GUI)' |
|
232 |
||
233 |
#toolsOldChangesBrowser |
|
234 |
'ChangesBrowser (old GUI)' |
|
235 |
||
236 |
#toolsWorkspace |
|
237 |
'Workspace' |
|
238 |
||
8318 | 239 |
#toolsMyWorkspace |
240 |
'Workspace on the "MyWorkspace.wsp" file' |
|
241 |
||
242 |
#toolsSystemWorkspace |
|
243 |
'The SystemWorkspace with Welcome Messages' |
|
244 |
||
8321 | 245 |
#toolsEvaluationWorkspace |
246 |
'A 3-pane EvaluationWorkspace - good for lectures and Smalltalk courses' |
|
8318 | 247 |
|
8297 | 248 |
#toolsInternationalLanguageTranslationEditor |
249 |
'National Language Translation Editor' |
|
3489 | 250 |
) |
251 |
! |
|
252 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
253 |
helpSpec |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
254 |
"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
|
255 |
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
|
256 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
257 |
"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
|
258 |
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
|
259 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
260 |
" |
12335 | 261 |
UIHelpTool openOnClass:NewLauncher |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
262 |
" |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
263 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
264 |
<resource: #help> |
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
265 |
|
5017 | 266 |
^ super helpSpec addPairsFrom:#( |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
267 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
268 |
#aboutLicenseConditions |
11730 | 269 |
'Show 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
|
270 |
|
2698
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
271 |
#chickenFun |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
272 |
'Watch your views' |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
273 |
|
5017 | 274 |
#classBrowserOnChangedClasses |
275 |
'Open a Browser on changed classes' |
|
276 |
||
8321 | 277 |
#classBrowserOnChangedMethod |
278 |
'Open a Browser on a that changed method' |
|
279 |
||
5017 | 280 |
#classBrowserOnChangedMethods |
281 |
'Open a Browser on changed methods' |
|
282 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
283 |
#classes |
11730 | 284 |
'Class functions' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
285 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
286 |
#classesClassBrowser |
11730 | 287 |
'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
|
288 |
|
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
289 |
#classesClassBrowserOnChanges |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
290 |
'Open a Browser on changed classes' |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
291 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
292 |
#classesClassHierarchyBrowser |
11730 | 293 |
'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
|
294 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
295 |
#classesClassTreeBrowser |
11730 | 296 |
'Open a Class Tree View' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
297 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
298 |
#classesFullClassBrowser |
11730 | 299 |
'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
|
300 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
301 |
#classesImplementors |
1616 | 302 |
'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
|
303 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
304 |
#classesRemoveAllTracePoints |
11730 | 305 |
'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
|
306 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
307 |
#classesResourceMethods |
11730 | 308 |
'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
|
309 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
310 |
#classesSenders |
11730 | 311 |
'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
|
312 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
313 |
#classesShowTracePoints |
11730 | 314 |
'Browse mthods with a Trace- or Break-point' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
315 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
316 |
#classesSpecial |
11730 | 317 |
'Special class functions' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
318 |
|
5017 | 319 |
#classesSpecialReferencesToUnboundGlobals |
11730 | 320 |
'rbowse methods refering to unbound globals' |
5017 | 321 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
322 |
#classesSpecialReferencesToUndeclared |
11730 | 323 |
'Browse methods refering to undeclared variables' |
4199
f9bc3cbc38f7
added browse refs to unbound globals.
Claus Gittinger <cg@exept.de>
parents:
4144
diff
changeset
|
324 |
|
8297 | 325 |
#classesStopIgnoringHalts |
11730 | 326 |
'Stop ignoring Halts in the debugger' |
8297 | 327 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
328 |
#classesSystemBrowser |
11730 | 329 |
'Open a System Browser' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
330 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
331 |
#classesSystemBrowserOnClass |
11730 | 332 |
'Open a System Browser on a previously visited class' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
333 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
334 |
#demos |
11730 | 335 |
'Demo programs' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
336 |
|
1759 | 337 |
#demos3D |
11730 | 338 |
'3D GL graphic demos' |
1759 | 339 |
|
340 |
#demos3DcubeSolid |
|
11730 | 341 |
'A rotating solid cube' |
1759 | 342 |
|
343 |
#demos3DcubeWire |
|
11730 | 344 |
'A rotating wireframe cube' |
1759 | 345 |
|
346 |
#demos3Ddoughnut |
|
11730 | 347 |
'A rotating wireframe doughnut' |
1759 | 348 |
|
349 |
#demos3Dlogo |
|
11730 | 350 |
'The ST/X logo' |
1759 | 351 |
|
352 |
#demos3Dplane |
|
11730 | 353 |
'A rotating plane' |
1759 | 354 |
|
355 |
#demos3Dplanet |
|
11730 | 356 |
'Two spheres - one rotating around the other' |
1759 | 357 |
|
358 |
#demos3Drubics |
|
11730 | 359 |
'A rubics cube - with interaction' |
1759 | 360 |
|
361 |
#demos3Dsphere |
|
11730 | 362 |
'A rotating wireframe sphere' |
1759 | 363 |
|
364 |
#demos3Dteapot |
|
11730 | 365 |
'A teopot' |
1759 | 366 |
|
367 |
#demos3Dtetra |
|
11730 | 368 |
'A rotating tetrahedron' |
1759 | 369 |
|
370 |
#demosAnimations |
|
11730 | 371 |
'Simple animation demos' |
1759 | 372 |
|
4594 | 373 |
#demosBabelFish |
374 |
'A Language Translator' |
|
375 |
||
1759 | 376 |
#demosCalculator |
11730 | 377 |
'Opens a calculator with decimal to hex conversion' |
1759 | 378 |
|
379 |
#demosCalendar |
|
11730 | 380 |
'Opens a GUI on the cal program (unix only)' |
1759 | 381 |
|
382 |
#demosClock |
|
11730 | 383 |
'Opens an analog clock application' |
1759 | 384 |
|
385 |
#demosCommander |
|
11730 | 386 |
'Opens a demo for the Commander class' |
1759 | 387 |
|
388 |
#demosDigitalClock |
|
389 |
'Opens a digital clock application' |
|
390 |
||
8951 | 391 |
#demosDrawingProtocol |
392 |
'Drawing protocol demo (for programmers)' |
|
393 |
||
1759 | 394 |
#demosFTP |
11730 | 395 |
'Opens a simple FTP interface demo' |
1759 | 396 |
|
397 |
#demosFractalPatterns |
|
11730 | 398 |
'Opens a view displaying fractal patterns' |
1759 | 399 |
|
400 |
#demosFractalPlants |
|
11730 | 401 |
'Opens a view displaying fractal plants (iterated function systems)' |
1759 | 402 |
|
1794 | 403 |
#demosGUI |
11730 | 404 |
'GUI builder demos' |
1794 | 405 |
|
406 |
#demosGUICalculator |
|
11730 | 407 |
'Calculator built using the GUI builder' |
1794 | 408 |
|
409 |
#demosGUIWidgets |
|
11730 | 410 |
'GUI widgets usage' |
1794 | 411 |
|
1759 | 412 |
#demosGames |
11730 | 413 |
'Games' |
1759 | 414 |
|
415 |
#demosGeometric |
|
11730 | 416 |
'Various demos displaying geometric designs' |
1759 | 417 |
|
418 |
#demosGlobe |
|
11730 | 419 |
'Opens a rotating globe animation demo' |
1759 | 420 |
|
421 |
#demosGoodies |
|
11730 | 422 |
'Goodies and Utilities' |
1759 | 423 |
|
1777 | 424 |
#demosGraphicEditors |
11730 | 425 |
'Graphic editing demos' |
1777 | 426 |
|
427 |
#demosGraphicEditorsDrawTool |
|
11730 | 428 |
'Object drawing demo' |
1777 | 429 |
|
430 |
#demosGraphicEditorsLogicTool |
|
11730 | 431 |
'Simulating Logic demo' |
1777 | 432 |
|
433 |
#demosGraphicEditorsPaintTool |
|
11730 | 434 |
'Painting demo' |
1777 | 435 |
|
2405 | 436 |
#demosLSystems |
11730 | 437 |
'Opens a view displaying fractal patterns using Lindenmayer Systems' |
2405 | 438 |
|
1759 | 439 |
#demosMail |
11730 | 440 |
'Opens a simple mail viewer demo' |
1759 | 441 |
|
442 |
#demosMandel |
|
11730 | 443 |
'Opens a view displaying the mandelbrot set' |
1759 | 444 |
|
445 |
#demosMoreFractalPatterns |
|
11730 | 446 |
'Opens a view with more fractal patterns' |
1759 | 447 |
|
448 |
#demosNews |
|
11730 | 449 |
'Opens a simple news reader demo' |
1759 | 450 |
|
8951 | 451 |
#demosOldStuff |
452 |
'Very old demos' |
|
453 |
||
1759 | 454 |
#demosPen |
11730 | 455 |
'Opens a demo for the Pen class' |
1759 | 456 |
|
2483 | 457 |
#demosRemoteLauncher |
11730 | 458 |
'Opens a launcher on a remote display' |
2462 | 459 |
|
1759 | 460 |
#demosTelnet |
11730 | 461 |
'Opens a Telnet terminal demo' |
1759 | 462 |
|
463 |
#demosWalkingMan |
|
11730 | 464 |
'Opens a walking man animation demo' |
1759 | 465 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
466 |
#fileApplicationBuilder |
11730 | 467 |
'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
|
468 |
|
5017 | 469 |
#fileBrowserV2 |
12085 | 470 |
'Open a FileBrowser to edit or load files and folders' |
5017 | 471 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
472 |
#fileFileBrowser |
12085 | 473 |
'Open a FileBrowser to edit or load files and folders' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
474 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
475 |
#fileLibraryBuilder |
11730 | 476 |
'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
|
477 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
478 |
#fileModules |
11730 | 479 |
'Show 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
|
480 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
481 |
#fileSaveImage |
12085 | 482 |
'Save the complete state of ST/X into the current snapshot file ("%1")' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
483 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
484 |
#fileSaveImageAs |
12041 | 485 |
'Save the complete state of ST/X into a snapshot file' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
486 |
|
2483 | 487 |
#gamesPingPong |
11730 | 488 |
'Play classic PingPong against the computer' |
2483 | 489 |
|
490 |
#gamesPingPong2 |
|
11730 | 491 |
'Play classic PingPong against a friend' |
2483 | 492 |
|
2502 | 493 |
#gamesReversi |
494 |
'The game of reversi (an embedded Java applet)' |
|
495 |
||
1759 | 496 |
#gamesTetris |
11730 | 497 |
'The tetris game - written in Smalltalk' |
1759 | 498 |
|
499 |
#gamesTicTacToe |
|
11730 | 500 |
'Play TicTacToe against the computer' |
1759 | 501 |
|
502 |
#gamesTicTacToe2 |
|
11730 | 503 |
'Play TicTacToe against a friend' |
1759 | 504 |
|
1864 | 505 |
#helpActiveHelp |
11730 | 506 |
'Toggle display of active help texts in browsers' |
1864 | 507 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
508 |
#helpClassDocumentation |
11730 | 509 |
'Show the smalltalk class documentation' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
510 |
|
8400 | 511 |
#helpCredits |
11730 | 512 |
'Say thanks to some friends' |
8400 | 513 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
514 |
#helpIndex |
11730 | 515 |
'Show the index of the online documentation' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
516 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
517 |
#helpPrintDocumentation |
11730 | 518 |
'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
|
519 |
|
8951 | 520 |
#helpProgrammersGuide |
11730 | 521 |
'Show the programmer''s guide' |
8951 | 522 |
|
8400 | 523 |
#helpRFC |
11730 | 524 |
'Show an RFC by number' |
8400 | 525 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
526 |
#helpSTXOnlineDocumentation |
11730 | 527 |
'Show 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
|
528 |
|
8297 | 529 |
#helpShowTipOfTheDay |
11730 | 530 |
'Show a tip-of-the-day' |
8297 | 531 |
|
8951 | 532 |
#helpSmalltalkTutorial |
11730 | 533 |
'Show the Smalltalk Language Tutorial' |
8951 | 534 |
|
8400 | 535 |
#helpToolsDocumentation |
11730 | 536 |
'Show the tool documentation' |
8400 | 537 |
|
538 |
#helpTutorial |
|
11730 | 539 |
'Show the ST/X Tutorial' |
8400 | 540 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
541 |
#helpWhatsNew |
11730 | 542 |
'Show the latest news about the ST/X documentation' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
543 |
|
8400 | 544 |
#helpWhatsNewInSTX |
11730 | 545 |
'Show the latest news about ST/X' |
8400 | 546 |
|
2994 | 547 |
#newSystemBrowser |
12041 | 548 |
'Open a System Browser or revisit a class' |
2994 | 549 |
|
10890 | 550 |
#openTestRunner |
12085 | 551 |
'Open the SUnit test runner for executing unit tests' |
10890 | 552 |
|
2462 | 553 |
#settingsCommunications |
11730 | 554 |
'Change communication settings' |
2462 | 555 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
556 |
#settingsCompilation |
11730 | 557 |
'Change compiler settings' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
558 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
559 |
#settingsFonts |
11730 | 560 |
'Change of the font defaults' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
561 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
562 |
#settingsKeyboardMappings |
11730 | 563 |
'Show the keyboard mappings' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
564 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
565 |
#settingsLanguage |
11730 | 566 |
'Change the national language' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
567 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
568 |
#settingsLoadSettings |
11730 | 569 |
'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
|
570 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
571 |
#settingsMessages |
11730 | 572 |
'Change the settings for info- / error-messagess' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
573 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
574 |
#settingsMisc |
11730 | 575 |
'Misc other settings' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
576 |
|
2994 | 577 |
#settingsMouse |
578 |
'Configure the mouse' |
|
579 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
580 |
#settingsObjectMemory |
11730 | 581 |
'Change the object memory settings' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
582 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
583 |
#settingsPrinter |
11730 | 584 |
'Change the printer setup' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
585 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
586 |
#settingsSaveSettings |
11730 | 587 |
'Save 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
|
588 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
589 |
#settingsScreen |
11730 | 590 |
'Change the display screen settings' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
591 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
592 |
#settingsSourceAndDebugger |
11730 | 593 |
'Change 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
|
594 |
|
2462 | 595 |
#settingsTools |
11730 | 596 |
'Change tool settings' |
2462 | 597 |
|
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
598 |
#settingsViewStyle |
11730 | 599 |
'Change the current view style' |
1544 | 600 |
|
5017 | 601 |
#startChangeSetBrowser |
602 |
'Open a Browser on recent changes (the ChangeSet)' |
|
603 |
||
1544 | 604 |
#system |
11730 | 605 |
'System tools' |
1544 | 606 |
|
607 |
#systemEventTrace |
|
11730 | 608 |
'Select a view to toggle the event trace for it' |
1544 | 609 |
|
610 |
#systemEventView |
|
11730 | 611 |
'Open a view and trace its window events on the console' |
1544 | 612 |
|
613 |
#systemGarbageCollect |
|
11730 | 614 |
'Reclaim unused memory' |
1544 | 615 |
|
616 |
#systemGarbageCollectAndCompress |
|
11730 | 617 |
'Reclaim unused memory and minimize the amount of used memory' |
1544 | 618 |
|
619 |
#systemInterruptLatency |
|
11730 | 620 |
'Open an Interrupt Latency Monitor displaying methods which block interrupts for longer than a given time goal' |
1544 | 621 |
|
622 |
#systemMemory |
|
11730 | 623 |
'Display object memory statistics' |
1544 | 624 |
|
625 |
#systemMemoryUsage |
|
11730 | 626 |
'Display object memory usage by class' |
1544 | 627 |
|
628 |
#systemProcesses |
|
11730 | 629 |
'Open a Process Monitor displaying ST/X processes' |
1544 | 630 |
|
7959 | 631 |
#systemReloadResources |
632 |
'Reload Language Resources (National language strings)' |
|
633 |
||
1544 | 634 |
#systemSemaphores |
11730 | 635 |
'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
|
636 |
|
7959 | 637 |
#systemSettings |
638 |
'Open a Settings Dialog' |
|
639 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
640 |
#tools |
11730 | 641 |
'Tools' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
642 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
643 |
#toolsChangesBrowser |
11730 | 644 |
'Open a Changes Browser' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
645 |
|
8423 | 646 |
#toolsChangesBrowserOrNavigateToRecentChange |
11730 | 647 |
'Open a Changes Browser or navigate to a recent change' |
8423 | 648 |
|
8951 | 649 |
#toolsEvaluationWorkspace |
650 |
'A 3-pane EvaluationWorkspace - good for lectures and Smalltalk courses' |
|
651 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
652 |
#toolsGUIPainter |
11730 | 653 |
'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
|
654 |
|
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
655 |
#toolsImageEditor |
12085 | 656 |
'Open a Bitmap Image Editor for editing small images for toolbars and buttons' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
657 |
|
8951 | 658 |
#toolsInternationalLanguageTranslationEditor |
659 |
'Open the National Language Translation Editor' |
|
660 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
661 |
#toolsMenuEditor |
12085 | 662 |
'Open a Menu Editor for building menus and toolbars' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
663 |
|
1544 | 664 |
#toolsMisc |
11730 | 665 |
'Misc Tools' |
1544 | 666 |
|
2112
68e5920dc07a
moved startChangesBrowser to AbstractLauncher.
Claus Gittinger <cg@exept.de>
parents:
2096
diff
changeset
|
667 |
#toolsMiscNewChangesBrowser |
11730 | 668 |
'Open a ChangesBrowser (new GUI)' |
2112
68e5920dc07a
moved startChangesBrowser to AbstractLauncher.
Claus Gittinger <cg@exept.de>
parents:
2096
diff
changeset
|
669 |
|
1544 | 670 |
#toolsMiscNewLauncher |
11730 | 671 |
'(Re-)open a Launcher (new GUI)' |
2112
68e5920dc07a
moved startChangesBrowser to AbstractLauncher.
Claus Gittinger <cg@exept.de>
parents:
2096
diff
changeset
|
672 |
|
68e5920dc07a
moved startChangesBrowser to AbstractLauncher.
Claus Gittinger <cg@exept.de>
parents:
2096
diff
changeset
|
673 |
#toolsMiscOldChangesBrowser |
11730 | 674 |
'Open a ChangesBrowser (old GUI)' |
1544 | 675 |
|
676 |
#toolsMiscOldLauncher |
|
11730 | 677 |
'Open an OldLauncher' |
1544 | 678 |
|
679 |
#toolsMiscProjects |
|
11730 | 680 |
'Project functions' |
1544 | 681 |
|
682 |
#toolsMiscProjectsNewProject |
|
11730 | 683 |
'Create a new project' |
1544 | 684 |
|
685 |
#toolsMiscProjectsSelectProject |
|
11730 | 686 |
'Select an existing project and reopen its windows' |
1544 | 687 |
|
8951 | 688 |
#toolsMyWorkspace |
689 |
'Workspace on the "MyWorkspace.wsp" file' |
|
690 |
||
1924
9b404092b317
care for new/old changesBrowser setting.
Claus Gittinger <cg@exept.de>
parents:
1922
diff
changeset
|
691 |
#toolsNewChangesBrowser |
11730 | 692 |
'Open the new changes browser' |
1924
9b404092b317
care for new/old changesBrowser setting.
Claus Gittinger <cg@exept.de>
parents:
1922
diff
changeset
|
693 |
|
8951 | 694 |
#toolsOOM |
11730 | 695 |
'Open the Object Oriented Metrics (OOM) tool' |
8951 | 696 |
|
1759 | 697 |
#toolsOldChangesBrowser |
11730 | 698 |
'Open the old changes browser' |
1759 | 699 |
|
1544 | 700 |
#toolsProjects |
11730 | 701 |
'Open the project tool' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
702 |
|
5017 | 703 |
#toolsSUnit |
12085 | 704 |
'Open the SUnit test runner for executing unit tests' |
5017 | 705 |
|
706 |
#toolsSmaCC |
|
11730 | 707 |
'Open the SmaCC parser generator Tool' |
5017 | 708 |
|
8951 | 709 |
#toolsSystemWorkspace |
10889 | 710 |
'The SystemWorkspace with welcome messages' |
8951 | 711 |
|
1759 | 712 |
#toolsTerminal |
713 |
'Open a terminal view (aka xterm)' |
|
714 |
||
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
715 |
#toolsWorkspace |
12085 | 716 |
'Open a Workspace for evaluating Smalltalk expressions.\The first click opens the customizable MyWorkspace' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
717 |
|
1544 | 718 |
#windows |
11730 | 719 |
'Window functions' |
1544 | 720 |
|
721 |
#windowsDeiconifyAll |
|
11730 | 722 |
'Restore all minimized ST/X windows' |
1544 | 723 |
|
2994 | 724 |
#windowsFindAndDestroy |
11730 | 725 |
'Select an ST/X window by name and destroy it' |
2765 | 726 |
|
2758 | 727 |
#windowsFindAndMigrate |
11730 | 728 |
'Select an ST/X window by name and move it to another display' |
2758 | 729 |
|
730 |
#windowsFindAndMigrateBack |
|
11730 | 731 |
'Select an ST/X window by name and move it (back) to this screen' |
2758 | 732 |
|
1544 | 733 |
#windowsFindAndRaise |
11730 | 734 |
'Select an ST/X window by name and raise it' |
1544 | 735 |
|
736 |
#windowsGrapScreen |
|
11730 | 737 |
'Grab the whole screen and save it to a bitmap-file' |
1544 | 738 |
|
739 |
#windowsGrapScreenArea |
|
11730 | 740 |
'Grab an area of the screen and save it to a bitmap-file' |
1544 | 741 |
|
2582 | 742 |
#windowsGrapWidget |
11730 | 743 |
'Grab a single widget and save it to a bitmap-file' |
2462 | 744 |
|
745 |
#windowsGrapWindow |
|
11730 | 746 |
'Grab a window and save it to a bitmap-file' |
1544 | 747 |
|
748 |
#windowsIconifyAll |
|
11730 | 749 |
'Minimize all ST/X windows to icons' |
1544 | 750 |
|
2994 | 751 |
#windowsMigrateAllWindows |
11730 | 752 |
'Migrate all ST/X windows to some other display' |
2994 | 753 |
|
2462 | 754 |
#windowsRedrawAll |
11730 | 755 |
'Redraw all ST/X windows' |
2462 | 756 |
|
1544 | 757 |
#windowsSelectAndDestroy |
11730 | 758 |
'Select a window and destroy it' |
1544 | 759 |
|
760 |
#windowsSelectAndInspect |
|
11730 | 761 |
'Select an ST/X window and open an Inspector on it' |
2758 | 762 |
|
763 |
#windowsSelectAndMigrate |
|
11730 | 764 |
'Select an ST/X window and move it to another display' |
1544 | 765 |
|
766 |
#windowsViewTree |
|
11730 | 767 |
'Select an ST/X window and display its widget hierarchy' |
1544 | 768 |
|
2994 | 769 |
#windowsViewTreeAllScreens |
11730 | 770 |
'Display the widget hierarchies of all ST/X windows (on all displays)' |
2994 | 771 |
|
1544 | 772 |
#windowsViewTreeAllViews |
11730 | 773 |
'Display the widget hierarchies of all ST/X windows (on this display)' |
2758 | 774 |
|
9170 | 775 |
#flyByWindowInformation |
11730 | 776 |
'Show flyby info about the window under the pointer. Easy access to View, Application and Model' |
10847
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
777 |
|
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
778 |
#enableGlobalCoverageAnalysis |
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
779 |
'Enable coverage statistic gathering in all processes (global covarage analysis)' |
1533
d4b9776714f6
help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents:
1532
diff
changeset
|
780 |
) |
10847
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
781 |
|
11807 | 782 |
"Modified: / 21-09-2012 / 10:59:33 / cg" |
1794 | 783 |
! ! |
784 |
||
1406 | 785 |
!NewLauncher class methodsFor:'interface specs'! |
786 |
||
787 |
windowSpec |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
788 |
^ self windowSpec_old. |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
789 |
"/ ^ self windowSpec_new. |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
790 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
791 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
792 |
windowSpec_new |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
793 |
"This resource specification was automatically generated |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
794 |
by the UIPainter of ST/X." |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
795 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
796 |
"Do not manually edit this!! If it is corrupted, |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
797 |
the UIPainter may not be able to read the specification." |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
798 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
799 |
" |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
800 |
UIPainter new openOnClass:NewLauncher andSelector:#windowSpec_new |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
801 |
NewLauncher new openInterface:#windowSpec_new |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
802 |
" |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
803 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
804 |
<resource: #canvas> |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
805 |
|
12335 | 806 |
^ |
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
807 |
#(FullSpec |
12335 | 808 |
name: #'windowSpec_new' |
809 |
window: |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
810 |
(WindowSpec |
12335 | 811 |
label: 'ST/X Launcher' |
812 |
name: 'ST/X Launcher' |
|
813 |
min: (Point 374 44) |
|
814 |
bounds: (Rectangle 0 0 374 202) |
|
815 |
menu: menu |
|
816 |
icon: windowIcon |
|
817 |
) |
|
818 |
component: |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
819 |
(SpecCollection |
12335 | 820 |
collection: ( |
821 |
(MenuPanelSpec |
|
822 |
name: 'menuToolbarView' |
|
823 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 40 0) |
|
824 |
menu: menuToolbar |
|
825 |
) |
|
826 |
(NoteBookViewSpec |
|
827 |
name: 'NoteBook1' |
|
828 |
layout: (LayoutFrame 0 0.0 40 0.0 0 1.0 -26 1.0) |
|
829 |
level: 0 |
|
830 |
model: selectedTabHolder |
|
831 |
menu: tabList |
|
832 |
direction: bottom |
|
833 |
useIndex: true |
|
834 |
translateLabel: true |
|
835 |
canvas: noteBookCanvasHolder |
|
836 |
keepCanvasAlive: true |
|
837 |
) |
|
838 |
(UISubSpecification |
|
839 |
name: 'infoBarSubSpec' |
|
840 |
layout: (LayoutFrame 0 0.0 -26 1 -16 1.0 0 1.0) |
|
841 |
majorKey: ToolApplicationModel |
|
842 |
minorKey: windowSpecForInfoBarWithClock |
|
843 |
keepSpaceForOSXResizeHandleH: true |
|
844 |
) |
|
845 |
) |
|
846 |
||
847 |
) |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
848 |
) |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
849 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
850 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
851 |
windowSpec_old |
1527 | 852 |
"This resource specification was automatically generated |
853 |
by the UIPainter of ST/X." |
|
854 |
||
855 |
"Do not manually edit this!! If it is corrupted, |
|
856 |
the UIPainter may not be able to read the specification." |
|
1406 | 857 |
|
858 |
" |
|
10845 | 859 |
UIPainter new openOnClass:NewLauncher andSelector:#windowSpec_old |
860 |
NewLauncher new openInterface:#windowSpec_old |
|
1406 | 861 |
" |
862 |
||
863 |
<resource: #canvas> |
|
864 |
||
12335 | 865 |
^ |
5466 | 866 |
#(FullSpec |
12335 | 867 |
name: #'windowSpec_old' |
868 |
window: |
|
5466 | 869 |
(WindowSpec |
12335 | 870 |
label: 'ST/X Launcher' |
871 |
name: 'ST/X Launcher' |
|
872 |
min: (Point 540 300) |
|
873 |
bounds: (Rectangle 0 0 540 300) |
|
874 |
menu: menu |
|
875 |
icon: windowIcon |
|
876 |
) |
|
877 |
component: |
|
5466 | 878 |
(SpecCollection |
12335 | 879 |
collection: ( |
880 |
(MenuPanelSpec |
|
881 |
name: 'menuToolbarView' |
|
882 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 40 0) |
|
883 |
menu: menuToolbar |
|
884 |
) |
|
885 |
(ViewSpec |
|
886 |
name: 'Box1' |
|
887 |
layout: (LayoutFrame 0 0.0 40 0.0 0 1.0 -26 1.0) |
|
888 |
level: 1 |
|
889 |
component: |
|
890 |
(SpecCollection |
|
891 |
collection: ( |
|
892 |
(WorkspaceSpec |
|
893 |
name: 'transcriptView' |
|
894 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
895 |
hasHorizontalScrollBar: true |
|
896 |
hasVerticalScrollBar: true |
|
897 |
miniScrollerHorizontal: true |
|
898 |
hasKeyboardFocusInitially: false |
|
899 |
) |
|
900 |
) |
|
901 |
||
902 |
) |
|
903 |
) |
|
904 |
(UISubSpecification |
|
905 |
name: 'infoBarSubSpec' |
|
906 |
layout: (LayoutFrame 0 0.0 -26 1 0 1.0 0 1.0) |
|
907 |
majorKey: ToolApplicationModel |
|
908 |
minorKey: windowSpecForInfoBarWithClock |
|
909 |
keepSpaceForOSXResizeHandleH: true |
|
910 |
) |
|
911 |
) |
|
912 |
||
913 |
) |
|
1406 | 914 |
) |
3036 | 915 |
! |
916 |
||
917 |
windowSpec_pda |
|
918 |
"This resource specification was automatically generated |
|
919 |
by the UIPainter of ST/X." |
|
920 |
||
921 |
"Do not manually edit this!! If it is corrupted, |
|
922 |
the UIPainter may not be able to read the specification." |
|
923 |
||
924 |
" |
|
925 |
UIPainter new openOnClass:NewLauncher andSelector:#windowSpec_pda |
|
926 |
NewLauncher new openInterface:#windowSpec_pda |
|
927 |
" |
|
928 |
||
929 |
<resource: #canvas> |
|
930 |
||
12335 | 931 |
^ |
5467 | 932 |
#(FullSpec |
12335 | 933 |
name: #'windowSpec_pda' |
934 |
window: |
|
5467 | 935 |
(WindowSpec |
12335 | 936 |
label: 'Launcher' |
937 |
name: 'Launcher' |
|
938 |
min: (Point 100 20) |
|
939 |
max: (Point 240 300) |
|
940 |
bounds: (Rectangle 13 23 197 224) |
|
941 |
menu: #'menu_pda' |
|
942 |
icon: windowIcon |
|
943 |
) |
|
944 |
component: |
|
5467 | 945 |
(SpecCollection |
12335 | 946 |
collection: ( |
947 |
(MenuPanelSpec |
|
948 |
name: 'menuToolbarView' |
|
949 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 38 0) |
|
950 |
menu: #'menuToolbar_pda' |
|
951 |
) |
|
952 |
(WorkspaceSpec |
|
953 |
name: 'transcriptView' |
|
954 |
layout: (LayoutFrame 0 0.0 40 0.0 0 1.0 -26 1.0) |
|
955 |
hasHorizontalScrollBar: true |
|
956 |
hasVerticalScrollBar: true |
|
957 |
miniScrollerHorizontal: true |
|
958 |
miniScrollerVertical: false |
|
959 |
) |
|
960 |
(UISubSpecification |
|
961 |
name: 'infoBarSubSpec' |
|
962 |
layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
|
963 |
majorKey: ToolApplicationModel |
|
964 |
minorKey: windowSpecForInfoBarWithClock |
|
965 |
) |
|
966 |
) |
|
967 |
||
968 |
) |
|
3036 | 969 |
) |
1406 | 970 |
! ! |
971 |
||
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
972 |
!NewLauncher class methodsFor:'menu configuration'! |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
973 |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
974 |
addMenuItem:newItem from:anApplicationWhichProvidesResourcesOrNil in:where position:positionSpecOrNilArg space:space |
2734 | 975 |
|positionSpecOrNil itemNameOrNil before launcherApp| |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
976 |
|
12335 | 977 |
(Transcript notNil |
11726
783faa740168
Avoid #isKindOf: where possible
Stefan Vogel <sv@exept.de>
parents:
11714
diff
changeset
|
978 |
and:[ Transcript isView |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
979 |
and:[ (launcherApp := Transcript application) notNil |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
980 |
and:[ launcherApp isKindOf:self]]]) ifTrue:[ |
12335 | 981 |
"/ add to instance |
982 |
launcherApp addMenuItem:newItem from:anApplicationWhichProvidesResourcesOrNil in:where position:positionSpecOrNilArg space:space. |
|
983 |
^ self |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
984 |
]. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
985 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
986 |
positionSpecOrNil := positionSpecOrNilArg. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
987 |
positionSpecOrNil isArray ifTrue:[ |
12335 | 988 |
positionSpecOrNil size > 1 ifTrue:[ |
989 |
itemNameOrNil := positionSpecOrNil at:2. |
|
990 |
]. |
|
991 |
positionSpecOrNil := positionSpecOrNil at:1. |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
992 |
]. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
993 |
before := (positionSpecOrNil == #first) or:[positionSpecOrNil == #before]. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
994 |
|
2734 | 995 |
(where isNil or: [where = 'toolbar']) ifTrue:[ |
12335 | 996 |
UserAddedToolBarItems isNil ifTrue: [UserAddedToolBarItems := Dictionary new]. |
997 |
(UserAddedToolBarItems contains:[:info | info item nameKey = newItem nameKey]) |
|
998 |
ifTrue:[ |
|
999 |
Transcript show:'NewLauncher class: menu item already present:'; showCR:newItem nameKey. |
|
1000 |
] |
|
1001 |
ifFalse:[ |
|
1002 |
UserAddedToolBarItems |
|
1003 |
at:newItem put:(AddedToolInfo new |
|
1004 |
item:newItem; |
|
1005 |
resourceProvider:anApplicationWhichProvidesResourcesOrNil; |
|
1006 |
where:where; |
|
1007 |
positionSpec:positionSpecOrNilArg; |
|
1008 |
space:space; |
|
1009 |
before:before; |
|
1010 |
menuWithNewItem:nil; |
|
1011 |
yourself) |
|
1012 |
] |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1013 |
]. |
2734 | 1014 |
(where isNil or:[where startsWith:'menu']) ifTrue:[ |
12335 | 1015 |
UserAddedMenuItems isNil ifTrue: [UserAddedMenuItems := Dictionary new]. |
1016 |
(UserAddedMenuItems contains:[:info | info item nameKey = newItem nameKey]) |
|
1017 |
ifTrue:[ |
|
1018 |
Transcript show:'NewLauncher class: menu item already present:'; showCR:newItem nameKey. |
|
1019 |
] |
|
1020 |
ifFalse:[ |
|
1021 |
UserAddedMenuItems |
|
1022 |
at:newItem put:(AddedToolInfo new |
|
1023 |
item:newItem; |
|
1024 |
resourceProvider:anApplicationWhichProvidesResourcesOrNil; |
|
1025 |
where:where; |
|
1026 |
positionSpec:positionSpecOrNilArg; |
|
1027 |
space:space; |
|
1028 |
before:before; |
|
1029 |
menuWithNewItem:nil; |
|
1030 |
yourself) |
|
1031 |
] |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1032 |
] |
10114
c02904895717
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10032
diff
changeset
|
1033 |
|
10561
dc889bcb09da
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10517
diff
changeset
|
1034 |
"Modified: / 09-08-2011 / 22:39:44 / cg" |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1035 |
! |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1036 |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
1037 |
addMenuItem:newItem in:where position:positionSpecOrNilArg space:space |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
1038 |
^ self |
12335 | 1039 |
addMenuItem:newItem |
1040 |
from:nil |
|
1041 |
in:where |
|
1042 |
position:positionSpecOrNilArg |
|
1043 |
space:space |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
1044 |
! |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
1045 |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1046 |
removeAllUserAddedTools |
3751 | 1047 |
UserAddedToolBarItems := nil. |
1048 |
UserAddedMenuItems := nil. |
|
3932 | 1049 |
|
1050 |
" |
|
1051 |
self removeAllUserAddedTools |
|
1052 |
" |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1053 |
! |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1054 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1055 |
removeUserTool:toolNameOrMenuItem |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1056 |
"removes a menu item labeled toolName |
12335 | 1057 |
This can be invoked by a classes #deinitialize method, |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1058 |
to remove its item from the toolbar or menu. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1059 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1060 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1061 |
self removeUserTool:toolNameOrMenuItem from:UserAddedToolBarItems. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1062 |
self removeUserTool:toolNameOrMenuItem from:UserAddedMenuItems. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1063 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1064 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1065 |
Transcript topView application |
12335 | 1066 |
removeUserTool:'Bar' |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1067 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1068 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1069 |
Transcript topView application |
12335 | 1070 |
removeUserTool:'Foo' |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1071 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1072 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1073 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1074 |
! |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1075 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1076 |
removeUserTool:toolNameOrMenuItem from:addedToolsCollection |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1077 |
"removes a menu item labeled toolName |
12335 | 1078 |
This can be invoked by a classes #deinitialize method, |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1079 |
to remove its item from the toolbar or menu. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1080 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1081 |
|
3626 | 1082 |
|info space menuIndex whichMenu before menuItemToRemove| |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1083 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1084 |
addedToolsCollection size == 0 ifTrue: [^nil]. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1085 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1086 |
[true] whileTrue:[ |
12335 | 1087 |
(toolNameOrMenuItem isString or:[toolNameOrMenuItem isSymbol]) ifTrue:[ |
1088 |
info := addedToolsCollection detect:[:eachInfo | |eachItem| |
|
1089 |
eachItem := eachInfo item. |
|
1090 |
(eachItem nameKey notNil and:[ toolNameOrMenuItem = eachItem nameKey]) |
|
1091 |
or:[ (eachItem activeHelpKey notNil and:[ toolNameOrMenuItem = eachItem activeHelpKey]) |
|
1092 |
or:[ (eachItem label notNil and:[ toolNameOrMenuItem = eachItem label])]] |
|
1093 |
] |
|
1094 |
ifNone:nil. |
|
1095 |
] ifFalse:[ |
|
1096 |
info := addedToolsCollection detect:[:eachInfo | |eachItem| eachItem := eachInfo item. (eachItem == toolNameOrMenuItem)] ifNone:nil. |
|
1097 |
]. |
|
1098 |
info isNil ifTrue:[^ self]. |
|
1099 |
||
1100 |
space := info space. |
|
1101 |
whichMenu := info menuWithNewItem. |
|
1102 |
menuItemToRemove := info item. |
|
1103 |
before := info before. |
|
1104 |
||
1105 |
whichMenu notNil ifTrue:[ |
|
1106 |
menuIndex := whichMenu findFirst:[:item | |
|
1107 |
(item nameKey notNil and:[item nameKey == menuItemToRemove nameKey]) |
|
1108 |
or:[ (item activeHelpKey notNil and:[item activeHelpKey == menuItemToRemove activeHelpKey]) |
|
1109 |
or:[ (item label notNil and:[item label = menuItemToRemove label]) ]] |
|
1110 |
]. |
|
1111 |
menuIndex ~~ 0 ifTrue:[ |
|
1112 |
whichMenu remove: menuIndex. |
|
1113 |
space ifTrue: [ |
|
1114 |
whichMenu remove:(menuIndex - (before ifTrue:0 ifFalse:1)) |
|
1115 |
]. |
|
1116 |
]. |
|
1117 |
]. |
|
1118 |
addedToolsCollection removeKey:menuItemToRemove. |
|
1119 |
^ self |
|
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1120 |
]. |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1121 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1122 |
|
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1123 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1124 |
Transcript topView application |
12335 | 1125 |
removeUserTool:'Bar' |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1126 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1127 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1128 |
Transcript topView application |
12335 | 1129 |
removeUserTool:'Foo' |
2722
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1130 |
" |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1131 |
! ! |
8c77412ea421
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2721
diff
changeset
|
1132 |
|
1441 | 1133 |
!NewLauncher class methodsFor:'menu specs'! |
1134 |
||
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1135 |
aboutMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1136 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1137 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1138 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1139 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1140 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1141 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1142 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1143 |
MenuEditor new openOnClass:NewLauncher andSelector:#aboutMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1144 |
(Menu new fromLiteralArrayEncoding:(NewLauncher aboutMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1145 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1146 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1147 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1148 |
|
12335 | 1149 |
^ |
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1150 |
#(#Menu |
12335 | 1151 |
#( |
1152 |
#(#MenuItem |
|
1153 |
#label: 'About Smalltalk/X...' |
|
1154 |
#translateLabel: true |
|
1155 |
#value: #openAbout |
|
1156 |
#activeHelpKey: #aboutSTX |
|
1157 |
) |
|
1158 |
#(#MenuItem |
|
1159 |
#label: '-' |
|
1160 |
) |
|
1161 |
#(#MenuItem |
|
1162 |
#label: 'Licence Conditions' |
|
1163 |
#translateLabel: true |
|
1164 |
#value: #openLicenseConditions |
|
1165 |
#activeHelpKey: #aboutLicenseConditions |
|
1166 |
) |
|
1167 |
) |
|
1168 |
nil |
|
1169 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1170 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1171 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1172 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1173 |
classesMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1174 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1175 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1176 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1177 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1178 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1179 |
|
10847
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
1180 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1181 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1182 |
MenuEditor new openOnClass:NewLauncher andSelector:#classesMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1183 |
(Menu new fromLiteralArrayEncoding:(NewLauncher classesMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1184 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1185 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1186 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1187 |
|
12335 | 1188 |
^ |
7453 | 1189 |
#(Menu |
12335 | 1190 |
( |
1191 |
(MenuItem |
|
1192 |
activeHelpKey: classesSystemBrowser |
|
1193 |
label: 'System Browser' |
|
1194 |
itemValue: openApplication: |
|
1195 |
nameKey: systemBrowser |
|
1196 |
submenuChannel: menuClassHistory |
|
1197 |
labelImage: (ResourceRetriever ToolbarIconLibrary startSystemBrowserIcon 'System Browser') |
|
1198 |
argument: 'Tools::NewSystemBrowser' |
|
1199 |
showBusyCursorWhilePerforming: true |
|
1200 |
) |
|
1201 |
(MenuItem |
|
1202 |
label: '-' |
|
1203 |
) |
|
1204 |
(MenuItem |
|
1205 |
activeHelpKey: startChangeSetBrowser |
|
1206 |
label: 'Recent Changes' |
|
1207 |
itemValue: startChangeSetBrowser |
|
1208 |
nameKey: startChangeSetBrowser |
|
1209 |
showBusyCursorWhilePerforming: true |
|
1210 |
) |
|
1211 |
(MenuItem |
|
1212 |
activeHelpKey: classesClassBrowserOnChanges |
|
1213 |
label: 'Changed Classes' |
|
1214 |
itemValue: startClassBrowserOnChanges |
|
1215 |
nameKey: classBrowserOnChanges |
|
1216 |
showBusyCursorWhilePerforming: true |
|
1217 |
) |
|
1218 |
(MenuItem |
|
1219 |
activeHelpKey: classBrowserOnChangedMethods |
|
1220 |
label: 'Changed Methods' |
|
1221 |
itemValue: startClassBrowserOnChangedMethods |
|
1222 |
nameKey: classBrowserOnChangedMethods |
|
1223 |
showBusyCursorWhilePerforming: true |
|
1224 |
) |
|
1225 |
(MenuItem |
|
1226 |
activeHelpKey: startSmallTeamChangeSetBrowser |
|
1227 |
label: 'Recent Changes on SmallTeam Host' |
|
1228 |
isVisible: smallTeamAvailable |
|
1229 |
submenuChannel: startBrowserOnSmallTeamChangesMenu |
|
1230 |
showBusyCursorWhilePerforming: true |
|
1231 |
) |
|
1232 |
(MenuItem |
|
1233 |
label: '-' |
|
1234 |
) |
|
1235 |
(MenuItem |
|
1236 |
label: 'Special Browsers' |
|
1237 |
submenuChannel: classesSpecialBrowserMenu |
|
1238 |
) |
|
1239 |
(MenuItem |
|
1240 |
activeHelpKey: classesClassTreeBrowser |
|
1241 |
label: 'Class Tree' |
|
1242 |
itemValue: openApplication: |
|
1243 |
argument: 'ClassTreeGraphView' |
|
1244 |
showBusyCursorWhilePerforming: true |
|
1245 |
) |
|
1246 |
(MenuItem |
|
1247 |
label: '-' |
|
1248 |
) |
|
1249 |
(MenuItem |
|
1250 |
activeHelpKey: classesImplementors |
|
1251 |
label: 'Implementors Of...' |
|
1252 |
itemValue: browseImplementors |
|
1253 |
showBusyCursorWhilePerforming: true |
|
1254 |
) |
|
1255 |
(MenuItem |
|
1256 |
activeHelpKey: classesSenders |
|
1257 |
label: 'Senders Of...' |
|
1258 |
itemValue: browseSenders |
|
1259 |
showBusyCursorWhilePerforming: true |
|
1260 |
) |
|
1261 |
(MenuItem |
|
1262 |
label: 'Method Finder' |
|
1263 |
itemValue: openMethodFinder |
|
1264 |
labelImage: (ResourceRetriever ToolbarIconLibrary methodFinder24x24Icon 'Method Finder') |
|
1265 |
) |
|
1266 |
(MenuItem |
|
1267 |
activeHelpKey: classesResourceMethods |
|
1268 |
label: 'Find Resource Methods...' |
|
1269 |
itemValue: browseResources |
|
1270 |
) |
|
1271 |
(MenuItem |
|
1272 |
label: '-' |
|
1273 |
) |
|
1274 |
(MenuItem |
|
1275 |
activeHelpKey: classesSpecial |
|
1276 |
label: 'Special' |
|
1277 |
nameKey: special |
|
1278 |
submenu: |
|
1279 |
(Menu |
|
1280 |
( |
|
1281 |
(MenuItem |
|
1282 |
activeHelpKey: classesSpecialReferencesToUnboundGlobals |
|
1283 |
label: 'References to Unbound Globals' |
|
1284 |
itemValue: browseUnboundGlobals |
|
1285 |
) |
|
1286 |
(MenuItem |
|
1287 |
activeHelpKey: classesSpecialReferencesToUndeclared |
|
1288 |
label: 'References to Undeclared' |
|
1289 |
itemValue: browseUndeclared |
|
1290 |
) |
|
1291 |
(MenuItem |
|
1292 |
activeHelpKey: classesSpecialReferencesToUndeclared |
|
1293 |
label: 'Clear Undeclared Variables' |
|
1294 |
itemValue: clearUndeclaredVariables |
|
1295 |
) |
|
1296 |
) |
|
1297 |
nil |
|
1298 |
nil |
|
1299 |
) |
|
1300 |
) |
|
1301 |
) |
|
1302 |
nil |
|
1303 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1304 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1305 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1306 |
|
9329
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1307 |
classesSpecialBrowserMenu |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1308 |
"This resource specification was automatically generated |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1309 |
by the MenuEditor of ST/X." |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1310 |
|
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1311 |
"Do not manually edit this!! If it is corrupted, |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1312 |
the MenuEditor may not be able to read the specification." |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1313 |
|
11493 | 1314 |
|
9329
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1315 |
" |
11493 | 1316 |
MenuEditor new openOnClass:NewLauncher andSelector:#classesSpecialBrowserMenu |
1317 |
(Menu new fromLiteralArrayEncoding:(NewLauncher classesSpecialBrowserMenu)) startUp |
|
9329
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1318 |
" |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1319 |
|
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1320 |
<resource: #menu> |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1321 |
|
12335 | 1322 |
^ |
9329
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1323 |
#(Menu |
12335 | 1324 |
( |
1325 |
(MenuItem |
|
1326 |
activeHelpKey: classesClassBrowser |
|
1327 |
label: 'Class Browser On...' |
|
1328 |
itemValue: startClassBrowser |
|
1329 |
nameKey: classBrowserOn |
|
1330 |
translateLabel: true |
|
1331 |
showBusyCursorWhilePerforming: true |
|
1332 |
) |
|
1333 |
(MenuItem |
|
1334 |
activeHelpKey: classesFullClassBrowser |
|
1335 |
label: 'Full Class Browser On...' |
|
1336 |
itemValue: startFullClassBrowser |
|
1337 |
translateLabel: true |
|
1338 |
showBusyCursorWhilePerforming: true |
|
1339 |
) |
|
1340 |
(MenuItem |
|
1341 |
activeHelpKey: classesClassHierarchyBrowser |
|
1342 |
label: 'Class Hierarchy Browser On...' |
|
1343 |
itemValue: startClassHierarchyBrowser |
|
1344 |
translateLabel: true |
|
1345 |
showBusyCursorWhilePerforming: true |
|
1346 |
) |
|
1347 |
(MenuItem |
|
1348 |
label: '-' |
|
1349 |
) |
|
1350 |
(MenuItem |
|
1351 |
label: 'Snapshot Image Browser...' |
|
1352 |
itemValue: startSnapshotImageBrowser |
|
1353 |
translateLabel: true |
|
1354 |
showBusyCursorWhilePerforming: true |
|
1355 |
) |
|
1356 |
(MenuItem |
|
1357 |
enabled: remoteImageBrowserAvailable |
|
1358 |
label: 'Remote Image Browser...' |
|
1359 |
itemValue: startRemoteImageBrowser |
|
1360 |
translateLabel: true |
|
1361 |
showBusyCursorWhilePerforming: true |
|
1362 |
) |
|
1363 |
) |
|
1364 |
nil |
|
1365 |
nil |
|
11493 | 1366 |
) |
9329
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1367 |
! |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
1368 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1369 |
demosMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1370 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1371 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1372 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1373 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1374 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1375 |
|
10959 | 1376 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1377 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1378 |
MenuEditor new openOnClass:NewLauncher andSelector:#demosMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1379 |
(Menu new fromLiteralArrayEncoding:(NewLauncher demosMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1380 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1381 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1382 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1383 |
|
12335 | 1384 |
^ |
8383 | 1385 |
#(Menu |
12335 | 1386 |
( |
1387 |
(MenuItem |
|
1388 |
activeHelpKey: demosGoodies |
|
1389 |
label: 'Goodies' |
|
1390 |
translateLabel: true |
|
1391 |
submenu: |
|
1392 |
(Menu |
|
1393 |
( |
|
1394 |
(MenuItem |
|
1395 |
activeHelpKey: demosClock |
|
1396 |
label: 'Clock' |
|
1397 |
itemValue: openDemo: |
|
1398 |
translateLabel: true |
|
1399 |
argument: 'Clock' |
|
1400 |
) |
|
1401 |
(MenuItem |
|
1402 |
activeHelpKey: demosDigitalClock |
|
1403 |
label: 'Digital Clock' |
|
1404 |
itemValue: openDemo: |
|
1405 |
translateLabel: true |
|
1406 |
argument: 'DigitalClockView' |
|
1407 |
) |
|
1408 |
(MenuItem |
|
1409 |
activeHelpKey: demosDigitalClock |
|
1410 |
label: 'QlockTwoWatch' |
|
1411 |
itemValue: openDemo: |
|
1412 |
translateLabel: true |
|
1413 |
argument: 'QlockTwoWatch' |
|
1414 |
) |
|
1415 |
(MenuItem |
|
1416 |
activeHelpKey: demosBabelFish |
|
1417 |
label: 'BabelFish' |
|
1418 |
itemValue: openDemo: |
|
1419 |
translateLabel: true |
|
1420 |
argument: 'SOAP::TranslationServiceApplication' |
|
1421 |
) |
|
1422 |
) |
|
1423 |
nil |
|
1424 |
nil |
|
1425 |
) |
|
1426 |
) |
|
1427 |
(MenuItem |
|
1428 |
activeHelpKey: demosGames |
|
1429 |
label: 'Games' |
|
1430 |
translateLabel: true |
|
1431 |
submenu: |
|
1432 |
(Menu |
|
1433 |
( |
|
1434 |
(MenuItem |
|
1435 |
activeHelpKey: gamesTetris |
|
1436 |
label: 'Blocks (Tetris look alike)' |
|
1437 |
itemValue: openDemo: |
|
1438 |
translateLabel: true |
|
1439 |
argument: 'Games::Tetris' |
|
1440 |
) |
|
1441 |
(MenuItem |
|
1442 |
activeHelpKey: gamesTicTacToe |
|
1443 |
label: 'Tic Tac Toe' |
|
1444 |
itemValue: openDemo: |
|
1445 |
translateLabel: true |
|
1446 |
argument: 'Games::TicTacToeGame' |
|
1447 |
) |
|
1448 |
(MenuItem |
|
1449 |
activeHelpKey: gamesTicTacToe2 |
|
1450 |
label: 'Tic Tac Toe (2 Players)' |
|
1451 |
itemValue: startTicTacToe2 |
|
1452 |
translateLabel: true |
|
1453 |
) |
|
1454 |
(MenuItem |
|
1455 |
activeHelpKey: gamesPingPong |
|
1456 |
label: 'PingPong' |
|
1457 |
itemValue: openDemo: |
|
1458 |
translateLabel: true |
|
1459 |
argument: 'Games::PingPongGame' |
|
1460 |
) |
|
1461 |
(MenuItem |
|
1462 |
activeHelpKey: gamesPingPong2 |
|
1463 |
label: 'PingPong - (2 Players)' |
|
1464 |
itemValue: startPingPong2 |
|
1465 |
translateLabel: true |
|
1466 |
) |
|
1467 |
(MenuItem |
|
1468 |
activeHelpKey: gamesReversi |
|
1469 |
label: 'Reversi (Java)' |
|
1470 |
itemValue: startReversi |
|
1471 |
translateLabel: true |
|
1472 |
) |
|
1473 |
(MenuItem |
|
1474 |
label: 'Towers of Hanoi (Prolog)' |
|
1475 |
itemValue: openDemo: |
|
1476 |
translateLabel: true |
|
1477 |
argument: 'Prolog::TowersOfHanoiApplication' |
|
1478 |
) |
|
1479 |
(MenuItem |
|
1480 |
label: 'MasterMind (Prolog)' |
|
1481 |
itemValue: openDemo: |
|
1482 |
translateLabel: true |
|
1483 |
argument: 'Prolog::MasterMind' |
|
1484 |
) |
|
1485 |
) |
|
1486 |
nil |
|
1487 |
nil |
|
1488 |
) |
|
1489 |
) |
|
1490 |
(MenuItem |
|
1491 |
activeHelpKey: demosGeometric |
|
1492 |
label: 'Geometric Designs' |
|
1493 |
translateLabel: true |
|
1494 |
submenu: |
|
1495 |
(Menu |
|
1496 |
( |
|
1497 |
(MenuItem |
|
1498 |
activeHelpKey: demosPen |
|
1499 |
label: 'Pen Demo' |
|
1500 |
itemValue: openDemo: |
|
1501 |
translateLabel: true |
|
1502 |
argument: 'PenDemo' |
|
1503 |
) |
|
1504 |
(MenuItem |
|
1505 |
activeHelpKey: demosCommander |
|
1506 |
label: 'Commander Demo' |
|
1507 |
itemValue: openDemo: |
|
1508 |
translateLabel: true |
|
1509 |
argument: 'CommanderDemo' |
|
1510 |
) |
|
1511 |
(MenuItem |
|
1512 |
label: '-' |
|
1513 |
) |
|
1514 |
(MenuItem |
|
1515 |
activeHelpKey: demosMandel |
|
1516 |
label: 'Mandel' |
|
1517 |
itemValue: openMandelbrotDemo |
|
1518 |
translateLabel: true |
|
1519 |
) |
|
1520 |
(MenuItem |
|
1521 |
activeHelpKey: demosFractalPlants |
|
1522 |
label: 'Fractal Plants Demo' |
|
1523 |
itemValue: openDemo: |
|
1524 |
translateLabel: true |
|
1525 |
argument: 'FractalPlantsDemo' |
|
1526 |
) |
|
1527 |
(MenuItem |
|
1528 |
activeHelpKey: demosFractalPatterns |
|
1529 |
label: 'Fractal Patterns Demo' |
|
1530 |
itemValue: openDemo: |
|
1531 |
translateLabel: true |
|
1532 |
argument: 'FractalPatternsDemo' |
|
1533 |
) |
|
1534 |
(MenuItem |
|
1535 |
activeHelpKey: demosLSystems |
|
1536 |
label: 'Lindenmayer Patterns Demo' |
|
1537 |
itemValue: openDemo: |
|
1538 |
translateLabel: true |
|
1539 |
argument: 'LSystemsDemo' |
|
1540 |
) |
|
1541 |
(MenuItem |
|
1542 |
activeHelpKey: demosMoreFractalPatterns |
|
1543 |
label: 'More Fractal Patterns Demo' |
|
1544 |
itemValue: openDemo: |
|
1545 |
translateLabel: true |
|
1546 |
argument: 'ArmchairUniverseDemo' |
|
1547 |
) |
|
1548 |
(MenuItem |
|
1549 |
label: '-' |
|
1550 |
) |
|
1551 |
(MenuItem |
|
1552 |
label: 'Jan''s FractalApplication' |
|
1553 |
itemValue: openDemo: |
|
1554 |
translateLabel: true |
|
1555 |
argument: 'Demos::FractalApplication' |
|
1556 |
) |
|
1557 |
(MenuItem |
|
1558 |
label: 'Jan''s Superformula' |
|
1559 |
itemValue: openDemo: |
|
1560 |
translateLabel: true |
|
1561 |
argument: 'Demos::SuperFormulaApplication' |
|
1562 |
) |
|
1563 |
) |
|
1564 |
nil |
|
1565 |
nil |
|
1566 |
) |
|
1567 |
) |
|
1568 |
(MenuItem |
|
1569 |
activeHelpKey: demosAnimations |
|
1570 |
label: 'Simple Animations' |
|
1571 |
translateLabel: true |
|
1572 |
submenu: |
|
1573 |
(Menu |
|
1574 |
( |
|
1575 |
(MenuItem |
|
1576 |
activeHelpKey: demosWalkingMan |
|
1577 |
label: 'Walking Man' |
|
1578 |
itemValue: openDemo: |
|
1579 |
translateLabel: true |
|
1580 |
argument: 'Animation' |
|
1581 |
) |
|
1582 |
(MenuItem |
|
1583 |
activeHelpKey: demosWalkingMan |
|
1584 |
label: 'Walking Girl' |
|
1585 |
itemValue: openDemo: |
|
1586 |
translateLabel: true |
|
1587 |
argument: 'WalkingGirl' |
|
1588 |
) |
|
1589 |
(MenuItem |
|
1590 |
activeHelpKey: demosGlobe |
|
1591 |
label: 'Globe Demo' |
|
1592 |
itemValue: openDemo: |
|
1593 |
translateLabel: true |
|
1594 |
argument: 'GlobeDemo' |
|
1595 |
) |
|
1596 |
(MenuItem |
|
1597 |
activeHelpKey: chickenFun |
|
1598 |
label: 'Chicken Fun' |
|
1599 |
itemValue: startStopDemo: |
|
1600 |
translateLabel: true |
|
1601 |
indication: chickenFunIsRunning |
|
1602 |
argument: 'ChickenFun' |
|
1603 |
) |
|
1604 |
(MenuItem |
|
1605 |
activeHelpKey: chickenFun |
|
1606 |
label: 'Chicks Eyes' |
|
1607 |
itemValue: openDemo: |
|
1608 |
translateLabel: true |
|
1609 |
argument: 'ChickenEyes' |
|
1610 |
) |
|
1611 |
) |
|
1612 |
nil |
|
1613 |
nil |
|
1614 |
) |
|
1615 |
) |
|
1616 |
(MenuItem |
|
1617 |
activeHelpKey: demos3D |
|
1618 |
label: '3D GL Graphics' |
|
1619 |
translateLabel: true |
|
1620 |
isVisible: displaySupportsGLDrawing |
|
1621 |
submenu: |
|
1622 |
(Menu |
|
1623 |
( |
|
1624 |
(MenuItem |
|
1625 |
activeHelpKey: demos3Dplane |
|
1626 |
label: 'Plane' |
|
1627 |
itemValue: openDemo: |
|
1628 |
translateLabel: true |
|
1629 |
argument: 'GLPlaneDemoView2' |
|
1630 |
) |
|
1631 |
(MenuItem |
|
1632 |
activeHelpKey: demos3Dtetra |
|
1633 |
label: 'Tetra' |
|
1634 |
itemValue: openDemo: |
|
1635 |
translateLabel: true |
|
1636 |
argument: 'GLTetraDemoView' |
|
1637 |
) |
|
1638 |
(MenuItem |
|
1639 |
activeHelpKey: demos3DcubeWire |
|
1640 |
label: 'Cube (Wireframe)' |
|
1641 |
itemValue: openDemo: |
|
1642 |
translateLabel: true |
|
1643 |
argument: 'GLWireCubeDemoView' |
|
1644 |
) |
|
1645 |
(MenuItem |
|
1646 |
activeHelpKey: demos3DcubeSolid |
|
1647 |
label: 'Cube (Solid)' |
|
1648 |
itemValue: openDemo: |
|
1649 |
translateLabel: true |
|
1650 |
argument: 'GLCubeDemoView' |
|
1651 |
) |
|
1652 |
(MenuItem |
|
1653 |
activeHelpKey: demos3Dsphere |
|
1654 |
label: 'Sphere (Wireframe)' |
|
1655 |
itemValue: openDemo: |
|
1656 |
translateLabel: true |
|
1657 |
argument: 'GLWireSphereDemoView' |
|
1658 |
) |
|
1659 |
(MenuItem |
|
1660 |
activeHelpKey: demos3Ddoughnut |
|
1661 |
label: 'Doughnut (Wireframe)' |
|
1662 |
itemValue: openDemo: |
|
1663 |
translateLabel: true |
|
1664 |
argument: 'GLDoughnutDemoView' |
|
1665 |
) |
|
1666 |
(MenuItem |
|
1667 |
activeHelpKey: demos3Dplanet |
|
1668 |
label: 'Planet' |
|
1669 |
itemValue: openDemo: |
|
1670 |
translateLabel: true |
|
1671 |
argument: 'GLPlanetDemoView' |
|
1672 |
) |
|
1673 |
(MenuItem |
|
1674 |
activeHelpKey: demos3Dteapot |
|
1675 |
label: 'Teapot' |
|
1676 |
itemValue: openDemo: |
|
1677 |
translateLabel: true |
|
1678 |
argument: 'GLTeapotDemo' |
|
1679 |
) |
|
1680 |
(MenuItem |
|
1681 |
activeHelpKey: demos3Dlogo |
|
1682 |
label: 'Logo' |
|
1683 |
itemValue: openDemo: |
|
1684 |
translateLabel: true |
|
1685 |
argument: 'Logo3DView1' |
|
1686 |
) |
|
1687 |
(MenuItem |
|
1688 |
activeHelpKey: demosCommander |
|
1689 |
label: 'Rubics Cube' |
|
1690 |
itemValue: openDemo: |
|
1691 |
translateLabel: true |
|
1692 |
argument: 'RubicsCubeView' |
|
1693 |
) |
|
1694 |
(MenuItem |
|
1695 |
label: 'X/Y Graph' |
|
1696 |
itemValue: openDemo: |
|
1697 |
translateLabel: true |
|
1698 |
argument: 'GLXYGraph' |
|
1699 |
) |
|
1700 |
(MenuItem |
|
1701 |
label: 'X/Y Graph Widget' |
|
1702 |
itemValue: openDemo: |
|
1703 |
translateLabel: true |
|
1704 |
argument: 'CodingExamples_GUI::GLXYGraph3DDemo' |
|
1705 |
) |
|
1706 |
(MenuItem |
|
1707 |
label: 'X/Y Graph Animated' |
|
1708 |
itemValue: openDemo: |
|
1709 |
translateLabel: true |
|
1710 |
argument: 'CodingExamples_GUI::AnimatedGLXYGraph3DDemo' |
|
1711 |
) |
|
1712 |
(MenuItem |
|
1713 |
label: '-' |
|
1714 |
) |
|
1715 |
(MenuItem |
|
1716 |
label: 'Cube (Light)' |
|
1717 |
itemValue: openDemo: |
|
1718 |
translateLabel: true |
|
1719 |
argument: 'GLCubeDemoView2' |
|
1720 |
) |
|
1721 |
(MenuItem |
|
1722 |
label: 'Cube (Light and Texture)' |
|
1723 |
itemValue: openDemo: |
|
1724 |
translateLabel: true |
|
1725 |
argument: 'GLBrickCubeDemoView' |
|
1726 |
) |
|
1727 |
(MenuItem |
|
1728 |
label: 'Sphere (Light)' |
|
1729 |
itemValue: openDemo: |
|
1730 |
translateLabel: true |
|
1731 |
argument: 'GLSphereDemoView2' |
|
1732 |
) |
|
1733 |
(MenuItem |
|
1734 |
label: 'Colored Octahedron' |
|
1735 |
itemValue: openDemo: |
|
1736 |
translateLabel: true |
|
1737 |
argument: 'GLOctaHedronDemoView' |
|
1738 |
) |
|
1739 |
) |
|
1740 |
nil |
|
1741 |
nil |
|
1742 |
) |
|
1743 |
) |
|
1744 |
(MenuItem |
|
1745 |
activeHelpKey: demosGraphicEditors |
|
1746 |
label: 'Graphic Editors' |
|
1747 |
translateLabel: true |
|
1748 |
submenu: |
|
1749 |
(Menu |
|
1750 |
( |
|
1751 |
(MenuItem |
|
1752 |
activeHelpKey: demosGraphicEditorsDrawTool |
|
1753 |
label: 'Draw Tool' |
|
1754 |
itemValue: openDemo: |
|
1755 |
translateLabel: true |
|
1756 |
argument: 'DrawTool' |
|
1757 |
) |
|
1758 |
(MenuItem |
|
1759 |
activeHelpKey: demosGraphicEditorsLogicTool |
|
1760 |
label: 'Logic Tool' |
|
1761 |
itemValue: openDemo: |
|
1762 |
translateLabel: true |
|
1763 |
argument: 'LogicTool' |
|
1764 |
) |
|
1765 |
(MenuItem |
|
1766 |
activeHelpKey: demosGraphicEditorsPaintTool |
|
1767 |
label: 'Paint Demo' |
|
1768 |
itemValue: openDemo: |
|
1769 |
translateLabel: true |
|
1770 |
argument: 'ColorDrawDemo3' |
|
1771 |
) |
|
1772 |
) |
|
1773 |
nil |
|
1774 |
nil |
|
1775 |
) |
|
1776 |
) |
|
1777 |
(MenuItem |
|
1778 |
activeHelpKey: demosGUI |
|
1779 |
label: 'GUI' |
|
1780 |
translateLabel: true |
|
1781 |
submenu: |
|
1782 |
(Menu |
|
1783 |
( |
|
1784 |
(MenuItem |
|
1785 |
activeHelpKey: demosGUIWidgets |
|
1786 |
label: 'Widget Gallery' |
|
1787 |
itemValue: openDemo: |
|
1788 |
translateLabel: true |
|
1789 |
argument: 'CodingExamples_GUI::GUIDemo' |
|
1790 |
) |
|
1791 |
(MenuItem |
|
1792 |
activeHelpKey: demosDrawingProtocol |
|
1793 |
label: 'Drawing Protocol Demo' |
|
1794 |
itemValue: openDemo: |
|
1795 |
translateLabel: true |
|
1796 |
argument: 'CodingExamples_GUI::DrawingProtocolDemonstration' |
|
1797 |
) |
|
1798 |
(MenuItem |
|
1799 |
label: '-' |
|
1800 |
) |
|
1801 |
(MenuItem |
|
1802 |
activeHelpKey: demosGUICalculator |
|
1803 |
label: 'Calculator (simple)' |
|
1804 |
itemValue: openDemo: |
|
1805 |
translateLabel: true |
|
1806 |
argument: 'CodingExamples_GUI::GUIDemoCalculator' |
|
1807 |
) |
|
1808 |
(MenuItem |
|
1809 |
activeHelpKey: demosGUICalculator |
|
1810 |
label: 'Calculator (nice)' |
|
1811 |
itemValue: openDemo: |
|
1812 |
translateLabel: true |
|
1813 |
argument: 'CodingExamples_GUI::GUIDemoFoxCalculatorClone' |
|
1814 |
) |
|
1815 |
) |
|
1816 |
nil |
|
1817 |
nil |
|
1818 |
) |
|
1819 |
) |
|
1820 |
(MenuItem |
|
1821 |
activeHelpKey: demosOldStuff |
|
1822 |
label: 'Old Stuff' |
|
1823 |
translateLabel: true |
|
1824 |
submenu: |
|
1825 |
(Menu |
|
1826 |
( |
|
1827 |
(MenuItem |
|
1828 |
activeHelpKey: demosCalendar |
|
1829 |
label: 'Calendar' |
|
1830 |
itemValue: openDemo: |
|
1831 |
translateLabel: true |
|
1832 |
argument: 'Calendar' |
|
1833 |
) |
|
1834 |
(MenuItem |
|
1835 |
activeHelpKey: demosCalculator |
|
1836 |
label: 'Calculator' |
|
1837 |
itemValue: openDemo: |
|
1838 |
translateLabel: true |
|
1839 |
argument: 'CalculatorView' |
|
1840 |
) |
|
1841 |
(MenuItem |
|
1842 |
label: '-' |
|
1843 |
) |
|
1844 |
(MenuItem |
|
1845 |
activeHelpKey: demosMail |
|
1846 |
label: 'Mail Tool' |
|
1847 |
itemValue: openDemo: |
|
1848 |
translateLabel: true |
|
1849 |
argument: 'MailView' |
|
1850 |
) |
|
1851 |
(MenuItem |
|
1852 |
activeHelpKey: demosNews |
|
1853 |
label: 'News Tool' |
|
1854 |
itemValue: openDemo: |
|
1855 |
translateLabel: true |
|
1856 |
argument: 'NewsView' |
|
1857 |
) |
|
1858 |
(MenuItem |
|
1859 |
activeHelpKey: demosFTP |
|
1860 |
label: 'FTP Tool' |
|
1861 |
itemValue: openDemo: |
|
1862 |
translateLabel: true |
|
1863 |
argument: 'FTPTool' |
|
1864 |
) |
|
1865 |
(MenuItem |
|
1866 |
activeHelpKey: demosTelnet |
|
1867 |
label: 'Telnet Tool' |
|
1868 |
itemValue: openDemo: |
|
1869 |
translateLabel: true |
|
1870 |
argument: 'TelnetTool' |
|
1871 |
) |
|
1872 |
) |
|
1873 |
nil |
|
1874 |
nil |
|
1875 |
) |
|
1876 |
) |
|
1877 |
) |
|
1878 |
nil |
|
1879 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1880 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1881 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1882 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1883 |
fileMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1884 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1885 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1886 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1887 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1888 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1889 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1890 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1891 |
MenuEditor new openOnClass:NewLauncher andSelector:#fileMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1892 |
(Menu new fromLiteralArrayEncoding:(NewLauncher fileMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1893 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1894 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1895 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1896 |
|
12335 | 1897 |
^ |
9072 | 1898 |
#(Menu |
12335 | 1899 |
( |
1900 |
(MenuItem |
|
1901 |
activeHelpKey: fileFileBrowser |
|
1902 |
label: 'File Browser' |
|
1903 |
itemValue: openFileBrowser |
|
1904 |
nameKey: fileBrowser |
|
1905 |
translateLabel: true |
|
1906 |
labelImage: (ResourceRetriever ToolbarIconLibrary startFileBrowserIcon 'File Browser') |
|
1907 |
) |
|
1908 |
(MenuItem |
|
1909 |
label: '-' |
|
1910 |
) |
|
1911 |
(MenuItem |
|
1912 |
activeHelpKey: fileSaveImage |
|
1913 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
1914 |
label: 'Save Image' |
|
1915 |
itemValue: saveImage |
|
1916 |
nameKey: saveImage |
|
1917 |
translateLabel: true |
|
1918 |
labelImage: (ResourceRetriever ToolbarIconLibrary saveImageIcon 'Save Image') |
|
1919 |
) |
|
1920 |
(MenuItem |
|
1921 |
activeHelpKey: fileSaveImageAs |
|
1922 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
1923 |
label: 'Save Image As...' |
|
1924 |
itemValue: saveImageAs |
|
1925 |
nameKey: saveImageAs |
|
1926 |
translateLabel: true |
|
1927 |
) |
|
1928 |
(MenuItem |
|
1929 |
label: '-' |
|
1930 |
) |
|
1931 |
(MenuItem |
|
1932 |
activeHelpKey: fileExit |
|
1933 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
1934 |
label: 'Exit Smalltalk...' |
|
1935 |
itemValue: exit |
|
1936 |
nameKey: exitSmalltalk |
|
1937 |
translateLabel: true |
|
1938 |
isVisible: isMainLauncherHolder |
|
1939 |
) |
|
1940 |
(MenuItem |
|
1941 |
activeHelpKey: fileClose |
|
1942 |
label: 'Close...' |
|
1943 |
itemValue: closeRequest |
|
1944 |
translateLabel: true |
|
1945 |
isVisible: isNotMainLauncherHolder |
|
1946 |
) |
|
1947 |
) |
|
1948 |
nil |
|
1949 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1950 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1951 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1952 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1953 |
helpMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1954 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1955 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1956 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1957 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1958 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1959 |
|
11470 | 1960 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1961 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1962 |
MenuEditor new openOnClass:NewLauncher andSelector:#helpMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1963 |
(Menu new fromLiteralArrayEncoding:(NewLauncher helpMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1964 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1965 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1966 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
1967 |
|
12335 | 1968 |
^ |
8400 | 1969 |
#(Menu |
12335 | 1970 |
( |
1971 |
(MenuItem |
|
1972 |
activeHelpKey: helpWhatsNewInSTX |
|
1973 |
label: 'What''s New in ST/X' |
|
1974 |
itemValue: startWhatsNewSTX |
|
1975 |
translateLabel: true |
|
1976 |
) |
|
1977 |
(MenuItem |
|
1978 |
activeHelpKey: helpWhatsNew |
|
1979 |
label: 'What''s New in the Documentation' |
|
1980 |
itemValue: startWhatsNewDocumentation |
|
1981 |
translateLabel: true |
|
1982 |
) |
|
1983 |
(MenuItem |
|
1984 |
activeHelpKey: helpIndex |
|
1985 |
label: 'Keyword Index' |
|
1986 |
itemValue: startDocumentationIndex |
|
1987 |
translateLabel: true |
|
1988 |
) |
|
1989 |
(MenuItem |
|
1990 |
label: '-' |
|
1991 |
) |
|
1992 |
(MenuItem |
|
1993 |
activeHelpKey: helpSTXOnlineDocumentation |
|
1994 |
label: 'ST/X Online Documentation' |
|
1995 |
itemValue: startDocumentationTool |
|
1996 |
translateLabel: true |
|
1997 |
labelImage: (ResourceRetriever ToolbarIconLibrary helpIcon2 'ST/X Online Documentation') |
|
1998 |
) |
|
1999 |
(MenuItem |
|
2000 |
activeHelpKey: helpTutorial |
|
2001 |
label: 'Smalltalk/X Tutorial' |
|
2002 |
itemValue: startTutorial |
|
2003 |
translateLabel: true |
|
2004 |
) |
|
2005 |
(MenuItem |
|
2006 |
activeHelpKey: helpSmalltalkTutorial |
|
2007 |
label: 'Smalltalk Language Tutorial' |
|
2008 |
itemValue: startSmalltalkTutorial |
|
2009 |
translateLabel: true |
|
2010 |
) |
|
2011 |
(MenuItem |
|
2012 |
activeHelpKey: helpProgrammersGuide |
|
2013 |
label: 'Programmer''s Guide' |
|
2014 |
itemValue: startProgrammersGuide |
|
2015 |
translateLabel: true |
|
2016 |
) |
|
2017 |
(MenuItem |
|
2018 |
activeHelpKey: helpToolsDocumentation |
|
2019 |
label: 'Tool Documentation' |
|
2020 |
itemValue: startToolsDocumentation |
|
2021 |
translateLabel: true |
|
2022 |
) |
|
2023 |
(MenuItem |
|
2024 |
activeHelpKey: helpClassDocumentation |
|
2025 |
label: 'Class Documentation' |
|
2026 |
itemValue: startClassDocumentation |
|
2027 |
translateLabel: true |
|
2028 |
) |
|
2029 |
(MenuItem |
|
2030 |
label: 'Web-Documents' |
|
2031 |
translateLabel: true |
|
2032 |
isVisible: webDocumentsItemShownInHelpMenu |
|
2033 |
submenu: |
|
2034 |
(Menu |
|
2035 |
( |
|
2036 |
(MenuItem |
|
2037 |
activeHelpKey: helpRFC |
|
2038 |
label: 'RFCs...' |
|
2039 |
itemValue: showRFC |
|
2040 |
translateLabel: true |
|
2041 |
) |
|
2042 |
(MenuItem |
|
2043 |
activeHelpKey: helpPortInfo |
|
2044 |
label: 'TCP/UDP Ports...' |
|
2045 |
itemValue: showPortInfo |
|
2046 |
translateLabel: true |
|
2047 |
) |
|
2048 |
) |
|
2049 |
nil |
|
2050 |
nil |
|
2051 |
) |
|
2052 |
) |
|
2053 |
(MenuItem |
|
2054 |
label: '-' |
|
2055 |
) |
|
2056 |
(MenuItem |
|
2057 |
activeHelpKey: helpPrintDocumentation |
|
2058 |
label: 'Print Documentation...' |
|
2059 |
itemValue: showBookPrintDocument |
|
2060 |
translateLabel: true |
|
2061 |
) |
|
2062 |
(MenuItem |
|
2063 |
label: '-' |
|
2064 |
) |
|
2065 |
(MenuItem |
|
2066 |
activeHelpKey: helpShowTipOfTheDay |
|
2067 |
label: 'Tip of the Day' |
|
2068 |
itemValue: showTipOfTheDay |
|
2069 |
translateLabel: true |
|
2070 |
) |
|
2071 |
(MenuItem |
|
2072 |
activeHelpKey: helpActiveHelp |
|
2073 |
label: 'Tooltips (FlyBy Help)' |
|
2074 |
itemValue: toggleFlyByHelp: |
|
2075 |
translateLabel: true |
|
2076 |
indication: activeHelp |
|
2077 |
) |
|
2078 |
(MenuItem |
|
2079 |
activeHelpKey: helpShowHelp |
|
2080 |
label: 'Show Help Texts' |
|
2081 |
translateLabel: true |
|
2082 |
isVisible: false |
|
2083 |
indication: showingHelp: |
|
2084 |
) |
|
2085 |
(MenuItem |
|
2086 |
label: '-' |
|
2087 |
) |
|
2088 |
(MenuItem |
|
2089 |
activeHelpKey: helpCredits |
|
2090 |
label: 'Credits' |
|
2091 |
itemValue: showCredits |
|
2092 |
translateLabel: true |
|
2093 |
) |
|
2094 |
) |
|
2095 |
nil |
|
2096 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2097 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2098 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2099 |
|
1441 | 2100 |
menu |
1515 | 2101 |
"This resource specification was automatically generated |
2102 |
by the MenuEditor of ST/X." |
|
2103 |
||
2104 |
"Do not manually edit this!! If it is corrupted, |
|
2105 |
the MenuEditor may not be able to read the specification." |
|
1441 | 2106 |
|
2107 |
" |
|
2108 |
MenuEditor new openOnClass:NewLauncher andSelector:#menu |
|
2109 |
(Menu new fromLiteralArrayEncoding:(NewLauncher menu)) startUp |
|
2110 |
" |
|
2111 |
||
2112 |
<resource: #menu> |
|
2113 |
||
12335 | 2114 |
^ |
5407 | 2115 |
#(Menu |
12335 | 2116 |
( |
2117 |
(MenuItem |
|
2118 |
label: 'About' |
|
2119 |
nameKey: about |
|
2120 |
translateLabel: true |
|
2121 |
submenuChannel: aboutMenu |
|
2122 |
labelImage: (ResourceRetriever nil menuIcon) |
|
2123 |
) |
|
2124 |
(MenuItem |
|
2125 |
label: 'File' |
|
2126 |
nameKey: file |
|
2127 |
translateLabel: true |
|
2128 |
submenuChannel: fileMenu |
|
2129 |
) |
|
2130 |
(MenuItem |
|
2131 |
label: 'Classes' |
|
2132 |
nameKey: classes |
|
2133 |
translateLabel: true |
|
2134 |
submenuChannel: classesMenu |
|
2135 |
) |
|
2136 |
(MenuItem |
|
2137 |
label: 'Tools' |
|
2138 |
nameKey: tools |
|
2139 |
translateLabel: true |
|
2140 |
submenuChannel: toolsMenu |
|
2141 |
) |
|
2142 |
(MenuItem |
|
2143 |
label: 'System' |
|
2144 |
nameKey: system |
|
2145 |
translateLabel: true |
|
2146 |
submenuChannel: systemMenu |
|
2147 |
) |
|
2148 |
(MenuItem |
|
2149 |
label: 'Settings' |
|
2150 |
nameKey: settings |
|
2151 |
translateLabel: true |
|
2152 |
isVisible: useOldSettingsApplication |
|
2153 |
submenuChannel: settingsMenu |
|
2154 |
) |
|
2155 |
(MenuItem |
|
2156 |
label: 'Windows' |
|
2157 |
nameKey: windows |
|
2158 |
translateLabel: true |
|
2159 |
submenuChannel: windowsMenu |
|
2160 |
) |
|
2161 |
(MenuItem |
|
2162 |
label: 'Demos' |
|
2163 |
nameKey: demos |
|
2164 |
translateLabel: true |
|
2165 |
submenuChannel: demosMenu |
|
2166 |
) |
|
2167 |
(MenuItem |
|
2168 |
label: 'MENU_Help' |
|
2169 |
nameKey: help |
|
2170 |
translateLabel: true |
|
2171 |
startGroup: conditionalRight |
|
2172 |
submenuChannel: helpMenu |
|
2173 |
) |
|
2174 |
) |
|
2175 |
nil |
|
2176 |
nil |
|
1441 | 2177 |
) |
2178 |
! |
|
2179 |
||
8291 | 2180 |
menuOpenWorkspaceTypes |
2181 |
"This resource specification was automatically generated |
|
2182 |
by the MenuEditor of ST/X." |
|
2183 |
||
2184 |
"Do not manually edit this!! If it is corrupted, |
|
2185 |
the MenuEditor may not be able to read the specification." |
|
2186 |
||
2187 |
" |
|
2188 |
MenuEditor new openOnClass:NewLauncher andSelector:#systemMenu |
|
2189 |
(Menu new fromLiteralArrayEncoding:(NewLauncher systemMenu)) startUp |
|
2190 |
" |
|
2191 |
||
2192 |
<resource: #menu> |
|
2193 |
||
12335 | 2194 |
^ |
8291 | 2195 |
#(Menu |
12335 | 2196 |
( |
2197 |
(MenuItem |
|
2198 |
activeHelpKey: toolsWorkspace |
|
2199 |
label: 'Normal' |
|
2200 |
itemValue: openWorkspace |
|
2201 |
translateLabel: true |
|
2202 |
) |
|
2203 |
(MenuItem |
|
2204 |
activeHelpKey: toolsMyWorkspace |
|
2205 |
label: 'My Workspace' |
|
2206 |
itemValue: openMyWorkspace |
|
2207 |
translateLabel: true |
|
2208 |
) |
|
2209 |
(MenuItem |
|
2210 |
activeHelpKey: toolsSystemWorkspace |
|
2211 |
label: 'System Workspace' |
|
2212 |
itemValue: openSystemWorkspace |
|
2213 |
translateLabel: true |
|
2214 |
) |
|
2215 |
(MenuItem |
|
2216 |
activeHelpKey: toolsEvaluationWorkspace |
|
2217 |
label: 'Evaluation Workspace' |
|
2218 |
itemValue: openEvaluationWorkspace |
|
2219 |
translateLabel: true |
|
2220 |
) |
|
2221 |
) |
|
2222 |
nil |
|
2223 |
nil |
|
8291 | 2224 |
) |
2225 |
! |
|
2226 |
||
1441 | 2227 |
menuToolbar |
1527 | 2228 |
"This resource specification was automatically generated |
2229 |
by the MenuEditor of ST/X." |
|
2230 |
||
2231 |
"Do not manually edit this!! If it is corrupted, |
|
2232 |
the MenuEditor may not be able to read the specification." |
|
1441 | 2233 |
|
2234 |
" |
|
2235 |
MenuEditor new openOnClass:NewLauncher andSelector:#menuToolbar |
|
2236 |
(Menu new fromLiteralArrayEncoding:(NewLauncher menuToolbar)) startUp |
|
2237 |
" |
|
2238 |
||
2239 |
<resource: #menu> |
|
2240 |
||
12335 | 2241 |
^ |
6328 | 2242 |
#(Menu |
12335 | 2243 |
( |
2244 |
(MenuItem |
|
2245 |
activeHelpKey: fileSaveImage |
|
2246 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
2247 |
label: 'save image' |
|
2248 |
itemValue: saveImage |
|
2249 |
nameKey: saveImage |
|
2250 |
translateLabel: true |
|
2251 |
isButton: true |
|
2252 |
labelImage: (ResourceRetriever ToolbarIconLibrary saveImageIcon) |
|
2253 |
) |
|
2254 |
(MenuItem |
|
2255 |
activeHelpKey: fileFileBrowser |
|
2256 |
label: 'open file browser' |
|
2257 |
itemValue: openFileBrowser |
|
2258 |
nameKey: fileBrowser |
|
2259 |
translateLabel: true |
|
2260 |
isButton: true |
|
2261 |
isVisible: fileBrowserItemVisible |
|
2262 |
submenuChannel: menuFileHistory |
|
2263 |
labelImage: (ResourceRetriever ToolbarIconLibrary startFileBrowserIcon) |
|
2264 |
) |
|
2265 |
(MenuItem |
|
2266 |
label: '-' |
|
2267 |
) |
|
2268 |
(MenuItem |
|
2269 |
activeHelpKey: toolsWorkspace |
|
2270 |
label: 'open workspace' |
|
2271 |
itemValue: openWorkspace |
|
2272 |
nameKey: workspace |
|
2273 |
translateLabel: true |
|
2274 |
isButton: true |
|
2275 |
submenuChannel: menuOpenWorkspaceTypes |
|
2276 |
labelImage: (ResourceRetriever ToolbarIconLibrary startWorkspaceIcon) |
|
2277 |
) |
|
2278 |
(MenuItem |
|
2279 |
activeHelpKey: classesSystemBrowser |
|
2280 |
label: 'open system browser' |
|
2281 |
itemValue: openApplication: |
|
2282 |
nameKey: systemBrowser |
|
2283 |
translateLabel: true |
|
2284 |
isButton: true |
|
2285 |
isVisible: systemBrowserItemVisible |
|
2286 |
submenuChannel: menuClassHistory |
|
2287 |
labelImage: (ResourceRetriever ToolbarIconLibrary startSystemBrowserIcon) |
|
2288 |
argument: 'SystemBrowser' |
|
2289 |
) |
|
2290 |
(MenuItem |
|
2291 |
activeHelpKey: classesSystemBrowserOnClass |
|
2292 |
label: 'System Browser On Class' |
|
2293 |
translateLabel: true |
|
2294 |
isButton: true |
|
2295 |
isVisible: false |
|
2296 |
submenuChannel: menuClassHistory |
|
2297 |
labelImage: (ResourceRetriever ToolbarIconLibrary startSystemBrowserOnHistoryClassIcon) |
|
2298 |
) |
|
2299 |
(MenuItem |
|
2300 |
activeHelpKey: toolsChangesBrowserOrNavigateToRecentChange |
|
2301 |
label: 'open changes browser' |
|
2302 |
itemValue: startChangesBrowser |
|
2303 |
nameKey: changesBrowser |
|
2304 |
translateLabel: true |
|
2305 |
isButton: true |
|
2306 |
submenuChannel: menuChangeHistory |
|
2307 |
labelImage: (ResourceRetriever ToolbarIconLibrary startChangesBrowserIcon) |
|
2308 |
) |
|
2309 |
(MenuItem |
|
2310 |
label: '-' |
|
2311 |
) |
|
2312 |
(MenuItem |
|
2313 |
activeHelpKey: toolsGUIPainter |
|
2314 |
label: 'open GUI Builder' |
|
2315 |
itemValue: openApplication: |
|
2316 |
nameKey: guiBuilder |
|
2317 |
translateLabel: true |
|
2318 |
isButton: true |
|
2319 |
labelImage: (ResourceRetriever ToolbarIconLibrary startUIPainterIcon) |
|
2320 |
argument: 'UIPainter' |
|
2321 |
) |
|
2322 |
(MenuItem |
|
2323 |
activeHelpKey: toolsMenuEditor |
|
2324 |
label: 'open menu editor' |
|
2325 |
itemValue: openApplication: |
|
2326 |
nameKey: menuEditor |
|
2327 |
translateLabel: true |
|
2328 |
isButton: true |
|
2329 |
labelImage: (ResourceRetriever ToolbarIconLibrary startMenuEditorIcon) |
|
2330 |
argument: 'MenuEditor' |
|
2331 |
) |
|
2332 |
(MenuItem |
|
2333 |
activeHelpKey: toolsImageEditor |
|
2334 |
label: 'open image editor' |
|
2335 |
itemValue: openApplication: |
|
2336 |
nameKey: imageEditor |
|
2337 |
translateLabel: true |
|
2338 |
isButton: true |
|
2339 |
labelImage: (ResourceRetriever ToolbarIconLibrary startImageEditorIcon) |
|
2340 |
argument: 'ImageEditor' |
|
2341 |
) |
|
2342 |
(MenuItem |
|
2343 |
label: '' |
|
2344 |
) |
|
2345 |
(MenuItem |
|
2346 |
activeHelpKey: systemGarbageCollectAndCompress |
|
2347 |
label: 'garbage collect and compress' |
|
2348 |
itemValue: compressingGarbageCollect |
|
2349 |
nameKey: garbageCollect |
|
2350 |
translateLabel: true |
|
2351 |
isButton: true |
|
2352 |
isVisible: false |
|
2353 |
labelImage: (ResourceRetriever ToolbarIconLibrary garbageCollectIcon) |
|
2354 |
) |
|
2355 |
(MenuItem |
|
2356 |
activeHelpKey: helpSTXOnlineDocumentation |
|
2357 |
label: 'help' |
|
2358 |
itemValue: startDocumentationTool |
|
2359 |
nameKey: help |
|
2360 |
translateLabel: true |
|
2361 |
isButton: true |
|
2362 |
startGroup: right |
|
2363 |
labelImage: (ResourceRetriever XPToolbarIconLibrary stxHelpIcon) |
|
2364 |
) |
|
2365 |
) |
|
2366 |
nil |
|
2367 |
nil |
|
1441 | 2368 |
) |
2197 | 2369 |
! |
2370 |
||
3036 | 2371 |
menuToolbar_pda |
2372 |
"This resource specification was automatically generated |
|
2373 |
by the MenuEditor of ST/X." |
|
2374 |
||
2375 |
"Do not manually edit this!! If it is corrupted, |
|
2376 |
the MenuEditor may not be able to read the specification." |
|
2377 |
||
2378 |
" |
|
2379 |
MenuEditor new openOnClass:NewLauncher andSelector:#menuToolbar_pda |
|
2380 |
(Menu new fromLiteralArrayEncoding:(NewLauncher menuToolbar_pda)) startUp |
|
2381 |
" |
|
2382 |
||
2383 |
<resource: #menu> |
|
2384 |
||
12335 | 2385 |
^ |
3036 | 2386 |
#(#Menu |
12335 | 2387 |
#( |
2388 |
#(#MenuItem |
|
2389 |
#label: 'open file browser' |
|
2390 |
#isButton: true |
|
2391 |
#nameKey: #fileBrowser |
|
2392 |
#value: #openFileBrowser |
|
2393 |
#activeHelpKey: #fileFileBrowser |
|
2394 |
#labelImage: #(#ResourceRetriever ToolbarIconLibrary #startFileBrowserIcon) |
|
2395 |
) |
|
2396 |
#(#MenuItem |
|
2397 |
#label: '' |
|
2398 |
) |
|
2399 |
#(#MenuItem |
|
2400 |
#label: 'open system browser' |
|
2401 |
#isButton: true |
|
2402 |
#nameKey: #systemBrowser |
|
2403 |
#value: #openApplication: |
|
2404 |
#activeHelpKey: #classesSystemBrowser |
|
2405 |
#argument: 'SystemBrowser' |
|
2406 |
#labelImage: #(#ResourceRetriever ToolbarIconLibrary #startSystemBrowserIcon) |
|
2407 |
#submenuChannel: #menuClassHistory |
|
2408 |
) |
|
2409 |
#(#MenuItem |
|
2410 |
#label: '' |
|
2411 |
) |
|
2412 |
#(#MenuItem |
|
2413 |
#label: 'help' |
|
2414 |
#translateLabel: true |
|
2415 |
#isButton: true |
|
2416 |
#nameKey: #help |
|
2417 |
#startGroup: #right |
|
2418 |
#value: #startDocumentationTool |
|
2419 |
#activeHelpKey: #helpSTXOnlineDocumentation |
|
2420 |
#labelImage: #(#ResourceRetriever ToolbarIconLibrary #helpIcon2) |
|
2421 |
) |
|
2422 |
) |
|
2423 |
nil |
|
2424 |
nil |
|
3036 | 2425 |
) |
7881 | 2426 |
|
2427 |
"Modified: / 05-11-2007 / 11:16:57 / cg" |
|
3036 | 2428 |
! |
2429 |
||
2430 |
menu_pda |
|
2431 |
"This resource specification was automatically generated |
|
2432 |
by the MenuEditor of ST/X." |
|
2433 |
||
2434 |
"Do not manually edit this!! If it is corrupted, |
|
2435 |
the MenuEditor may not be able to read the specification." |
|
2436 |
||
2437 |
" |
|
2438 |
MenuEditor new openOnClass:NewLauncher andSelector:#menu_pda |
|
2439 |
(Menu new fromLiteralArrayEncoding:(NewLauncher menu_pda)) startUp |
|
2440 |
" |
|
2441 |
||
2442 |
<resource: #menu> |
|
2443 |
||
12335 | 2444 |
^ |
3036 | 2445 |
#(#Menu |
12335 | 2446 |
#( |
2447 |
#(#MenuItem |
|
2448 |
#label: 'About' |
|
2449 |
#translateLabel: true |
|
2450 |
#nameKey: #about |
|
2451 |
#activeHelpKey: #settings |
|
2452 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
|
2453 |
#submenuChannel: #aboutMenu |
|
2454 |
#keepLinkedMenu: true |
|
2455 |
) |
|
2456 |
#(#MenuItem |
|
2457 |
#label: '&File' |
|
2458 |
#translateLabel: true |
|
2459 |
#nameKey: #file |
|
2460 |
#activeHelpKey: #settings |
|
2461 |
#submenuChannel: #fileMenu |
|
2462 |
#keepLinkedMenu: true |
|
2463 |
) |
|
2464 |
#(#MenuItem |
|
2465 |
#label: 'Apps' |
|
2466 |
#translateLabel: true |
|
2467 |
#submenu: |
|
2468 |
#(#Menu |
|
2469 |
#( |
|
2470 |
#(#MenuItem |
|
2471 |
#label: 'Classes' |
|
2472 |
#translateLabel: true |
|
2473 |
#nameKey: #classes |
|
2474 |
#activeHelpKey: #settings |
|
2475 |
#submenuChannel: #classesMenu |
|
2476 |
#keepLinkedMenu: true |
|
2477 |
) |
|
2478 |
#(#MenuItem |
|
2479 |
#label: 'Tools' |
|
2480 |
#translateLabel: true |
|
2481 |
#nameKey: #tools |
|
2482 |
#activeHelpKey: #settings |
|
2483 |
#submenuChannel: #toolsMenu |
|
2484 |
#keepLinkedMenu: true |
|
2485 |
) |
|
2486 |
#(#MenuItem |
|
2487 |
#label: 'System' |
|
2488 |
#translateLabel: true |
|
2489 |
#nameKey: #system |
|
2490 |
#activeHelpKey: #settings |
|
2491 |
#submenuChannel: #systemMenu |
|
2492 |
#keepLinkedMenu: true |
|
2493 |
) |
|
2494 |
#(#MenuItem |
|
2495 |
#label: 'Demos' |
|
2496 |
#translateLabel: true |
|
2497 |
#nameKey: #demos |
|
2498 |
#activeHelpKey: #settings |
|
2499 |
#submenuChannel: #demosMenu |
|
2500 |
#keepLinkedMenu: true |
|
2501 |
) |
|
2502 |
) |
|
2503 |
nil |
|
2504 |
nil |
|
2505 |
) |
|
2506 |
) |
|
2507 |
#(#MenuItem |
|
2508 |
#label: 'Windows' |
|
2509 |
#translateLabel: true |
|
2510 |
#nameKey: #windows |
|
2511 |
#activeHelpKey: #settings |
|
2512 |
#submenuChannel: #windowsMenu |
|
2513 |
#keepLinkedMenu: true |
|
2514 |
) |
|
2515 |
#(#MenuItem |
|
2516 |
#label: '&Help' |
|
2517 |
#translateLabel: true |
|
2518 |
#nameKey: #help |
|
2519 |
#startGroup: #right |
|
2520 |
#activeHelpKey: #settings |
|
2521 |
#submenuChannel: #helpMenu |
|
2522 |
#keepLinkedMenu: true |
|
2523 |
) |
|
2524 |
) |
|
2525 |
nil |
|
2526 |
nil |
|
3036 | 2527 |
) |
7316 | 2528 |
|
2529 |
"Modified: / 19-09-2006 / 20:48:22 / cg" |
|
3036 | 2530 |
! |
2531 |
||
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2532 |
systemMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2533 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2534 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2535 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2536 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2537 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2538 |
|
11290 | 2539 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2540 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2541 |
MenuEditor new openOnClass:NewLauncher andSelector:#systemMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2542 |
(Menu new fromLiteralArrayEncoding:(NewLauncher systemMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2543 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2544 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2545 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2546 |
|
12335 | 2547 |
^ |
6224 | 2548 |
#(Menu |
12335 | 2549 |
( |
2550 |
(MenuItem |
|
2551 |
activeHelpKey: systemMemory |
|
2552 |
label: 'Memory' |
|
2553 |
itemValue: openApplication: |
|
2554 |
translateLabel: true |
|
2555 |
argument: 'MemoryMonitor' |
|
2556 |
) |
|
2557 |
(MenuItem |
|
2558 |
activeHelpKey: systemMemoryUsage |
|
2559 |
label: 'Memory Usage' |
|
2560 |
itemValue: openApplication: |
|
2561 |
translateLabel: true |
|
2562 |
argument: 'MemoryUsageView' |
|
2563 |
) |
|
2564 |
(MenuItem |
|
2565 |
label: '-' |
|
2566 |
) |
|
2567 |
(MenuItem |
|
2568 |
activeHelpKey: systemProcesses |
|
2569 |
label: 'Processes' |
|
2570 |
itemValue: startProcessMonitor |
|
2571 |
translateLabel: true |
|
2572 |
) |
|
2573 |
(MenuItem |
|
2574 |
activeHelpKey: systemSemaphores |
|
2575 |
label: 'Semaphores' |
|
2576 |
itemValue: openApplication: |
|
2577 |
translateLabel: true |
|
2578 |
argument: 'SemaphoreMonitor' |
|
2579 |
) |
|
2580 |
(MenuItem |
|
2581 |
activeHelpKey: fileModules |
|
2582 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
2583 |
label: 'Modules...' |
|
2584 |
itemValue: objectModuleDialog |
|
2585 |
translateLabel: true |
|
2586 |
) |
|
2587 |
(MenuItem |
|
2588 |
activeHelpKey: filePackages |
|
2589 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
2590 |
label: 'Packages...' |
|
2591 |
itemValue: packageDialog |
|
2592 |
translateLabel: true |
|
2593 |
isVisible: packageDialogVisible |
|
2594 |
) |
|
2595 |
(MenuItem |
|
2596 |
label: '-' |
|
2597 |
) |
|
2598 |
(MenuItem |
|
2599 |
activeHelpKey: systemInterruptLatency |
|
2600 |
label: 'Interrupt Latency' |
|
2601 |
itemValue: startLatencyMonitor |
|
2602 |
translateLabel: true |
|
2603 |
isVisible: false |
|
2604 |
) |
|
2605 |
(MenuItem |
|
2606 |
label: '-' |
|
2607 |
isVisible: false |
|
2608 |
) |
|
2609 |
(MenuItem |
|
2610 |
activeHelpKey: systemEventView |
|
2611 |
label: 'Event View' |
|
2612 |
itemValue: openApplication: |
|
2613 |
translateLabel: true |
|
2614 |
argument: 'EventMonitor' |
|
2615 |
) |
|
2616 |
(MenuItem |
|
2617 |
activeHelpKey: systemEventTrace |
|
2618 |
label: 'Event Trace' |
|
2619 |
itemValue: startStopEventTrace |
|
2620 |
translateLabel: true |
|
2621 |
) |
|
2622 |
(MenuItem |
|
2623 |
label: '-' |
|
2624 |
) |
|
2625 |
(MenuItem |
|
2626 |
activeHelpKey: systemGarbageCollect |
|
2627 |
label: 'Collect Garbage' |
|
2628 |
itemValue: garbageCollect |
|
2629 |
translateLabel: true |
|
2630 |
labelImage: (ResourceRetriever nil garbageCollectIcon 'Collect Garbage') |
|
2631 |
) |
|
2632 |
(MenuItem |
|
2633 |
activeHelpKey: systemGarbageCollectAndCompress |
|
2634 |
label: 'Collect Garbage and Compress' |
|
2635 |
itemValue: compressingGarbageCollect |
|
2636 |
translateLabel: true |
|
2637 |
labelImage: (ResourceRetriever nil garbageCollectIcon 'Collect Garbage and Compress') |
|
2638 |
) |
|
2639 |
(MenuItem |
|
2640 |
label: '-' |
|
2641 |
) |
|
2642 |
(MenuItem |
|
2643 |
activeHelpKey: systemReloadResources |
|
2644 |
label: 'Reload Resources' |
|
2645 |
itemValue: flushCachedResources |
|
2646 |
translateLabel: true |
|
2647 |
labelImage: (ResourceRetriever nil garbageCollectIcon 'Reload Resources') |
|
2648 |
showBusyCursorWhilePerforming: true |
|
2649 |
) |
|
2650 |
(MenuItem |
|
2651 |
label: '-' |
|
2652 |
isVisible: useNewSettingsApplication |
|
2653 |
) |
|
2654 |
(MenuItem |
|
2655 |
activeHelpKey: systemSettings |
|
2656 |
label: 'Settings...' |
|
2657 |
itemValue: openSettings |
|
2658 |
translateLabel: true |
|
2659 |
isVisible: useNewSettingsApplication |
|
2660 |
labelImage: (ResourceRetriever ToolbarIconLibrary settings16x16Icon 'Settings...') |
|
2661 |
) |
|
2662 |
) |
|
2663 |
nil |
|
2664 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2665 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2666 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2667 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2668 |
toolsMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2669 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2670 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2671 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2672 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2673 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2674 |
|
12041 | 2675 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2676 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2677 |
MenuEditor new openOnClass:NewLauncher andSelector:#toolsMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2678 |
(Menu new fromLiteralArrayEncoding:(NewLauncher toolsMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2679 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2680 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2681 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2682 |
|
12335 | 2683 |
^ |
6420 | 2684 |
#(Menu |
12335 | 2685 |
( |
2686 |
(MenuItem |
|
2687 |
activeHelpKey: toolsWorkspace |
|
2688 |
label: 'Workspace' |
|
2689 |
itemValue: openWorkspace |
|
2690 |
nameKey: workspace |
|
2691 |
labelImage: (ResourceRetriever ToolbarIconLibrary startWorkspaceIcon 'Workspace') |
|
2692 |
) |
|
2693 |
(MenuItem |
|
2694 |
label: '-' |
|
2695 |
) |
|
2696 |
(MenuItem |
|
2697 |
enabled: monticelloRepositoryAvailable |
|
2698 |
label: 'Monticello Repository Browser' |
|
2699 |
itemValue: startMonticelloRepositoryBrowser |
|
2700 |
showBusyCursorWhilePerforming: true |
|
2701 |
) |
|
2702 |
(MenuItem |
|
2703 |
label: 'Programming' |
|
2704 |
nameKey: programming |
|
2705 |
submenu: |
|
2706 |
(Menu |
|
2707 |
( |
|
2708 |
(MenuItem |
|
2709 |
activeHelpKey: toolsChangesBrowser |
|
2710 |
label: 'Change File Browser' |
|
2711 |
itemValue: startChangesBrowser |
|
2712 |
nameKey: changesBrowser |
|
2713 |
labelImage: (ResourceRetriever ToolbarIconLibrary startChangesBrowserIcon 'Change File Browser') |
|
2714 |
) |
|
2715 |
(MenuItem |
|
2716 |
activeHelpKey: toolsSUnit |
|
2717 |
label: 'SUnit Test Runner' |
|
2718 |
itemValue: startSUnitTestRunner |
|
2719 |
nameKey: startSUnitTestRunner |
|
2720 |
labelImage: (ResourceRetriever NewLauncher startSUnitIcon 'SUnit Test Runner') |
|
2721 |
) |
|
2722 |
(MenuItem |
|
2723 |
activeHelpKey: toolsToDoList |
|
2724 |
label: 'Programmer''s ToDo List' |
|
2725 |
itemValue: startToDoListBrowser |
|
2726 |
nameKey: startToDoListBrowser |
|
2727 |
) |
|
2728 |
(MenuItem |
|
2729 |
activeHelpKey: toolsOOM |
|
2730 |
enabled: oomPackageLoaded |
|
2731 |
label: 'Code Metrics Browser' |
|
2732 |
itemValue: startOOMBrowser |
|
2733 |
nameKey: startOOMBrowser |
|
2734 |
) |
|
2735 |
(MenuItem |
|
2736 |
activeHelpKey: toolsSmaCC |
|
2737 |
enabled: smaccPackageLoaded |
|
2738 |
label: 'SmaCC ParserGenerator' |
|
2739 |
itemValue: startSmaCCParserGenerator |
|
2740 |
nameKey: startSmaCCParserGenerator |
|
2741 |
) |
|
2742 |
(MenuItem |
|
2743 |
activeHelpKey: toolsInternationalLanguageTranslationEditor |
|
2744 |
label: 'International Language Translation Editor' |
|
2745 |
itemValue: startInternationalLanguageTranslationEditor |
|
2746 |
labelImage: (ResourceRetriever ToolbarIconLibrary languagesIcon 'International Language Translation Editor') |
|
2747 |
) |
|
2748 |
) |
|
2749 |
nil |
|
2750 |
nil |
|
2751 |
) |
|
2752 |
) |
|
2753 |
(MenuItem |
|
2754 |
activeHelpKey: classesDebugging |
|
2755 |
label: 'Debugging' |
|
2756 |
nameKey: debugging |
|
2757 |
submenu: |
|
2758 |
(Menu |
|
2759 |
( |
|
2760 |
(MenuItem |
|
2761 |
activeHelpKey: breakPointBrowser |
|
2762 |
label: 'Breakpoint Browser' |
|
2763 |
itemValue: openApplication: |
|
2764 |
argument: 'Tools::BreakpointBrowser' |
|
2765 |
) |
|
2766 |
(MenuItem |
|
2767 |
label: '-' |
|
2768 |
) |
|
2769 |
(MenuItem |
|
2770 |
activeHelpKey: classesShowTracePoints |
|
2771 |
label: 'Show all Break && Trace Points' |
|
2772 |
itemValue: browseAllBreakAndTracePoints |
|
2773 |
) |
|
2774 |
(MenuItem |
|
2775 |
activeHelpKey: classesRemoveAllTracePoints |
|
2776 |
label: 'Remove all Break && Trace Points' |
|
2777 |
itemValue: removeAllBreakAndTracePoints |
|
2778 |
) |
|
2779 |
(MenuItem |
|
2780 |
activeHelpKey: classesStopIgnoringHalts |
|
2781 |
enabled: debuggerHasIgnoredHalts |
|
2782 |
label: 'Stop Ignoring Halts/Breakpoints' |
|
2783 |
itemValue: stopIgnoringHalts |
|
2784 |
) |
|
2785 |
(MenuItem |
|
2786 |
label: '-' |
|
2787 |
) |
|
2788 |
(MenuItem |
|
2789 |
label: 'Halt when Text is Sent to Transcript...' |
|
2790 |
itemValue: openTranscriptDebugDialog |
|
2791 |
) |
|
2792 |
(MenuItem |
|
2793 |
label: 'Trace when Text is Sent to Transcript...' |
|
2794 |
itemValue: openTranscriptTraceDialog |
|
2795 |
) |
|
2796 |
(MenuItem |
|
2797 |
label: '-' |
|
2798 |
) |
|
2799 |
(MenuItem |
|
2800 |
activeHelpKey: enableGlobalCoverageAnalysis |
|
2801 |
label: 'Clear all Coverage Info (Systemwide)' |
|
2802 |
itemValue: clearAllCoverageInfo |
|
2803 |
) |
|
2804 |
(MenuItem |
|
2805 |
activeHelpKey: enableGlobalCoverageAnalysis |
|
2806 |
label: 'Enable Coverage Analysis in all Processes' |
|
2807 |
itemValue: enableGlobalCoverageAnalysis |
|
2808 |
) |
|
2809 |
) |
|
2810 |
nil |
|
2811 |
nil |
|
2812 |
) |
|
2813 |
) |
|
2814 |
(MenuItem |
|
2815 |
label: 'GUI' |
|
2816 |
submenu: |
|
2817 |
(Menu |
|
2818 |
( |
|
2819 |
(MenuItem |
|
2820 |
activeHelpKey: toolsGUIPainter |
|
2821 |
label: 'GUI Painter' |
|
2822 |
itemValue: openApplication: |
|
2823 |
nameKey: guiPainter |
|
2824 |
labelImage: (ResourceRetriever ToolbarIconLibrary startUIPainterIcon 'GUI Painter') |
|
2825 |
argument: 'UIPainter' |
|
2826 |
) |
|
2827 |
(MenuItem |
|
2828 |
activeHelpKey: toolsMenuEditor |
|
2829 |
label: 'Menu Editor' |
|
2830 |
itemValue: openApplication: |
|
2831 |
nameKey: menuEditor |
|
2832 |
labelImage: (ResourceRetriever ToolbarIconLibrary startMenuEditorIcon 'Menu Editor') |
|
2833 |
argument: 'MenuEditor' |
|
2834 |
) |
|
2835 |
(MenuItem |
|
2836 |
activeHelpKey: toolsImageEditor |
|
2837 |
label: 'Image Editor' |
|
2838 |
itemValue: openApplication: |
|
2839 |
nameKey: imageEditor |
|
2840 |
labelImage: (ResourceRetriever ToolbarIconLibrary startImageEditorIcon 'Image Editor') |
|
2841 |
argument: 'ImageEditor' |
|
2842 |
) |
|
2843 |
) |
|
2844 |
nil |
|
2845 |
nil |
|
2846 |
) |
|
2847 |
) |
|
2848 |
(MenuItem |
|
2849 |
label: '-' |
|
2850 |
) |
|
2851 |
(MenuItem |
|
2852 |
label: 'Bug Reporter' |
|
2853 |
itemValue: startBugMessages |
|
2854 |
nameKey: bugMessages |
|
2855 |
isVisible: bugReporterAvailable |
|
2856 |
labelImage: (ResourceRetriever NewLauncher bugReporterIcon 'Bug Reporter') |
|
2857 |
) |
|
2858 |
(MenuItem |
|
2859 |
label: 'SQL Workspace' |
|
2860 |
itemValue: startSQLWorkspace |
|
2861 |
isVisible: sqlWorkspaceItemVisible |
|
2862 |
) |
|
2863 |
(MenuItem |
|
2864 |
activeHelpKey: fileApplicationBuilder |
|
2865 |
label: 'Application Packager (exe-Builder)' |
|
2866 |
itemValue: openApplication: |
|
2867 |
labelImage: (ResourceRetriever ToolbarIconLibrary projectBuilderIcon 'Application Packager (exe-Builder)') |
|
2868 |
argument: 'Tools::ProjectBuilderAssistantApplication' |
|
2869 |
) |
|
2870 |
(MenuItem |
|
2871 |
label: '-' |
|
2872 |
) |
|
2873 |
(MenuItem |
|
2874 |
label: 'Recently Opened' |
|
2875 |
submenuChannel: recentlyOpenedApplicationsMenu |
|
2876 |
) |
|
2877 |
(MenuItem |
|
2878 |
label: '-' |
|
2879 |
) |
|
2880 |
(MenuItem |
|
2881 |
activeHelpKey: toolsMisc |
|
2882 |
label: 'Misc' |
|
2883 |
nameKey: misc |
|
2884 |
submenu: |
|
2885 |
(Menu |
|
2886 |
( |
|
2887 |
(MenuItem |
|
2888 |
activeHelpKey: toolsMiscProjects |
|
2889 |
label: 'Projects' |
|
2890 |
isVisible: false |
|
2891 |
submenu: |
|
2892 |
(Menu |
|
2893 |
( |
|
2894 |
(MenuItem |
|
2895 |
activeHelpKey: toolsMiscProjectsNewProject |
|
2896 |
label: 'New Project' |
|
2897 |
itemValue: newProject |
|
2898 |
) |
|
2899 |
(MenuItem |
|
2900 |
label: '-' |
|
2901 |
) |
|
2902 |
(MenuItem |
|
2903 |
activeHelpKey: toolsMiscProjectsSelectProject |
|
2904 |
label: 'Select Project...' |
|
2905 |
itemValue: selectProject |
|
2906 |
) |
|
2907 |
) |
|
2908 |
nil |
|
2909 |
nil |
|
2910 |
) |
|
2911 |
) |
|
2912 |
(MenuItem |
|
2913 |
label: '-' |
|
2914 |
isVisible: false |
|
2915 |
) |
|
2916 |
(MenuItem |
|
2917 |
activeHelpKey: toolsMiscNewLauncher |
|
2918 |
label: 'Reopen Launcher' |
|
2919 |
itemValue: startNewLauncher |
|
2920 |
) |
|
2921 |
(MenuItem |
|
2922 |
activeHelpKey: demosRemoteLauncher |
|
2923 |
enabled: canOpenRemoteLauncher |
|
2924 |
label: 'Remote Launcher...' |
|
2925 |
itemValue: startRemoteLauncher |
|
2926 |
) |
|
2927 |
(MenuItem |
|
2928 |
activeHelpKey: demosPDALauncher |
|
2929 |
label: 'PDA Launcher...' |
|
2930 |
itemValue: startPDALauncher |
|
2931 |
isVisible: hasPDALauncher |
|
2932 |
) |
|
2933 |
(MenuItem |
|
2934 |
label: '-' |
|
2935 |
) |
|
2936 |
(MenuItem |
|
2937 |
activeHelpKey: toolsMiscNewChangesBrowser |
|
2938 |
label: 'New Changes Browser' |
|
2939 |
itemValue: startNewChangesBrowser |
|
2940 |
) |
|
2941 |
(MenuItem |
|
2942 |
activeHelpKey: toolsMiscOldChangesBrowser |
|
2943 |
label: 'Old Changes Browser' |
|
2944 |
itemValue: startOldChangesBrowser |
|
2945 |
) |
|
2946 |
(MenuItem |
|
2947 |
label: '-' |
|
2948 |
isVisible: canDoTerminal |
|
2949 |
) |
|
2950 |
(MenuItem |
|
2951 |
activeHelpKey: toolsTerminal |
|
2952 |
label: 'Terminal' |
|
2953 |
itemValue: openTerminal |
|
2954 |
isVisible: canDoTerminal |
|
2955 |
) |
|
2956 |
(MenuItem |
|
2957 |
label: '-' |
|
2958 |
isVisible: canDoTerminal |
|
2959 |
) |
|
2960 |
(MenuItem |
|
2961 |
label: 'Inspect Global Variables' |
|
2962 |
itemValue: inspectGlobalVariables |
|
2963 |
) |
|
2964 |
(MenuItem |
|
2965 |
label: 'Inspect Workspace Variables' |
|
2966 |
itemValue: inspectWorkspaceVariables |
|
2967 |
) |
|
2968 |
(MenuItem |
|
2969 |
label: 'Remove all Workspace Variables' |
|
2970 |
itemValue: removeAllWorkspaceVariables |
|
2971 |
) |
|
2972 |
) |
|
2973 |
nil |
|
2974 |
nil |
|
2975 |
) |
|
2976 |
) |
|
2977 |
) |
|
2978 |
nil |
|
2979 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2980 |
) |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2981 |
! |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2982 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2983 |
windowsMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2984 |
"This resource specification was automatically generated |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2985 |
by the MenuEditor of ST/X." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2986 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2987 |
"Do not manually edit this!! If it is corrupted, |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2988 |
the MenuEditor may not be able to read the specification." |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2989 |
|
11486 | 2990 |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2991 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2992 |
MenuEditor new openOnClass:NewLauncher andSelector:#windowsMenu |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2993 |
(Menu new fromLiteralArrayEncoding:(NewLauncher windowsMenu)) startUp |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2994 |
" |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2995 |
|
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2996 |
<resource: #menu> |
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
2997 |
|
12838 | 2998 |
^ |
7978 | 2999 |
#(Menu |
12838 | 3000 |
( |
3001 |
(MenuItem |
|
3002 |
label: 'Window' |
|
3003 |
submenuChannel: allWindowsMenu |
|
3004 |
) |
|
3005 |
(MenuItem |
|
3006 |
label: '-' |
|
3007 |
) |
|
3008 |
(MenuItem |
|
3009 |
activeHelpKey: windowsIconifyAll |
|
3010 |
label: 'Iconify All' |
|
3011 |
itemValue: iconifyAllWindows |
|
3012 |
) |
|
3013 |
(MenuItem |
|
3014 |
activeHelpKey: windowsDeiconifyAll |
|
3015 |
label: 'Deiconify All' |
|
3016 |
itemValue: deIconifyAllWindows |
|
3017 |
) |
|
3018 |
(MenuItem |
|
3019 |
activeHelpKey: windowsRedrawAll |
|
3020 |
label: 'Redraw All' |
|
3021 |
itemValue: redrawAllWindows |
|
3022 |
) |
|
3023 |
(MenuItem |
|
3024 |
label: 'Migrate' |
|
3025 |
submenu: |
|
3026 |
(Menu |
|
3027 |
( |
|
3028 |
(MenuItem |
|
3029 |
activeHelpKey: windowsMigrateAllWindows |
|
3030 |
enabled: windowMigrationFunctionsAreShown |
|
3031 |
label: 'Migrate All To...' |
|
3032 |
itemValue: migrateAllWindows |
|
3033 |
) |
|
3034 |
(MenuItem |
|
3035 |
activeHelpKey: windowsSelectAndMigrate |
|
3036 |
enabled: windowMigrationFunctionsAreShown |
|
3037 |
label: 'Select and Migrate To...' |
|
3038 |
itemValue: viewMigrate |
|
3039 |
) |
|
3040 |
(MenuItem |
|
3041 |
activeHelpKey: windowsFindAndMigrate |
|
3042 |
enabled: windowMigrationFunctionsAreShown |
|
3043 |
label: 'Find by Name and Migrate To...' |
|
3044 |
itemValue: findAndMigrateWindow |
|
3045 |
) |
|
3046 |
(MenuItem |
|
3047 |
activeHelpKey: windowsFindAndMigrateBack |
|
3048 |
enabled: windowMigrationFunctionsAreShown |
|
3049 |
label: 'Find by Name and Migrate Back...' |
|
3050 |
itemValue: findAndMigrateWindowBack |
|
3051 |
) |
|
3052 |
) |
|
3053 |
nil |
|
3054 |
nil |
|
3055 |
) |
|
3056 |
) |
|
3057 |
(MenuItem |
|
3058 |
label: '-' |
|
3059 |
) |
|
3060 |
(MenuItem |
|
3061 |
activeHelpKey: windowsViewTree |
|
3062 |
label: 'Window Tree' |
|
3063 |
itemValue: startWindowTreeView |
|
3064 |
isVisible: windowTreeViewAvailable |
|
3065 |
) |
|
3066 |
(MenuItem |
|
3067 |
activeHelpKey: windowsViewTreeAllViews |
|
3068 |
label: 'Window Tree (All Windows)' |
|
3069 |
itemValue: openApplication: |
|
3070 |
isVisible: windowTreeViewAvailable |
|
3071 |
argument: 'WindowTreeView' |
|
3072 |
) |
|
3073 |
(MenuItem |
|
3074 |
activeHelpKey: windowsViewTreeAllScreens |
|
3075 |
label: 'Window Tree (All on All Screens)' |
|
3076 |
itemValue: startWindowTreeViewForAll |
|
3077 |
isVisible: windowTreeViewAvailable |
|
3078 |
) |
|
3079 |
(MenuItem |
|
3080 |
activeHelpKey: windowsViewTree |
|
3081 |
label: 'Window Tree' |
|
3082 |
itemValue: openWindowTreeInspector |
|
3083 |
labelImage: (ResourceRetriever ToolbarIconLibrary viewInspect22x22Icon 'Window Tree') |
|
3084 |
) |
|
3085 |
(MenuItem |
|
3086 |
activeHelpKey: flyByWindowInformation |
|
3087 |
label: 'FlyBy Window Information' |
|
3088 |
itemValue: showFlyByWindowInformation |
|
3089 |
labelImage: (ResourceRetriever ToolbarIconLibrary viewFlyByInfo22x22Icon 'FlyBy Window Information') |
|
3090 |
) |
|
3091 |
(MenuItem |
|
3092 |
label: '-' |
|
3093 |
) |
|
3094 |
(MenuItem |
|
3095 |
activeHelpKey: windowsSelectAndInspect |
|
3096 |
label: 'Select and Inspect...' |
|
3097 |
itemValue: viewInspect |
|
3098 |
) |
|
3099 |
(MenuItem |
|
3100 |
activeHelpKey: windowsSelectAndInspect |
|
3101 |
label: 'Select and Browse...' |
|
3102 |
itemValue: viewBrowse |
|
3103 |
) |
|
3104 |
(MenuItem |
|
3105 |
activeHelpKey: windowsSelectAndDestroy |
|
3106 |
label: 'Select and Destroy...' |
|
3107 |
itemValue: viewDestroy |
|
3108 |
) |
|
3109 |
(MenuItem |
|
3110 |
label: '-' |
|
3111 |
) |
|
3112 |
(MenuItem |
|
3113 |
activeHelpKey: windowsFindAndRaise |
|
3114 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
3115 |
label: 'Find by Name and Raise...' |
|
3116 |
itemValue: findAndRaiseWindow |
|
3117 |
) |
|
3118 |
(MenuItem |
|
3119 |
activeHelpKey: windowsFindAndDestroy |
|
3120 |
enabled: enableDangerousMenuItemsInRemoteLauncher |
|
3121 |
label: 'Find by Name and Destroy...' |
|
3122 |
itemValue: findAndDestroyWindow |
|
3123 |
) |
|
3124 |
(MenuItem |
|
3125 |
label: '-' |
|
3126 |
) |
|
3127 |
(MenuItem |
|
3128 |
activeHelpKey: windowsGrapWindow |
|
3129 |
label: 'Select and Grab Window...' |
|
3130 |
itemValue: viewHardcopy |
|
3131 |
) |
|
3132 |
(MenuItem |
|
3133 |
activeHelpKey: windowsGrapWidget |
|
3134 |
label: 'Select and Grab Widget...' |
|
3135 |
itemValue: widgetHardcopy |
|
3136 |
) |
|
3137 |
(MenuItem |
|
3138 |
activeHelpKey: windowsGrapScreen |
|
3139 |
label: 'Grab Screen...' |
|
3140 |
itemValue: fullScreenHardcopy |
|
3141 |
) |
|
3142 |
(MenuItem |
|
3143 |
activeHelpKey: windowsGrapScreenArea |
|
3144 |
label: 'Grab Screen Area...' |
|
3145 |
itemValue: screenHardcopy |
|
3146 |
) |
|
3147 |
(MenuItem |
|
3148 |
activeHelpKey: windowsGrapScreenArea |
|
3149 |
label: 'Grab Screen Area with Delay...' |
|
3150 |
itemValue: screenHardcopyWithDelay |
|
3151 |
) |
|
3152 |
) |
|
3153 |
nil |
|
3154 |
nil |
|
2774
bc4b37856b64
separate menuSpecs, for easier subclassing
Claus Gittinger <cg@exept.de>
parents:
2767
diff
changeset
|
3155 |
) |
1441 | 3156 |
! ! |
3157 |
||
7680 | 3158 |
!NewLauncher class methodsFor:'oldstyle-menu specs'! |
3159 |
||
3160 |
settingsMenu |
|
3161 |
"This resource specification was automatically generated |
|
3162 |
by the MenuEditor of ST/X." |
|
3163 |
||
3164 |
"Do not manually edit this!! If it is corrupted, |
|
3165 |
the MenuEditor may not be able to read the specification." |
|
3166 |
||
3167 |
" |
|
3168 |
MenuEditor new openOnClass:NewLauncher andSelector:#settingsMenu |
|
3169 |
(Menu new fromLiteralArrayEncoding:(NewLauncher settingsMenu)) startUp |
|
3170 |
" |
|
3171 |
||
3172 |
<resource: #menu> |
|
3173 |
||
12335 | 3174 |
^ |
7680 | 3175 |
#(#Menu |
12335 | 3176 |
#( |
3177 |
#(#MenuItem |
|
3178 |
#activeHelpKey: #settingsLanguage |
|
3179 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3180 |
#label: 'Language...' |
|
3181 |
#itemValue: #languageSetting |
|
3182 |
#translateLabel: true |
|
3183 |
) |
|
3184 |
#(#MenuItem |
|
3185 |
#activeHelpKey: #settingsKeyboardMappings |
|
3186 |
#label: 'Keyboard Mappings...' |
|
3187 |
#itemValue: #keyboardSetting |
|
3188 |
#translateLabel: true |
|
3189 |
) |
|
3190 |
#(#MenuItem |
|
3191 |
#activeHelpKey: #settingsViewStyle |
|
3192 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3193 |
#label: 'View Style...' |
|
3194 |
#itemValue: #viewStyleSetting |
|
3195 |
#translateLabel: true |
|
3196 |
) |
|
3197 |
#(#MenuItem |
|
3198 |
#activeHelpKey: #settingsFonts |
|
3199 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3200 |
#label: 'Fonts...' |
|
3201 |
#itemValue: #fontSettings |
|
3202 |
#translateLabel: true |
|
3203 |
) |
|
3204 |
#(#MenuItem |
|
3205 |
#label: '-' |
|
3206 |
) |
|
3207 |
#(#MenuItem |
|
3208 |
#activeHelpKey: #settingsMessages |
|
3209 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3210 |
#label: 'Messages...' |
|
3211 |
#itemValue: #messageSettings |
|
3212 |
#translateLabel: true |
|
3213 |
) |
|
3214 |
#(#MenuItem |
|
3215 |
#activeHelpKey: #settingsCompilation |
|
3216 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3217 |
#label: 'Compilation...' |
|
3218 |
#itemValue: #compilerSettings |
|
3219 |
#translateLabel: true |
|
3220 |
) |
|
3221 |
#(#MenuItem |
|
3222 |
#activeHelpKey: #settingsObjectMemory |
|
3223 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3224 |
#label: 'Object Memory...' |
|
3225 |
#itemValue: #memorySettings |
|
3226 |
#translateLabel: true |
|
3227 |
) |
|
3228 |
#(#MenuItem |
|
3229 |
#activeHelpKey: #settingsSourceAndDebugger |
|
3230 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3231 |
#label: 'Source and Debugger...' |
|
3232 |
#itemValue: #sourceAndDebuggerSettings |
|
3233 |
#translateLabel: true |
|
3234 |
) |
|
3235 |
#(#MenuItem |
|
3236 |
#activeHelpKey: #settingsTools |
|
3237 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3238 |
#label: 'Tools...' |
|
3239 |
#itemValue: #toolSettings |
|
3240 |
#translateLabel: true |
|
3241 |
) |
|
3242 |
#(#MenuItem |
|
3243 |
#activeHelpKey: #settingsJava |
|
3244 |
#label: 'Java...' |
|
3245 |
#itemValue: #javaSettings |
|
3246 |
#translateLabel: true |
|
3247 |
#isVisible: #javaSupportPresent |
|
3248 |
) |
|
3249 |
#(#MenuItem |
|
3250 |
#label: '-' |
|
3251 |
) |
|
3252 |
#(#MenuItem |
|
3253 |
#activeHelpKey: #settingsPrinter |
|
3254 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3255 |
#label: 'Printer...' |
|
3256 |
#itemValue: #printerSettings |
|
3257 |
#translateLabel: true |
|
3258 |
) |
|
3259 |
#(#MenuItem |
|
3260 |
#activeHelpKey: #settingsScreen |
|
3261 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3262 |
#label: 'Screen...' |
|
3263 |
#itemValue: #displaySettings |
|
3264 |
#translateLabel: true |
|
3265 |
) |
|
3266 |
#(#MenuItem |
|
3267 |
#label: '-' |
|
3268 |
) |
|
3269 |
#(#MenuItem |
|
3270 |
#activeHelpKey: #settingsMisc |
|
3271 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3272 |
#label: 'Editing...' |
|
3273 |
#itemValue: #editSettings |
|
3274 |
#translateLabel: true |
|
3275 |
) |
|
3276 |
#(#MenuItem |
|
3277 |
#activeHelpKey: #settingsMisc |
|
3278 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3279 |
#label: 'Misc...' |
|
3280 |
#itemValue: #miscSettings |
|
3281 |
#translateLabel: true |
|
3282 |
) |
|
3283 |
#(#MenuItem |
|
3284 |
#activeHelpKey: #settingsCommunications |
|
3285 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3286 |
#label: 'Communications...' |
|
3287 |
#itemValue: #communicationsSettings |
|
3288 |
#translateLabel: true |
|
3289 |
#isVisible: false |
|
3290 |
) |
|
3291 |
#(#MenuItem |
|
3292 |
#label: '-' |
|
3293 |
) |
|
3294 |
#(#MenuItem |
|
3295 |
#activeHelpKey: #settingsSaveSettings |
|
3296 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3297 |
#label: 'Save Settings...' |
|
3298 |
#itemValue: #saveSettings |
|
3299 |
#translateLabel: true |
|
3300 |
) |
|
3301 |
#(#MenuItem |
|
3302 |
#activeHelpKey: #settingsLoadSettings |
|
3303 |
#enabled: #enableDangerousMenuItemsInRemoteLauncher |
|
3304 |
#label: 'Load Settings...' |
|
3305 |
#itemValue: #loadSettings |
|
3306 |
#translateLabel: true |
|
3307 |
) |
|
3308 |
) |
|
3309 |
nil |
|
3310 |
nil |
|
7680 | 3311 |
) |
3312 |
! ! |
|
3313 |
||
1659 | 3314 |
!NewLauncher methodsFor:'accessing'! |
3315 |
||
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3316 |
errorListCanvas |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3317 |
errorListCanvas isNil ifTrue:[ |
12335 | 3318 |
errorListCanvas := DataSetView new. |
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3319 |
]. |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3320 |
^ errorListCanvas |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3321 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3322 |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3323 |
examples |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3324 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3325 |
reopening a standard launcher (without any added tools) |
12335 | 3326 |
[exBegin] |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3327 |
NewLauncher removeAllUserAddedTools. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3328 |
NewLauncher open. |
12335 | 3329 |
[exEnd] |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3330 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3331 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3332 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3333 |
adding your own menu items (for user-applications) |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3334 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3335 |
an additional item in the tools menu: |
12335 | 3336 |
[exBegin] |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3337 |
Transcript topView application |
12335 | 3338 |
addMenuItem:(MenuItem new |
3339 |
label: 'Foo'; |
|
3340 |
value: [Transcript showCR:'foo invoked']; |
|
3341 |
isButton: false; |
|
3342 |
labelImage: nil; |
|
3343 |
nameKey: #foo; |
|
3344 |
activeHelpKey: #Foo) |
|
3345 |
in:#menu |
|
3346 |
position:#(before workspace) |
|
3347 |
space:true |
|
3348 |
[exEnd] |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3349 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3350 |
an additional item in the tools menu: |
12335 | 3351 |
[exBegin] |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3352 |
Transcript topView application |
12335 | 3353 |
addMenuItem:(MenuItem new |
3354 |
label: 'Foo'; |
|
3355 |
value: [Transcript showCR:'foo invoked']; |
|
3356 |
isButton: false; |
|
3357 |
labelImage: nil; |
|
3358 |
activeHelpKey: #Foo) |
|
3359 |
in:#menu |
|
3360 |
position:#(after guiPainter) |
|
3361 |
space:true |
|
3362 |
[exEnd] |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3363 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3364 |
an additional item in one of the tools sub menus: |
12335 | 3365 |
[exBegin] |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3366 |
Transcript topView application |
12335 | 3367 |
addMenuItem:(MenuItem new |
3368 |
label: 'Foo'; |
|
3369 |
value: [Transcript showCR:'foo invoked']; |
|
3370 |
isButton: false; |
|
3371 |
labelImage: nil; |
|
3372 |
activeHelpKey: #Foo) |
|
3373 |
in:#toolbar |
|
3374 |
position:#(after Workspace) |
|
3375 |
space:true |
|
3376 |
[exEnd] |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3377 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3378 |
! |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3379 |
|
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3380 |
infoLineTemplate |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3381 |
"controls what is shown in the lower info - line. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3382 |
See classes defaultInfoLineTemplate and updateInfo for desription." |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3383 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3384 |
^ infoLineTemplate ? (self class defaultInfoLineTemplate) |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3385 |
! |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3386 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3387 |
infoLineTemplate:aString |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3388 |
"controls what is shown in the lower info - line. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3389 |
See classes defaultInfoLineTemplate and updateInfo for desription." |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3390 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3391 |
infoLineTemplate := aString. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3392 |
! |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3393 |
|
1659 | 3394 |
menuToolbar |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3395 |
"provide access to my toolBar" |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3396 |
|
3449
10132cfd63ec
findGuiResources... now sets the receiver, if not yet set
Claus Gittinger <cg@exept.de>
parents:
3418
diff
changeset
|
3397 |
|menu| |
1659 | 3398 |
|
7762 | 3399 |
menu := Menu decodeFromLiteralArray:(self class menuToolbar). |
3449
10132cfd63ec
findGuiResources... now sets the receiver, if not yet set
Claus Gittinger <cg@exept.de>
parents:
3418
diff
changeset
|
3400 |
"/ menu receiver:self. -- now done in findGuiResources ... |
1659 | 3401 |
menu findGuiResourcesIn:self. |
3402 |
||
3403 |
^ menu |
|
7762 | 3404 |
|
3405 |
"Modified: / 27-03-2007 / 08:43:32 / cg" |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3406 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3407 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3408 |
transcriptView |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3409 |
"provide access to my transcript view" |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3410 |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3411 |
transcript isNil ifTrue:[ |
12335 | 3412 |
(self componentAt: #transcriptView) notNil ifTrue:[ |
3413 |
transcript := (self componentAt: #transcriptView) subViews first. |
|
3414 |
] ifFalse:[ |
|
3415 |
transcript := Workspace new. |
|
3416 |
] |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3417 |
]. |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3418 |
^ transcript |
1659 | 3419 |
! ! |
3420 |
||
1544 | 3421 |
!NewLauncher methodsFor:'aspects'! |
3422 |
||
1752 | 3423 |
canDoTerminal |
2009 | 3424 |
"return a 'valueHolder', which returns true if the terminal application |
3425 |
is available. For now, this is true if we run under unix" |
|
3426 |
||
12335 | 3427 |
^ OperatingSystem isUNIXlike |
2130 | 3428 |
or:[OperatingSystem isMSWINDOWSlike] |
1752 | 3429 |
|
3430 |
"Created: / 27.7.1998 / 12:47:54 / cg" |
|
2130 | 3431 |
"Modified: / 28.4.1999 / 11:55:24 / cg" |
1752 | 3432 |
! |
3433 |
||
7894
0c57fb46c8a7
disable remoteLauncher if there is no XWorkstation
Claus Gittinger <cg@exept.de>
parents:
7881
diff
changeset
|
3434 |
canOpenRemoteLauncher |
0c57fb46c8a7
disable remoteLauncher if there is no XWorkstation
Claus Gittinger <cg@exept.de>
parents:
7881
diff
changeset
|
3435 |
^ XWorkstation notNil and:[ XWorkstation isLoaded ] |
0c57fb46c8a7
disable remoteLauncher if there is no XWorkstation
Claus Gittinger <cg@exept.de>
parents:
7881
diff
changeset
|
3436 |
|
0c57fb46c8a7
disable remoteLauncher if there is no XWorkstation
Claus Gittinger <cg@exept.de>
parents:
7881
diff
changeset
|
3437 |
"Created: / 09-11-2007 / 12:10:51 / cg" |
0c57fb46c8a7
disable remoteLauncher if there is no XWorkstation
Claus Gittinger <cg@exept.de>
parents:
7881
diff
changeset
|
3438 |
! |
0c57fb46c8a7
disable remoteLauncher if there is no XWorkstation
Claus Gittinger <cg@exept.de>
parents:
7881
diff
changeset
|
3439 |
|
2698
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3440 |
chickenFunIsRunning |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3441 |
"return a 'valueHolder', which returns true if the chickenFun demo is running." |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3442 |
|
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3443 |
^ [Demos::ChickenFun notNil |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3444 |
and:[Demos::ChickenFun isLoaded |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3445 |
and:[Demos::ChickenFun isRunning]]] |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3446 |
! |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
3447 |
|
8178 | 3448 |
debuggerHasIgnoredHalts |
9516
a472b6e9b28e
changed: #debuggerHasIgnoredHalts
Claus Gittinger <cg@exept.de>
parents:
9404
diff
changeset
|
3449 |
^ DebugView notNil and:[ DebugView hasIgnoredHalts ] |
a472b6e9b28e
changed: #debuggerHasIgnoredHalts
Claus Gittinger <cg@exept.de>
parents:
9404
diff
changeset
|
3450 |
|
a472b6e9b28e
changed: #debuggerHasIgnoredHalts
Claus Gittinger <cg@exept.de>
parents:
9404
diff
changeset
|
3451 |
"Modified: / 10-07-2010 / 18:47:36 / cg" |
8178 | 3452 |
! |
3453 |
||
2136 | 3454 |
displaySupportsGLDrawing |
3455 |
"return a 'valueHolder', which returns true if the GL support |
|
3456 |
is available." |
|
3457 |
||
3458 |
^ [Screen current supportsGLDrawing] |
|
3459 |
||
3460 |
"Modified: / 13.2.1998 / 14:26:31 / cg" |
|
3461 |
"Created: / 3.5.1999 / 16:47:22 / cg" |
|
3462 |
! |
|
3463 |
||
1544 | 3464 |
enableDangerousMenuItemsInRemoteLauncher |
3465 |
||
3466 |
|holder| |
|
2558 | 3467 |
|
1544 | 3468 |
(holder := builder bindingAt:#enableDangerousMenuItemsInRemoteLauncher) isNil ifTrue:[ |
12335 | 3469 |
builder aspectAt:#enableDangerousMenuItemsInRemoteLauncher put:(holder := true asValue). |
1544 | 3470 |
]. |
3471 |
^ holder |
|
3472 |
! |
|
3473 |
||
3897 | 3474 |
fileBrowserItemVisible |
3909 | 3475 |
|holder| |
3476 |
||
3477 |
(holder := builder bindingAt:#fileBrowserItemVisible) isNil ifTrue:[ |
|
12335 | 3478 |
builder |
3479 |
aspectAt:#fileBrowserItemVisible |
|
3480 |
put:(holder := UserPreferences current useNewFileBrowser not asValue) |
|
3909 | 3481 |
]. |
3482 |
^ holder |
|
3897 | 3483 |
! |
3484 |
||
8725 | 3485 |
historyManagerActive |
3486 |
"Answer whether the history manager is active." |
|
3487 |
||
3488 |
^[HistoryManager isActive] |
|
3489 |
||
3490 |
"Created: / 20-06-2004 / 16:05:41 / masca" |
|
3491 |
"Modified: / 20-04-2005 / 18:59:28 / janfrog" |
|
3492 |
! |
|
3493 |
||
2756
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3494 |
isMainLauncherHolder |
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3495 |
^ [ isMainLauncher ] |
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3496 |
! |
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3497 |
|
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3498 |
isNotMainLauncherHolder |
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3499 |
^ [ isMainLauncher not ] |
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3500 |
! |
183efc156402
remote launchers show a 'close' item (instead of 'exit')
Claus Gittinger <cg@exept.de>
parents:
2738
diff
changeset
|
3501 |
|
1544 | 3502 |
javaSupportPresent |
2009 | 3503 |
"return a 'valueHolder', which returns true if the java support |
3504 |
is available." |
|
3505 |
||
1914 | 3506 |
^ [JavaVM notNil and:[JavaVM isBehavior and:[JavaVM isLoaded]]] |
1544 | 3507 |
|
3508 |
"Created: / 13.2.1998 / 14:25:59 / cg" |
|
3509 |
"Modified: / 13.2.1998 / 14:26:31 / cg" |
|
1711
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
3510 |
! |
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
3511 |
|
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
3512 |
libraryBuilderAvailable |
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
3513 |
^ false |
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
3514 |
|
a4318a71e939
hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
3515 |
"Created: / 20.6.1998 / 16:54:31 / cg" |
2068
2eea9103d515
hide 'show active help' menu item - for now.
Claus Gittinger <cg@exept.de>
parents:
2046
diff
changeset
|
3516 |
! |
2eea9103d515
hide 'show active help' menu item - for now.
Claus Gittinger <cg@exept.de>
parents:
2046
diff
changeset
|
3517 |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3518 |
noteBookCanvasHolder |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3519 |
|holder| |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3520 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3521 |
(holder := builder bindingAt:#noteBookCanvasHolder) isNil ifTrue:[ |
12335 | 3522 |
builder aspectAt:#noteBookCanvasHolder put:(holder := nil asValue). |
3523 |
holder value:self transcriptView. |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3524 |
]. |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3525 |
^ holder |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3526 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3527 |
|
8951 | 3528 |
oomPackageLoaded |
3529 |
"true if the oom (metrics) package is loaded" |
|
3530 |
||
3531 |
"/ access via at: to prevent preference-detector from including oom as |
|
3532 |
"/ prerequisite for NewLaucher. |
|
3533 |
^ (Smalltalk at:#'OOM::MetricVisualizer') isBehavior |
|
3534 |
! |
|
3535 |
||
2502 | 3536 |
packageDialogVisible |
8230 | 3537 |
"/ ^ true. |
2502 | 3538 |
^ false |
3539 |
! |
|
3540 |
||
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3541 |
selectedTabHolder |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3542 |
|holder| |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3543 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3544 |
(holder := builder bindingAt:#selectedTabHolder) isNil ifTrue:[ |
12335 | 3545 |
builder aspectAt:#selectedTabHolder put:(holder := 1 asValue). |
3546 |
holder addDependent:self. |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3547 |
]. |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3548 |
^ holder |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3549 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3550 |
|
2068
2eea9103d515
hide 'show active help' menu item - for now.
Claus Gittinger <cg@exept.de>
parents:
2046
diff
changeset
|
3551 |
showActiveHelpMenuItem |
2eea9103d515
hide 'show active help' menu item - for now.
Claus Gittinger <cg@exept.de>
parents:
2046
diff
changeset
|
3552 |
^ false |
3897 | 3553 |
! |
3554 |
||
8951 | 3555 |
smaccPackageLoaded |
11770
592d60ff706f
changed: #smaccPackageLoaded
Claus Gittinger <cg@exept.de>
parents:
11730
diff
changeset
|
3556 |
"true if the smacc (compiler-compiler) package is loaded" |
592d60ff706f
changed: #smaccPackageLoaded
Claus Gittinger <cg@exept.de>
parents:
11730
diff
changeset
|
3557 |
|
592d60ff706f
changed: #smaccPackageLoaded
Claus Gittinger <cg@exept.de>
parents:
11730
diff
changeset
|
3558 |
"/ access via at: to prevent preference-detector from including smacc as |
8951 | 3559 |
"/ prerequisite for NewLaucher. |
11770
592d60ff706f
changed: #smaccPackageLoaded
Claus Gittinger <cg@exept.de>
parents:
11730
diff
changeset
|
3560 |
^ (Smalltalk at:#'SmaCC::SmaCCParserGenerator') isBehavior |
8951 | 3561 |
! |
3562 |
||
7508 | 3563 |
smallTeamAvailable |
3564 |
^ SmallTeam notNil |
|
3565 |
||
3566 |
"Created: / 12-11-2006 / 16:09:18 / cg" |
|
3567 |
! |
|
3568 |
||
6420 | 3569 |
sqlWorkspaceItemVisible |
3570 |
^ (Smalltalk at:#'SQL::ODBCScratchpad') notNil |
|
3571 |
! |
|
3572 |
||
3897 | 3573 |
systemBrowserItemVisible |
3909 | 3574 |
|holder| |
3575 |
||
3576 |
(holder := builder bindingAt:#systemBrowserItemVisible) isNil ifTrue:[ |
|
12335 | 3577 |
builder |
3578 |
aspectAt:#systemBrowserItemVisible |
|
3579 |
put:(holder := UserPreferences current useNewSystemBrowser not asValue). |
|
3909 | 3580 |
]. |
3581 |
^ holder |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3582 |
! |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3583 |
|
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3584 |
tabList |
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3585 |
^ resources array:#('Transcript' 'Errors'). |
8575
00d0548d17c4
webDocumentsItemShownInHelpMenu
Claus Gittinger <cg@exept.de>
parents:
8423
diff
changeset
|
3586 |
! |
00d0548d17c4
webDocumentsItemShownInHelpMenu
Claus Gittinger <cg@exept.de>
parents:
8423
diff
changeset
|
3587 |
|
00d0548d17c4
webDocumentsItemShownInHelpMenu
Claus Gittinger <cg@exept.de>
parents:
8423
diff
changeset
|
3588 |
webDocumentsItemShownInHelpMenu |
00d0548d17c4
webDocumentsItemShownInHelpMenu
Claus Gittinger <cg@exept.de>
parents:
8423
diff
changeset
|
3589 |
^ false |
1544 | 3590 |
! ! |
3591 |
||
3592 |
!NewLauncher methodsFor:'change & update'! |
|
3593 |
||
3594 |
update:something with:aParameter from:changedObject |
|
3595 |
"care for project changes & update my infoView" |
|
3596 |
||
12838 | 3597 |
((something == #currentProject) |
3598 |
or:[ (changedObject == Project) |
|
3599 |
or:[ (something == #finishedSnapshot)]]) ifTrue: [self updateInfo]. |
|
3600 |
||
3601 |
||
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3602 |
changedObject == self selectedTabHolder ifTrue: [ |
12838 | 3603 |
changedObject value == 1 ifTrue:[ |
3604 |
self noteBookCanvasHolder value:self transcriptView. |
|
3605 |
^ self. |
|
3606 |
]. |
|
3607 |
changedObject value == 2 ifTrue:[ |
|
3608 |
self noteBookCanvasHolder value:self errorListCanvas. |
|
3609 |
^ self. |
|
3610 |
]. |
|
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
3611 |
]. |
6167 | 3612 |
super update:something with:aParameter from:changedObject. |
1544 | 3613 |
! |
3614 |
||
3615 |
updateInfo |
|
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3616 |
"update the infoLabel (at the bottom) from the current project" |
1544 | 3617 |
|
7073 | 3618 |
|project projectName projectDir packageName packageNameOrNil defNameSpace projectInfo |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3619 |
cvsRepository storeDB image bindings makeInfoString svnWorkDirBaseName| |
7073 | 3620 |
|
3621 |
(Project notNil and:[(project := Project current) notNil]) ifTrue:[ |
|
12745 | 3622 |
projectName := project name. |
3623 |
projectDir := project directory. |
|
3624 |
packageName := packageNameOrNil := project package. |
|
3625 |
defNameSpace := project defaultNameSpace. |
|
3626 |
packageNameOrNil = PackageId noProjectID ifTrue:[ |
|
3627 |
packageNameOrNil := nil |
|
3628 |
]. |
|
1544 | 3629 |
]. |
3630 |
defNameSpace isNil ifTrue:[ |
|
12745 | 3631 |
defNameSpace := Smalltalk. |
1544 | 3632 |
]. |
6998 | 3633 |
image := ((ObjectMemory imageName ? 'none') asFilename baseName). |
3634 |
||
3635 |
SourceCodeManager notNil ifTrue:[ |
|
12745 | 3636 |
SourceCodeManager isCVS ifTrue:[ |
3637 |
cvsRepository := SourceCodeManager repositoryName. |
|
3638 |
(cvsRepository notNil) ifTrue:[ |
|
3639 |
cvsRepository := cvsRepository withoutPrefix:':pserver:'. |
|
3640 |
]. |
|
3641 |
] ifFalse:[ |
|
3642 |
SourceCodeManager isStore ifTrue:[ |
|
3643 |
storeDB := SourceCodeManager hostAndDBName |
|
3644 |
] |
|
3645 |
] |
|
6998 | 3646 |
]. |
1544 | 3647 |
|
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3648 |
makeInfoString := [:title :value | |
12745 | 3649 |
(resources string:title) allBold |
3650 |
,': ' |
|
3651 |
,(value colorizeAllWith:(Color blue darkened)) |
|
3652 |
,' ' |
|
3653 |
]. |
|
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3654 |
|
7072 | 3655 |
bindings := Dictionary new. |
7073 | 3656 |
packageName isNil ifTrue:[ |
12745 | 3657 |
bindings at:'PACKAGE' put:''. |
7073 | 3658 |
] ifFalse:[ |
12745 | 3659 |
bindings at:'PACKAGE' put:(makeInfoString value:'Pkg' value:packageName). |
7073 | 3660 |
]. |
3661 |
packageNameOrNil isNil ifTrue:[ |
|
12745 | 3662 |
bindings at:'PACKAGEOREMPTY' put:''. |
7073 | 3663 |
] ifFalse:[ |
12745 | 3664 |
bindings at:'PACKAGEOREMPTY' put:(makeInfoString value:'Pkg' value:packageNameOrNil). |
7073 | 3665 |
]. |
7072 | 3666 |
|
3667 |
bindings |
|
12745 | 3668 |
at:'IMAGE' |
3669 |
put:(makeInfoString value:'Img' value:image). |
|
5622 | 3670 |
|
7072 | 3671 |
bindings |
12745 | 3672 |
at:'NS' put:( defNameSpace == Smalltalk |
3673 |
ifTrue:[ '' ] |
|
3674 |
ifFalse:[ '"',defNameSpace name,'" '] ). |
|
7072 | 3675 |
|
3676 |
bindings |
|
12745 | 3677 |
at:'PROJECTDIR' |
3678 |
put:(makeInfoString value:'Dir' value:(projectDir contractTo: 30)). |
|
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3679 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3680 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3681 |
cvsRepository isNil ifTrue:[ |
12745 | 3682 |
bindings at:'CVS' put:'' |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3683 |
] ifFalse:[ |
12745 | 3684 |
bindings at:'CVS' put:(makeInfoString value:'CVS' value:cvsRepository). |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3685 |
]. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3686 |
storeDB isNil ifTrue:[ |
12745 | 3687 |
bindings at:'DB' put:''. |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3688 |
] ifFalse:[ |
12745 | 3689 |
bindings at:'DB' put:(makeInfoString value:'DB' value:storeDB). |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3690 |
]. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3691 |
(cvsRepository isNil and:[storeDB isNil]) ifTrue:[ |
12745 | 3692 |
bindings at:'NOREPOSITORY' put:' >','No Repository'allBold,'< '. |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3693 |
] ifFalse:[ |
12745 | 3694 |
bindings at:'NOREPOSITORY' put:''. |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3695 |
]. |
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3696 |
|
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3697 |
(SVN::RepositoryManager notNil |
12335 | 3698 |
and:[ SVN::RepositoryManager isLoaded |
8789
5eed274a5806
info line stuff more flexible and merged in Jan's stuff
Claus Gittinger <cg@exept.de>
parents:
8770
diff
changeset
|
3699 |
and:[ SVN::RepositoryManager enabled ]]) |
12745 | 3700 |
ifTrue:[ |
3701 |
svnWorkDirBaseName := SVN::RepositoryManager current workingCopyBase asFilename baseName. |
|
3702 |
||
3703 |
bindings |
|
3704 |
at: 'SVN_WORKING_COPY' |
|
3705 |
put: (makeInfoString value:'SVN Work' value:svnWorkDirBaseName). |
|
3706 |
] ifFalse:[ |
|
3707 |
bindings |
|
3708 |
at: 'SVN_WORKING_COPY' |
|
3709 |
put: '' |
|
3710 |
]. |
|
7073 | 3711 |
|
3712 |
projectInfo := self infoLineTemplate bindWithArguments:bindings. |
|
6998 | 3713 |
self infoLabelHolder value:projectInfo. |
7072 | 3714 |
^projectInfo. |
1544 | 3715 |
! ! |
3716 |
||
3717 |
!NewLauncher methodsFor:'help'! |
|
3718 |
||
3719 |
defaultInfoLabel |
|
3720 |
||
3721 |
^self updateInfo |
|
3722 |
||
12085 | 3723 |
! |
3724 |
||
3725 |
flyByHelpTextForKey:aKey |
|
3726 |
|text| |
|
3727 |
||
3728 |
text := super flyByHelpTextForKey:aKey. |
|
3729 |
aKey == #fileSaveImage ifTrue:[ |
|
12335 | 3730 |
^ text bindWith:(ObjectMemory nameForSnapshot) |
12085 | 3731 |
]. |
3732 |
^ text |
|
1544 | 3733 |
! ! |
3734 |
||
2009 | 3735 |
!NewLauncher methodsFor:'menu configuration'! |
3736 |
||
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
3737 |
addMenuItem:newItem from:anApplicationClassWhichProvidesResourcesOrNil in:where position:positionSpecOrNilArg space:space |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3738 |
"adds a menu item; |
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3739 |
where == #menu - menu item is added at the end of the sub menu 'Tools', |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3740 |
where == #toolbar - menu item is added at the end of the tool bar, |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3741 |
where == #menu.<name> - menu item is added at the end of the sub menu named 'name', |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3742 |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3743 |
position may be one of: |
12335 | 3744 |
#(before <someItemPath>) |
3745 |
#(after <someItemPath>) |
|
3746 |
#( #first ) or #first |
|
3747 |
#( #last ) or #last or nil |
|
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3748 |
|
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3749 |
If space is true, some empty space is inserted. |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3750 |
This can be invoked by a classes #initialize method, to add an item |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3751 |
for itself to the toolbar or menu." |
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3752 |
|
12335 | 3753 |
|what menuPanel freeMenuIndex mainMenuPanel item subViews subMenuPath |
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
3754 |
rest subMenu subItem positionSpecOrNil itemNameOrNil before itemsOriginalLabel| |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
3755 |
|
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
3756 |
itemsOriginalLabel := newItem label. |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
3757 |
newItem findGuiResourcesIn:anApplicationClassWhichProvidesResourcesOrNil rememberResourcesIn:nil. |
4042
788da3a81cd5
dynamically added items must be translated also
Claus Gittinger <cg@exept.de>
parents:
3966
diff
changeset
|
3758 |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3759 |
positionSpecOrNil := positionSpecOrNilArg. |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3760 |
positionSpecOrNil isArray ifTrue:[ |
12335 | 3761 |
positionSpecOrNil size > 1 ifTrue:[ |
3762 |
itemNameOrNil := positionSpecOrNil at:2. |
|
3763 |
]. |
|
3764 |
positionSpecOrNil := positionSpecOrNil at:1. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3765 |
]. |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3766 |
before := (positionSpecOrNil == #first) or:[positionSpecOrNil == #before]. |
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3767 |
|
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3768 |
what := where. |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3769 |
(what isNil or:[what = 'toolbar']) ifTrue:[ |
12335 | 3770 |
menuPanel := builder namedComponents at:#menuToolbarView ifAbsent:nil. |
3771 |
menuPanel isNil ifTrue:[ |
|
3772 |
'NewLauncher [warning]: addUserTool failed - no menuPanel' infoPrintCR. |
|
3773 |
^ self |
|
3774 |
]. |
|
3775 |
"/ look if not already in the toolBar |
|
3776 |
(self findItem:newItem inMenuPanel:menuPanel) ~~ 0 ifTrue:[ |
|
3777 |
"item already exists - do nothing" |
|
3778 |
Transcript show:'NewLauncher: menu item already present:'; showCR:newItem nameKey. |
|
3779 |
^ self. |
|
3780 |
]. |
|
3781 |
||
3782 |
"/ ok, not there; search for the position to put the item |
|
3783 |
freeMenuIndex := 0. |
|
3784 |
itemNameOrNil notNil ifTrue:[ |
|
3785 |
freeMenuIndex := menuPanel findFirst: [:i| i nameKey = itemNameOrNil]. |
|
3786 |
freeMenuIndex == 0 ifTrue:[ |
|
3787 |
freeMenuIndex := menuPanel findFirst: [:i| i activeHelpKey = itemNameOrNil |
|
3788 |
or:[i label = itemNameOrNil]]. |
|
3789 |
] |
|
3790 |
]. |
|
3791 |
||
3792 |
freeMenuIndex == 0 ifTrue:[ |
|
3793 |
"item to insert relative to not found, insert at the begin or end" |
|
3794 |
freeMenuIndex := before ifTrue:[1] ifFalse:[menuPanel numberOfItems + 1]. |
|
3795 |
] ifFalse:[ |
|
3796 |
before ifFalse:[freeMenuIndex := freeMenuIndex +1]. |
|
3797 |
]. |
|
3798 |
||
3799 |
space ifTrue:[ |
|
3800 |
"want an empty entry before or after newItem" |
|
3801 |
(menuPanel createAtIndex:freeMenuIndex) menuItem:(MenuItem labeled:''). |
|
3802 |
before ifFalse:[ |
|
3803 |
freeMenuIndex := freeMenuIndex + 1. |
|
3804 |
]. |
|
3805 |
]. |
|
3806 |
||
3807 |
(menuPanel createAtIndex:freeMenuIndex) menuItem:newItem. |
|
3808 |
||
3809 |
UserAddedToolBarItems isNil ifTrue: [UserAddedToolBarItems := Dictionary new]. |
|
3810 |
UserAddedToolBarItems at:newItem put:(AddedToolInfo new |
|
3811 |
item:newItem; |
|
3812 |
originalLabel:itemsOriginalLabel; |
|
3813 |
resourceProvider:anApplicationClassWhichProvidesResourcesOrNil; |
|
3814 |
where:where; |
|
3815 |
positionSpec:positionSpecOrNilArg; |
|
3816 |
space:space; |
|
3817 |
before:before; |
|
3818 |
menuWithNewItem:menuPanel; |
|
3819 |
yourself) |
|
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3820 |
]. |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3821 |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3822 |
what isNil ifTrue:[ |
12335 | 3823 |
what := #menu |
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3824 |
]. |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3825 |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3826 |
(what includes:$.) ifTrue:[ |
12335 | 3827 |
subMenuPath := what asCollectionOfSubstringsSeparatedBy:$.. |
3828 |
what := subMenuPath at:1. |
|
3829 |
subMenuPath := subMenuPath copyFrom:2. |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3830 |
] ifFalse:[ |
12335 | 3831 |
subMenuPath := #('tools'). |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3832 |
]. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3833 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3834 |
what = 'menu' ifTrue:[ |
12335 | 3835 |
mainMenuPanel := self builder menuBar. |
3836 |
mainMenuPanel isNil ifTrue:[ |
|
3837 |
subViews := self builder window subViews. |
|
3838 |
subViews notNil ifTrue:[ |
|
3839 |
mainMenuPanel := subViews at:1 ifAbsent:nil. |
|
3840 |
] |
|
3841 |
]. |
|
3842 |
mainMenuPanel isNil ifTrue:[ |
|
3843 |
'NewLauncher [warning]: addUserTool failed - no mainMenu' infoPrintCR. |
|
3844 |
^ self |
|
3845 |
]. |
|
3846 |
||
3847 |
subMenuPath first isEmptyOrNil ifTrue:[ |
|
3848 |
"add to top menu" |
|
3849 |
menuPanel := mainMenuPanel. |
|
3850 |
] ifFalse:[ |
|
3851 |
"lookup sub menu" |
|
3852 |
item := mainMenuPanel itemAt:subMenuPath first. |
|
3853 |
item isNil ifTrue:[ |
|
3854 |
item := mainMenuPanel itemAt:'tools'. |
|
3855 |
item isNil ifTrue:[ |
|
3856 |
'NewLauncher [warning]: addUserTool failed - no tools menu' infoPrintCR. |
|
3857 |
^ self |
|
3858 |
]. |
|
3859 |
]. |
|
3860 |
rest := subMenuPath copyFrom:2. |
|
3861 |
menuPanel := subMenu := item submenu. |
|
3862 |
||
3863 |
rest do:[:pathComponent| |
|
3864 |
subMenu notNil ifTrue:[ |
|
3865 |
menuPanel := subMenu. |
|
3866 |
subItem := subMenu itemAt:pathComponent. |
|
3867 |
subItem isNil ifTrue:[ |
|
3868 |
subMenu := nil |
|
3869 |
] ifFalse:[ |
|
3870 |
subMenu := subItem submenu. |
|
3871 |
] |
|
3872 |
]. |
|
3873 |
]. |
|
3874 |
subMenu notNil ifTrue:[ |
|
3875 |
menuPanel := subMenu. |
|
3876 |
] |
|
3877 |
]. |
|
3878 |
||
3879 |
"/ look if not already in the panel |
|
3880 |
(self findItem:newItem inMenuPanel:menuPanel) ~~ 0 ifTrue:[ |
|
3881 |
"item already exists - do nothing" |
|
3882 |
Transcript show:'NewLauncher: menu item already present:'; showCR:newItem nameKey. |
|
3883 |
^ self. |
|
3884 |
]. |
|
3885 |
||
3886 |
"/ ok, search for the position to put the item |
|
3887 |
||
3888 |
freeMenuIndex := 0. |
|
3889 |
itemNameOrNil notNil ifTrue:[ |
|
3890 |
freeMenuIndex := menuPanel findFirst:[:i| i nameKey = itemNameOrNil]. |
|
3891 |
freeMenuIndex == 0 ifTrue:[ |
|
3892 |
freeMenuIndex := menuPanel findFirst:[:i| i itemValue = itemNameOrNil]. |
|
3893 |
freeMenuIndex == 0 ifTrue:[ |
|
3894 |
freeMenuIndex := menuPanel findFirst:[:i| i activeHelpKey = itemNameOrNil |
|
3895 |
or:[i label = itemNameOrNil]]. |
|
3896 |
] |
|
3897 |
] |
|
3898 |
]. |
|
3899 |
freeMenuIndex == 0 ifTrue:[ |
|
3900 |
freeMenuIndex := before ifTrue:[1] ifFalse:[menuPanel numberOfItems + 1]. |
|
3901 |
] ifFalse:[ |
|
3902 |
before ifFalse:[freeMenuIndex := freeMenuIndex +1]. |
|
3903 |
]. |
|
3904 |
space ifTrue:[ |
|
3905 |
"want a line before or after newItem" |
|
3906 |
(menuPanel createAtIndex:freeMenuIndex) menuItem:(MenuItem labeled: '-'). |
|
3907 |
before ifFalse:[ |
|
3908 |
freeMenuIndex := freeMenuIndex + 1. |
|
3909 |
]. |
|
3910 |
]. |
|
3911 |
||
3912 |
(menuPanel createAtIndex:freeMenuIndex) menuItem:newItem. |
|
3913 |
||
3914 |
UserAddedMenuItems isNil ifTrue: [UserAddedMenuItems := Dictionary new]. |
|
3915 |
UserAddedMenuItems at:newItem put:(AddedToolInfo new |
|
3916 |
item:newItem; |
|
3917 |
originalLabel:itemsOriginalLabel; |
|
3918 |
resourceProvider:anApplicationClassWhichProvidesResourcesOrNil; |
|
3919 |
where:where; |
|
3920 |
positionSpec:positionSpecOrNilArg; |
|
3921 |
space:space; |
|
3922 |
before:before; |
|
3923 |
menuWithNewItem:menuPanel; |
|
3924 |
yourself) |
|
2691
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3925 |
]. |
040f58fe3115
allow addUserTool-before some other item;
Claus Gittinger <cg@exept.de>
parents:
2680
diff
changeset
|
3926 |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3927 |
" |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3928 |
UserAddedToolBarItems := nil. |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3929 |
UserAddedMenuItems := nil. |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3930 |
NewLauncher open. |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3931 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3932 |
Transcript topView application |
12335 | 3933 |
addMenuItem:(MenuItem new |
3934 |
label: 'Foo'; |
|
3935 |
value: [Transcript showCR:'foo']; |
|
3936 |
isButton: false; |
|
3937 |
labelImage: nil; |
|
3938 |
nameKey: #foo) |
|
3939 |
in:'menu.' |
|
3940 |
position:#(last) |
|
3941 |
space:true. |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3942 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
3943 |
Transcript topView application |
12335 | 3944 |
addMenuItem:(MenuItem new |
3945 |
label: 'Foo'; |
|
3946 |
value: [Transcript showCR:'foo']; |
|
3947 |
isButton: false; |
|
3948 |
labelImage: nil; |
|
3949 |
nameKey: #foo) |
|
3950 |
in:#menu |
|
3951 |
position:#(before Workspace) |
|
3952 |
space:true. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3953 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3954 |
Transcript topView application |
12335 | 3955 |
addMenuItem:(MenuItem new |
3956 |
label: 'Bar'; |
|
3957 |
value: [Transcript showCR:'bar']; |
|
3958 |
isButton: false; |
|
3959 |
labelImage: nil; |
|
3960 |
nameKey: #bar) |
|
3961 |
in:#menu |
|
3962 |
position:#(after foo) |
|
3963 |
space:true. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3964 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3965 |
Transcript topView application |
12335 | 3966 |
addMenuItem:(MenuItem new |
3967 |
label: 'Baz'; |
|
3968 |
value: [Transcript showCR:'baz']; |
|
3969 |
isButton: false; |
|
3970 |
labelImage: nil; |
|
3971 |
nameKey: #baz) |
|
3972 |
in:#menu |
|
3973 |
position:#(before bar) |
|
3974 |
space:false. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3975 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3976 |
Transcript topView application |
12335 | 3977 |
addMenuItem:(MenuItem new |
3978 |
label: 'Baz2'; |
|
3979 |
value: [Transcript showCR:'baz2']; |
|
3980 |
isButton: false; |
|
3981 |
labelImage: nil; |
|
3982 |
nameKey: #baz2) |
|
3983 |
in:#menu |
|
3984 |
position:#(after bar) |
|
3985 |
space:false. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3986 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3987 |
Transcript topView application |
12335 | 3988 |
addMenuItem:(MenuItem new |
3989 |
label: 'Foo2'; |
|
3990 |
value: [Transcript showCR:'foo2']; |
|
3991 |
isButton: false; |
|
3992 |
labelImage: nil; |
|
3993 |
nameKey: #foo2) |
|
3994 |
in:'menu.classes' |
|
3995 |
position:#last |
|
3996 |
space:false. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3997 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
3998 |
Transcript topView application |
12335 | 3999 |
addMenuItem:(MenuItem new |
4000 |
label: 'Foo3'; |
|
4001 |
value: [Transcript showCR:'foo3']; |
|
4002 |
isButton: false; |
|
4003 |
labelImage: nil; |
|
4004 |
nameKey: #foo3) |
|
4005 |
in:'menu.classes.special' |
|
4006 |
position:#first |
|
4007 |
space:true. |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4008 |
" |
10114
c02904895717
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10032
diff
changeset
|
4009 |
|
10601
801ca2173f82
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10600
diff
changeset
|
4010 |
"Modified: / 19-08-2011 / 12:17:30 / cg" |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4011 |
! |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4012 |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4013 |
addMenuItem:newItem in:where position:positionSpecOrNilArg space:space |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4014 |
"adds a menu item; |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4015 |
where == #menu - menu item is added at the end of the sub menu 'Tools', |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4016 |
where == #toolbar - menu item is added at the end of the tool bar, |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4017 |
where == #menu.<name> - menu item is added at the end of the sub menu named 'name', |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4018 |
|
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4019 |
position may be one of: |
12335 | 4020 |
#(before <someItemPath>) |
4021 |
#(after <someItemPath>) |
|
4022 |
#( #first ) or #first |
|
4023 |
#( #last ) or #last or nil |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4024 |
|
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4025 |
If space is true, some empty space is inserted. |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4026 |
This can be invoked by a classes #initialize method, to add an item |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4027 |
for itself to the toolbar or menu." |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4028 |
|
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4029 |
^ self |
12335 | 4030 |
addMenuItem:newItem from:self in:where position:positionSpecOrNilArg space:space |
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4031 |
! |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4032 |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4033 |
findItem:menuItem inMenuPanel:menuPanel |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4034 |
"find a menu item in the menupanel. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4035 |
Return the index of the item in the panel or 0 |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4036 |
if not found" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4037 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4038 |
|idx| |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4039 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4040 |
idx := 0. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4041 |
menuItem nameKey notNil ifTrue:[ |
12335 | 4042 |
idx := menuPanel findFirst: [:i| i nameKey = menuItem nameKey]. |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4043 |
]. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4044 |
idx == 0 ifTrue:[ |
12335 | 4045 |
idx := menuPanel findFirst: [:i| (menuItem activeHelpKey notNil |
4046 |
and:[i activeHelpKey = menuItem activeHelpKey]) |
|
4047 |
or:[menuItem label notNil |
|
4048 |
and:[i label = menuItem label]]] |
|
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4049 |
]. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4050 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4051 |
^ idx |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4052 |
! |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4053 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4054 |
removeUserTool:toolNameOrMenuItem |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4055 |
"removes a menu item labeled toolName |
12335 | 4056 |
This can be invoked by a classes #deinitialize method, |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4057 |
to remove its item from the toolbar or menu. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4058 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4059 |
self class removeUserTool:toolNameOrMenuItem |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4060 |
! |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4061 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4062 |
removeUserTool:toolNameOrMenuItem from:addedToolsCollection |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4063 |
"removes a menu item labeled toolName |
12335 | 4064 |
This can be invoked by a classes #deinitialize method, |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4065 |
to remove its item from the toolbar or menu. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4066 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4067 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4068 |
self class removeUserTool:toolNameOrMenuItem from:addedToolsCollection |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4069 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4070 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4071 |
Transcript topView application |
12335 | 4072 |
removeUserTool:'Bar' |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4073 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4074 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4075 |
Transcript topView application |
12335 | 4076 |
removeUserTool:'Foo' |
4690
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4077 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4078 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4079 |
! |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4080 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4081 |
userAddedMenuItems |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4082 |
"return a dictionary of user-added menu item infos. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4083 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4084 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4085 |
^ UserAddedMenuItems ? #() |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4086 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4087 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4088 |
! |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4089 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4090 |
userAddedToolBarItems |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4091 |
"return a dictionary of user-added toolBar item infos. |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4092 |
" |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4093 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4094 |
^ UserAddedToolBarItems ? #() |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4095 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4096 |
|
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4097 |
! ! |
874d509e9c4d
Allow user addes tools in main toolbar.
Stefan Vogel <sv@exept.de>
parents:
4630
diff
changeset
|
4098 |
|
4865 | 4099 |
!NewLauncher methodsFor:'menus-dynamic'! |
3894
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4100 |
|
11486 | 4101 |
allWindowsMenu |
4102 |
"returns a subMenu with one oeprations-submenu entry per open window" |
|
4103 |
||
11525 | 4104 |
|menu allViewsAndLabels| |
11486 | 4105 |
|
4106 |
menu := Menu new receiver: self. |
|
11525 | 4107 |
allViewsAndLabels := self allTopViewsAndLabelsSortedFilteringWindowGroups:nil. |
4108 |
allViewsAndLabels do:[:assoc | |
|
12501 | 4109 |
|view label submenu likeThis info item| |
4110 |
||
4111 |
view := assoc value. |
|
4112 |
label := assoc key. |
|
4113 |
||
4114 |
submenu := Menu new. |
|
4115 |
submenu addItem:(MenuItem new |
|
4116 |
label: 'Raise Deiconified'; |
|
4117 |
itemValue: [view raiseDeiconified; setForegroundWindow]; |
|
4118 |
translateLabel: true). |
|
4119 |
submenu addItem:(item := MenuItem new |
|
4120 |
label: 'Iconify'; |
|
4121 |
itemValue: [view collapse]; |
|
4122 |
translateLabel: true). |
|
4123 |
view topView isCollapsed ifTrue:[ |
|
4124 |
item disable |
|
4125 |
]. |
|
4126 |
submenu addItem:(MenuItem new |
|
4127 |
label: 'Migrate...'; |
|
4128 |
itemValue: [self migrateWindow:view]; |
|
4129 |
enabled:(view windowGroup isModal not); |
|
4130 |
translateLabel: true). |
|
12569 | 4131 |
submenu addItem:(MenuItem new |
4132 |
label: 'Bring onto Screen...'; |
|
4133 |
itemValue: [self bringWindowOntoScreen:view]; |
|
4134 |
translateLabel: true). |
|
12501 | 4135 |
|
4136 |
submenu addSeparator. |
|
4137 |
submenu addItem:(MenuItem new |
|
4138 |
label: 'Hardcopy'; |
|
4139 |
itemValue: [self hardcopyOfView:view]; |
|
4140 |
translateLabel: true). |
|
4141 |
submenu addItem:(MenuItem new |
|
4142 |
label: 'Inspect View'; |
|
4143 |
itemValue: [view inspect]; |
|
4144 |
translateLabel: true). |
|
4145 |
submenu addItem:(MenuItem new |
|
4146 |
label: 'Inspect Application'; |
|
4147 |
itemValue: [view application inspect]; |
|
4148 |
enabled:(view application notNil); |
|
4149 |
translateLabel: true). |
|
4150 |
submenu addSeparator. |
|
4151 |
submenu addItem:(MenuItem new |
|
4152 |
label: 'Browse View Class'; |
|
4153 |
itemValue: [view class browse]; |
|
4154 |
translateLabel: true). |
|
4155 |
submenu addItem:(MenuItem new |
|
4156 |
label: 'Browse Application Class'; |
|
4157 |
itemValue: [view application class browse]; |
|
4158 |
enabled:(view application notNil); |
|
4159 |
translateLabel: true). |
|
4160 |
submenu addItem:(MenuItem new |
|
4161 |
label: 'Debug Application'; |
|
4162 |
itemValue: [Debugger openOn:view windowGroup process]; |
|
4163 |
translateLabel: true). |
|
4164 |
||
4165 |
submenu addSeparator. |
|
4166 |
submenu addItem:(MenuItem new |
|
4167 |
label: 'Close'; |
|
4168 |
itemValue: [view destroy]; |
|
4169 |
translateLabel: true). |
|
4170 |
||
4171 |
likeThis := |
|
4172 |
allViewsAndLabels |
|
4173 |
select:[:assoc | |
|
4174 |
|otherView| |
|
4175 |
||
4176 |
otherView := assoc value. |
|
4177 |
otherView class == view class |
|
4178 |
and:[ otherView application class == view application class] |
|
4179 |
] |
|
4180 |
thenCollect:[:assoc | assoc value ]. |
|
4181 |
||
4182 |
likeThis size > 1 ifTrue:[ |
|
4183 |
info := view application notNil |
|
4184 |
ifTrue:[ view application class name ] |
|
4185 |
ifFalse:[ view class name ]. |
|
4186 |
info := ' ("',info,'")'. |
|
4187 |
] ifFalse:[ |
|
4188 |
info := '' |
|
4189 |
]. |
|
4190 |
||
4191 |
submenu addItem:(MenuItem new |
|
12719 | 4192 |
label: ('Close All like This%1' bindWith:info); |
12501 | 4193 |
itemValue: [likeThis do:[:eachView | eachView destroy]]; |
4194 |
translateLabel: true; |
|
4195 |
enabled:(likeThis size > 1)). |
|
4196 |
||
12648 | 4197 |
submenu addItem:(MenuItem new |
12719 | 4198 |
label: ('Iconify All like This%1' bindWith:info); |
12648 | 4199 |
itemValue: [likeThis do:[:eachView | eachView collapse]]; |
4200 |
translateLabel: true; |
|
4201 |
enabled:(likeThis size > 1)). |
|
4202 |
||
4203 |
submenu addItem:(MenuItem new |
|
12719 | 4204 |
label: ('Deiconify All like This%1' bindWith:info); |
12648 | 4205 |
itemValue: [likeThis do:[:eachView | eachView raiseDeiconified]]; |
4206 |
translateLabel: true; |
|
4207 |
enabled:(likeThis size > 1)). |
|
4208 |
||
4209 |
||
12501 | 4210 |
menu addItem:(MenuItem new |
4211 |
label: label; |
|
4212 |
submenu: submenu; |
|
4213 |
itemValue: [view raiseDeiconified; setForegroundWindow]; |
|
4214 |
translateLabel: false). |
|
11486 | 4215 |
]. |
4216 |
||
4217 |
menu findGuiResourcesIn:self. |
|
4218 |
^menu |
|
4219 |
||
4220 |
"Created: / 27-04-2012 / 13:20:06 / cg" |
|
4221 |
! |
|
4222 |
||
3894
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4223 |
menuChangeHistory |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4224 |
"returns a sub menu on the last changes" |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4225 |
|
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4226 |
|changeSet menu changeHistory| |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4227 |
|
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4228 |
changeSet := ChangeSet current. |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4229 |
changeHistory := OrderedCollection new. |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4230 |
|
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4231 |
[:exit | |
12509 | 4232 |
changeSet reverseDo:[:change | |
4233 |
change isMethodChange ifTrue:[ |
|
4234 |
change changeClass notNil ifTrue:[ |
|
4235 |
(changeHistory contains:[:chg | chg className = change className |
|
4236 |
and:[chg selector = change selector]]) |
|
4237 |
ifFalse:[ |
|
4238 |
changeHistory add:change. |
|
4239 |
changeHistory size > 15 ifTrue:[ |
|
4240 |
exit value:nil |
|
4241 |
] |
|
4242 |
]. |
|
4243 |
]. |
|
4244 |
]. |
|
4245 |
] |
|
3894
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4246 |
] valueWithExit. |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4247 |
|
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4248 |
menu := Menu new receiver: self. |
12510 | 4249 |
|
12522 | 4250 |
changeHistory isEmpty ifTrue:[ |
4251 |
menu addItem:(MenuItem new |
|
12695 | 4252 |
label:'>> no uncommitted changes <<'; |
12522 | 4253 |
enabled:false). |
4254 |
] ifFalse:[ |
|
12510 | 4255 |
menu addItemGroup: |
4256 |
(changeHistory collect:[:change| |
|
4257 |
MenuItem new |
|
4258 |
translateLabel: false; |
|
4259 |
label: (change className , ' ' , (change selector ? '???')); |
|
4260 |
value: [UserPreferences systemBrowserClass openInClass:change changeClass selector:change selector]; |
|
4261 |
activeHelpKey: #classBrowserOnChangedMethod |
|
4262 |
]). |
|
4263 |
]. |
|
4264 |
||
12335 | 4265 |
menu addItemGroup: |
12509 | 4266 |
{ |
4267 |
MenuItem new |
|
4268 |
translateLabel: false; |
|
4269 |
label: 'Open Changes Browser on File...'; |
|
4270 |
value: |
|
4271 |
[ |
|
4272 |
|file| |
|
4273 |
||
4274 |
file := Dialog requestFileName:'Change or Source File' default:ObjectMemory nameForChanges. |
|
4275 |
file notEmptyOrNil ifTrue:[ |
|
4276 |
UserPreferences current changesBrowserClass openOn:file |
|
4277 |
] |
|
4278 |
]; |
|
4279 |
activeHelpKey: #changeBrowserOnFile |
|
4280 |
}. |
|
4281 |
||
3894
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4282 |
menu findGuiResourcesIn:self. |
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4283 |
^menu |
9699 | 4284 |
|
4285 |
"Modified: / 25-01-2011 / 16:45:51 / cg" |
|
3894
1ad271f98c83
quick browsing of last few changes
Claus Gittinger <cg@exept.de>
parents:
3885
diff
changeset
|
4286 |
! |
1544 | 4287 |
|
4288 |
menuClassHistory |
|
4289 |
"returns a sub menu on the history of the classes" |
|
4290 |
||
13013 | 4291 |
^ self menuClassHistoryFor:(UserPreferences systemBrowserClass) |
5282
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4292 |
! |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4293 |
|
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4294 |
menuClassHistoryFor:whichBrowserClass |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4295 |
"returns a sub menu on the history of the classes" |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4296 |
|
3133
517dcb6a296b
history stuff refactored (common between old and new browser)
Claus Gittinger <cg@exept.de>
parents:
3122
diff
changeset
|
4297 |
|menu classHistory| |
517dcb6a296b
history stuff refactored (common between old and new browser)
Claus Gittinger <cg@exept.de>
parents:
3122
diff
changeset
|
4298 |
|
5282
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4299 |
whichBrowserClass checkClassHistory. |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4300 |
|
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4301 |
classHistory := whichBrowserClass classHistory. |
3883 | 4302 |
classHistory isEmpty ifTrue:[ |
12335 | 4303 |
^ nil |
3883 | 4304 |
]. |
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
4305 |
|
1544 | 4306 |
menu := Menu new receiver: self. |
12335 | 4307 |
menu addItemGroup: |
4308 |
(classHistory collect:[:histEntry| |
|
4309 |
MenuItem new |
|
4310 |
translateLabel: false; |
|
4311 |
label: (histEntry className); |
|
4312 |
itemValue: [whichBrowserClass openInClass:histEntry theClass selector:histEntry selector]; |
|
4313 |
activeHelpKey: #classesSystemBrowserOnClass |
|
4314 |
] |
|
1544 | 4315 |
). |
12335 | 4316 |
menu addItem: (MenuItem new |
4317 |
label: 'Clear History'; |
|
4318 |
itemValue: [classHistory removeAll]; |
|
4319 |
translateLabel: true; |
|
4320 |
enabled:(classHistory notEmpty); |
|
4321 |
activeHelpKey: #historyEmptyMenu). |
|
3883 | 4322 |
|
1652
c12aa281d822
also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents:
1651
diff
changeset
|
4323 |
menu findGuiResourcesIn:self. |
5282
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4324 |
^ menu |
9699 | 4325 |
|
11785 | 4326 |
"Modified: / 09-09-2012 / 13:09:49 / cg" |
5282
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4327 |
! |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4328 |
|
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4329 |
menuClassHistoryNew |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4330 |
"returns a sub menu on the history of the classes" |
b0c82c2ef384
care for new vs. old browser in launchers class-history-menu
Claus Gittinger <cg@exept.de>
parents:
5239
diff
changeset
|
4331 |
|
5597 | 4332 |
^ self menuClassHistoryFor:(Tools::NewSystemBrowser ? NewSystemBrowser) |
3878 | 4333 |
! |
4334 |
||
4335 |
menuFileHistory |
|
4336 |
"returns a subMenu on the history of the filebrowsers directories" |
|
4337 |
||
4338 |
|menu dirHistory| |
|
4339 |
||
3966 | 4340 |
dirHistory := AbstractFileBrowser directoryHistory. |
3883 | 4341 |
dirHistory isEmpty ifTrue:[^nil]. |
3878 | 4342 |
|
4343 |
menu := Menu new receiver: self. |
|
12335 | 4344 |
menu addItemGroup: |
4345 |
(dirHistory collect:[:item| |
|
4346 |
|dirNameString| |
|
4347 |
dirNameString := item path. |
|
4348 |
MenuItem new |
|
4349 |
translateLabel: false; |
|
4350 |
label: dirNameString; |
|
4351 |
itemValue: [UserPreferences fileBrowserClass openOn:dirNameString]; |
|
4352 |
activeHelpKey: #FileBrowserOnDirectory |
|
4353 |
] |
|
3878 | 4354 |
). |
12335 | 4355 |
menu addItem: (MenuItem new |
4356 |
label: 'Clear History'; |
|
4357 |
itemValue: [dirHistory removeAll]; |
|
4358 |
translateLabel: true; |
|
4359 |
enabled:(dirHistory notEmpty); |
|
4360 |
activeHelpKey: #historyEmptyMenu). |
|
3883 | 4361 |
|
3878 | 4362 |
menu findGuiResourcesIn:self. |
4363 |
^menu |
|
9699 | 4364 |
|
11785 | 4365 |
"Modified: / 09-09-2012 / 13:09:58 / cg" |
7508 | 4366 |
! |
4367 |
||
9221
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4368 |
recentlyOpenedApplicationsMenu |
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4369 |
|menu appHistory| |
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4370 |
|
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4371 |
appHistory := ApplicationModel recentlyOpenedApplications. |
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4372 |
appHistory isEmpty ifTrue:[^nil]. |
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4373 |
|
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4374 |
menu := Menu new receiver: self. |
12335 | 4375 |
menu addItemGroup: |
4376 |
(appHistory collect:[:appClassName| |
|
4377 |
|item appClass label| |
|
4378 |
||
4379 |
appClass := Smalltalk classNamed:appClassName. |
|
4380 |
appClass isNil ifTrue:[ |
|
4381 |
label := appClassName. |
|
4382 |
] ifFalse:[ |
|
4383 |
label := appClass nameWithoutPrefix |
|
4384 |
]. |
|
4385 |
item := MenuItem new |
|
4386 |
label: label; |
|
4387 |
itemValue: #openApplication: argument: appClassName. |
|
4388 |
||
4389 |
appClass isNil ifTrue:[ |
|
4390 |
item enabled:false. |
|
4391 |
item label:(LabelAndIcon icon:(ToolbarIconLibrary erase16x16Icon2) string:appClassName) |
|
4392 |
]. |
|
4393 |
item |
|
4394 |
] |
|
9221
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4395 |
). |
12335 | 4396 |
menu addItem: (MenuItem new |
4397 |
label: 'Clear History'; |
|
4398 |
itemValue: [ ApplicationModel forgetRecentlyOpenedApplications ]; |
|
4399 |
translateLabel: true; |
|
4400 |
enabled:(appHistory notEmpty); |
|
4401 |
activeHelpKey: #historyEmptyMenu). |
|
9221
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4402 |
|
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4403 |
menu findGuiResourcesIn:self. |
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4404 |
^menu |
11785 | 4405 |
|
4406 |
"Modified: / 09-09-2012 / 13:10:12 / cg" |
|
9221
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4407 |
! |
468d20a04f3f
added: #recentlyOpenedApplicationsMenu
Claus Gittinger <cg@exept.de>
parents:
9170
diff
changeset
|
4408 |
|
7508 | 4409 |
startBrowserOnSmallTeamChangesMenu |
4410 |
"returns a subMenu on the history of the filebrowsers directories" |
|
4411 |
||
4412 |
<resource: #programMenu > |
|
4413 |
||
4414 |
^ [ |
|
12335 | 4415 |
|m anyItem hosts| |
4416 |
||
4417 |
m := Menu new. |
|
4418 |
||
4419 |
hosts := SmallTeam hostsWithChanges asSortedCollection. |
|
4420 |
hosts do:[:eachHost | |
|
4421 |
|item| |
|
4422 |
||
4423 |
item := MenuItem label:eachHost. |
|
4424 |
item itemValue:#'startBrowserOnChangesOnSmallTeamHost:' argument:eachHost. |
|
4425 |
m addItem:item. |
|
4426 |
anyItem := true. |
|
4427 |
]. |
|
4428 |
hosts isEmptyOrNil ifTrue:[ nil ] ifFalse:[ m ] |
|
7508 | 4429 |
]. |
4430 |
||
4431 |
"Created: / 12-11-2006 / 16:06:06 / cg" |
|
1544 | 4432 |
! ! |
4433 |
||
4859 | 4434 |
!NewLauncher methodsFor:'private-settings callBacks'! |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4435 |
|
1603
6a49f338be82
need compatible reopen protocol.
Claus Gittinger <cg@exept.de>
parents:
1600
diff
changeset
|
4436 |
reopenLauncher |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4437 |
"reopen a new launcher. |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4438 |
for now (since style & language settings currently do |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4439 |
not affect living views ...) |
1782
4b1d6025c814
renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents:
1780
diff
changeset
|
4440 |
WARNING: bad design: Message known in LauncherDialogs" |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4441 |
|
2005
c227faa4616b
more refactoring (NewLauncher <-> Launcher)
Claus Gittinger <cg@exept.de>
parents:
2003
diff
changeset
|
4442 |
|newLauncher wasShowingHelp| |
1800
fd190328277d
pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents:
1794
diff
changeset
|
4443 |
|
fd190328277d
pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents:
1794
diff
changeset
|
4444 |
wasShowingHelp := self showingHelp. |
2005
c227faa4616b
more refactoring (NewLauncher <-> Launcher)
Claus Gittinger <cg@exept.de>
parents:
2003
diff
changeset
|
4445 |
newLauncher := super reopenLauncher. |
1800
fd190328277d
pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents:
1794
diff
changeset
|
4446 |
newLauncher showingHelp:wasShowingHelp. |
2005
c227faa4616b
more refactoring (NewLauncher <-> Launcher)
Claus Gittinger <cg@exept.de>
parents:
2003
diff
changeset
|
4447 |
^ newLauncher |
1600
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4448 |
! ! |
1d8cd3ef47d0
use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents:
1593
diff
changeset
|
4449 |
|
1544 | 4450 |
!NewLauncher methodsFor:'queries'! |
4451 |
||
4452 |
preferredExtent |
|
4453 |
||
10845 | 4454 |
^ super preferredExtent min: Screen current extent // (2.5 @ 3.5) |
4225
156064c1aa38
new settings added - useNewSettingsDialog have to set to treu for use
penk
parents:
4221
diff
changeset
|
4455 |
! |
156064c1aa38
new settings added - useNewSettingsDialog have to set to treu for use
penk
parents:
4221
diff
changeset
|
4456 |
|
4389 | 4457 |
useNewSettingsApplication |
5084 | 4458 |
^ UserPreferences current useNewSettingsApplication. |
4225
156064c1aa38
new settings added - useNewSettingsDialog have to set to treu for use
penk
parents:
4221
diff
changeset
|
4459 |
! |
156064c1aa38
new settings added - useNewSettingsDialog have to set to treu for use
penk
parents:
4221
diff
changeset
|
4460 |
|
4389 | 4461 |
useOldSettingsApplication |
4462 |
||
4463 |
^ self useNewSettingsApplication not |
|
9329
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
4464 |
! |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
4465 |
|
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
4466 |
windowMigrationFunctionsAreShown |
0d3599eccc38
refactored for better reusability (menu configuration)
Claus Gittinger <cg@exept.de>
parents:
9254
diff
changeset
|
4467 |
^ XWorkstation notNil |
1544 | 4468 |
! ! |
4469 |
||
4863 | 4470 |
!NewLauncher methodsFor:'startup & release'! |
1544 | 4471 |
|
4472 |
allButOpenInterface:anInterface |
|
4473 |
"sent by my superclass to open up my interface" |
|
4474 |
||
4475 |
"/ if there is already a transcript on my device, |
|
4476 |
"/ I am a slave launcher with limited functionality. |
|
4477 |
||
4478 |
Transcript notNil ifTrue:[ |
|
12838 | 4479 |
Transcript ~~ Stderr ifTrue:[ |
4480 |
isMainLauncher := (Transcript graphicsDevice == device). |
|
4481 |
self enableDangerousMenuItemsInRemoteLauncher value: isMainLauncher. |
|
4482 |
] ifFalse:[ |
|
4483 |
isMainLauncher := true |
|
4484 |
] |
|
1544 | 4485 |
] ifFalse:[ |
12838 | 4486 |
isMainLauncher := true |
1544 | 4487 |
]. |
4488 |
||
4489 |
super allButOpenInterface:anInterface. |
|
4490 |
||
4491 |
self setupTranscript; updateInfo. |
|
4492 |
Project notNil ifTrue: [Project addDependent:self]. |
|
12838 | 4493 |
ObjectMemory addDependent:self. |
1544 | 4494 |
self class openLaunchers add: self. |
4495 |
^ builder |
|
4496 |
||
4497 |
"Created: / 5.2.1998 / 19:45:07 / cg" |
|
1710 | 4498 |
"Modified: / 20.6.1998 / 14:53:58 / cg" |
1544 | 4499 |
! |
4500 |
||
2027 | 4501 |
postBuildWith:aBuilder |
4502 |
"setup my preferred size" |
|
4503 |
||
3284 | 4504 |
|win hMin| |
4505 |
||
2027 | 4506 |
super postBuildWith:aBuilder. |
3284 | 4507 |
win := aBuilder window . |
4508 |
win extent:(self preferredExtent). |
|
4509 |
||
7514 | 4510 |
"/ |
3284 | 4511 |
"/ TODO: somehow find out how much decoration is added by the window manager ... |
4512 |
"/ |
|
7514 | 4513 |
|
4514 |
hMin := (aBuilder window margin * 2) |
|
12335 | 4515 |
+ aBuilder menuBar preferredHeight |
4516 |
+ (aBuilder componentAt:#infoBarSubSpec) height |
|
4517 |
+ (aBuilder componentAt:#menuToolbarView) preferredHeight |
|
4518 |
-3 "+ 8". "/ I guess this is menuToolbar level abs + textCollector level abs... |
|
3284 | 4519 |
|
4520 |
win minExtent:( win minExtent x @ hMin ). |
|
7514 | 4521 |
|
7516 | 4522 |
"Modified: / 16-11-2006 / 14:23:17 / cg" |
2027 | 4523 |
! |
4524 |
||
1544 | 4525 |
postOpenWith:aBuilder |
11526
46904b48f3a7
comment/format in: #postOpenWith:
Stefan Vogel <sv@exept.de>
parents:
11525
diff
changeset
|
4526 |
|toolInfo addMenuForToolInfo| |
2148 | 4527 |
|
4528 |
"/ increase my priority" |
|
2344 | 4529 |
"/ self windowGroup process priority:(Processor userSchedulingPriority + 1). |
4530 |
Processor activeProcess priority:(Processor userSchedulingPriority + 1). |
|
2148 | 4531 |
|
12335 | 4532 |
addMenuForToolInfo := |
4533 |
[:eachToolInfo| |
|
4534 |
|menuItem originalLabel| |
|
4535 |
||
4536 |
menuItem := eachToolInfo item. |
|
4537 |
originalLabel := eachToolInfo originalLabel. |
|
4538 |
originalLabel notNil ifTrue:[ menuItem label:originalLabel ]. |
|
4539 |
self |
|
4540 |
addMenuItem:menuItem |
|
4541 |
from:(eachToolInfo resourceProvider) |
|
4542 |
in:eachToolInfo where |
|
4543 |
position:eachToolInfo positionSpec |
|
4544 |
space:eachToolInfo space |
|
4545 |
]. |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4546 |
|
2148 | 4547 |
"/ add user tools |
2721
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4548 |
UserAddedToolBarItems notNil ifTrue:[ |
12335 | 4549 |
toolInfo := UserAddedToolBarItems. |
4550 |
[ |
|
4551 |
UserAddedToolBarItems := nil. |
|
4552 |
toolInfo do:addMenuForToolInfo. |
|
4553 |
] ifCurtailed:[ |
|
4554 |
UserAddedToolBarItems := toolInfo |
|
4555 |
] |
|
2721
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4556 |
]. |
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4557 |
UserAddedMenuItems notNil ifTrue:[ |
12335 | 4558 |
toolInfo := UserAddedMenuItems. |
4559 |
[ |
|
4560 |
UserAddedMenuItems := nil. |
|
4561 |
toolInfo do:addMenuForToolInfo. |
|
4562 |
] ifCurtailed:[ |
|
4563 |
UserAddedMenuItems := toolInfo |
|
4564 |
] |
|
1767 | 4565 |
]. |
2148 | 4566 |
|
1544 | 4567 |
super postOpenWith:aBuilder. |
2148 | 4568 |
|
2315 | 4569 |
"/ set the time-block |
2384
4901c54efb0a
Show clock only if selected by UserPreferences
Stefan Vogel <sv@exept.de>
parents:
2371
diff
changeset
|
4570 |
UserPreferences current showClockInLauncher ifTrue:[ |
12335 | 4571 |
self startClock |
2384
4901c54efb0a
Show clock only if selected by UserPreferences
Stefan Vogel <sv@exept.de>
parents:
2371
diff
changeset
|
4572 |
]. |
2315 | 4573 |
|
7516 | 4574 |
"Modified: / 16-11-2006 / 12:50:21 / cg" |
1544 | 4575 |
! |
4576 |
||
12838 | 4577 |
release |
4578 |
||
4579 |
super release. |
|
4580 |
||
4581 |
OpenLaunchers notNil ifTrue:[OpenLaunchers remove:self ifAbsent:nil]. |
|
4582 |
Project notNil ifTrue:[Project removeDependent:self]. |
|
4583 |
ObjectMemory removeDependent:self. |
|
4584 |
! |
|
4585 |
||
2039 | 4586 |
requestForWindowClose |
4587 |
|answer| |
|
4588 |
||
4589 |
isMainLauncher ifFalse:[ |
|
12335 | 4590 |
"/ remote launchers may not finish ST/X |
4591 |
||
4592 |
answer := Dialog |
|
4593 |
confirmWithCancel:(resources string:'Really close %1 (slave)?' with:self class name) |
|
4594 |
labels:(resources array:#('Cancel' 'Close')) |
|
4595 |
values:#(nil true) |
|
4596 |
default:1. |
|
4597 |
answer isNil ifTrue:[ |
|
4598 |
"/ cancel |
|
4599 |
^ false |
|
4600 |
]. |
|
4601 |
^ true |
|
2039 | 4602 |
]. |
4603 |
||
4604 |
^ super requestForWindowClose |
|
4605 |
! |
|
4606 |
||
12335 | 4607 |
setupTranscript |
1544 | 4608 |
"create the transcript view" |
4609 |
||
2046
f5c6ce56743a
avoid accidential autoloading of old Launcher class
Claus Gittinger <cg@exept.de>
parents:
2041
diff
changeset
|
4610 |
|launcher oldLauncherClass| |
1544 | 4611 |
|
4612 |
"/ check if this is an additional launcher on a remote display. |
|
4613 |
"/ if so, do not close the real launcher. |
|
4614 |
||
4615 |
(Transcript notNil and:[Transcript ~~ Stderr]) ifTrue:[ |
|
12335 | 4616 |
isMainLauncher ifTrue:[ |
4617 |
launcher := Transcript topView application |
|
4618 |
] ifFalse:[ |
|
4619 |
launcher := self class current. |
|
4620 |
]. |
|
4621 |
||
4622 |
(launcher notNil and:[launcher ~~ self]) ifTrue:[ |
|
4623 |
launcher window graphicsDevice == device ifTrue:[ |
|
4624 |
OpenLaunchers notNil ifTrue:[ |
|
4625 |
OpenLaunchers remove:launcher ifAbsent:nil. |
|
4626 |
]. |
|
4627 |
((oldLauncherClass := Smalltalk at:#Launcher) notNil |
|
4628 |
and:[oldLauncherClass isLoaded]) ifTrue: [ |
|
4629 |
oldLauncherClass openLaunchers remove:launcher ifAbsent:nil |
|
4630 |
]. |
|
4631 |
launcher close |
|
4632 |
] |
|
4633 |
] |
|
1544 | 4634 |
]. |
4635 |
||
6515
5996d5550b60
preps for notebook with transcript + error-list
Claus Gittinger <cg@exept.de>
parents:
6439
diff
changeset
|
4636 |
transcript := self transcriptView. "/ (self componentAt: #transcriptView) subViews first. |
1544 | 4637 |
|
4638 |
isMainLauncher ifTrue:[ |
|
12335 | 4639 |
transcript beTranscript. |
1544 | 4640 |
] ifFalse:[ |
12335 | 4641 |
transcript showCR:'**************** Notice ***********************'. |
4642 |
transcript showCR:'** this is NOT the Transcript **'. |
|
4643 |
transcript showCR:'** The real Transcript is on the main screen **'. |
|
4644 |
transcript showCR:'** **'. |
|
4645 |
transcript showCR:'** Menus affecting common state are disabled **'. |
|
4646 |
transcript showCR:'***********************************************'. |
|
1544 | 4647 |
] |
4648 |
||
2046
f5c6ce56743a
avoid accidential autoloading of old Launcher class
Claus Gittinger <cg@exept.de>
parents:
2041
diff
changeset
|
4649 |
"Modified: / 5.3.1999 / 18:00:36 / cg" |
1544 | 4650 |
! ! |
4651 |
||
4862 | 4652 |
!NewLauncher methodsFor:'user actions-classes'! |
3368 | 4653 |
|
10847
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
4654 |
enableGlobalCoverageAnalysis |
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
4655 |
InstrumentationContext new beActiveEverywhere. |
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
4656 |
|
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
4657 |
"Created: / 28-10-2011 / 20:31:28 / cg" |
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
4658 |
! |
aae16bffdd78
added: #enableGlobalCoverageAnalysis
Claus Gittinger <cg@exept.de>
parents:
10845
diff
changeset
|
4659 |
|
3368 | 4660 |
openMethodFinder |
6032
c9ff68a79be2
Move #widgetHardcopy from NewLauncher to AbstractLauncherApplication
Stefan Vogel <sv@exept.de>
parents:
5989
diff
changeset
|
4661 |
"open the methodFinder (ported from squeak)" |
12335 | 4662 |
|
7417 | 4663 |
self openApplication:'MethodFinderWindow' |
4664 |
"/ MethodFinderWindow open |
|
4665 |
||
4666 |
"Modified: / 16-10-2006 / 13:36:36 / cg" |
|
7453 | 4667 |
! |
4668 |
||
11233 | 4669 |
openTranscriptDebugDialog |
4670 |
|pattern| |
|
4671 |
||
12335 | 4672 |
pattern := Dialog |
4673 |
request:('Enter GLOB matchpattern for message text\(Breakpoint if matching text is sent to the Transcript)\\Empty to disable, * for any text.' withCRs) |
|
4674 |
initialAnswer:(Transcript class debugSendersOfMessagePattern). |
|
11233 | 4675 |
pattern isNil ifTrue:[^ self]. |
4676 |
||
4677 |
Transcript class debugSendersOfMessagePattern:pattern |
|
4678 |
||
4679 |
"Created: / 02-02-2012 / 12:05:05 / cg" |
|
4680 |
! |
|
4681 |
||
4682 |
openTranscriptTraceDialog |
|
4683 |
|pattern| |
|
4684 |
||
12335 | 4685 |
pattern := Dialog |
4686 |
request:('Enter GLOB matchpattern for message text\(Trace who sends matching text to the Transcript)\\Empty to disable, * for any.' withCRs) |
|
4687 |
initialAnswer:(Transcript class traceSendersOfMessagePattern). |
|
11233 | 4688 |
pattern isNil ifTrue:[^ self]. |
4689 |
||
4690 |
Transcript class traceSendersOfMessagePattern:pattern |
|
4691 |
||
4692 |
"Created: / 02-02-2012 / 12:06:10 / cg" |
|
4693 |
! |
|
4694 |
||
7508 | 4695 |
startBrowserOnChangesOnSmallTeamHost:aHostName |
12335 | 4696 |
(UserPreferences current changeSetBrowserClass) |
4697 |
openOn:(SmallTeam changesOnHost:aHostName) |
|
7508 | 4698 |
|
4699 |
"Created: / 12-11-2006 / 16:07:12 / cg" |
|
10032
edd2717abf18
changed: #startBrowserOnChangesOnSmallTeamHost:
Claus Gittinger <cg@exept.de>
parents:
9962
diff
changeset
|
4700 |
"Modified: / 01-07-2011 / 16:46:48 / cg" |
11714
46c038c5a589
changed: #startBrowserOnChangesOnSmallTeamHost:
Claus Gittinger <cg@exept.de>
parents:
11635
diff
changeset
|
4701 |
"Modified (format): / 27-07-2012 / 20:39:06 / cg" |
7508 | 4702 |
! |
4703 |
||
7917 | 4704 |
startOOMBrowser |
4705 |
self openApplication:'OOM::MetricVisualizer' |
|
4706 |
||
4707 |
"Created: / 23-10-2006 / 16:00:25 / cg" |
|
4708 |
"Modified: / 23-10-2006 / 20:38:34 / cg" |
|
4709 |
! |
|
4710 |
||
7453 | 4711 |
startToDoListBrowser |
4712 |
self openApplication:'Tools::ToDoListBrowser' |
|
4713 |
||
4714 |
"Created: / 23-10-2006 / 16:00:25 / cg" |
|
7456 | 4715 |
"Modified: / 23-10-2006 / 20:38:34 / cg" |
8178 | 4716 |
! |
4717 |
||
4718 |
stopIgnoringHalts |
|
4719 |
DebugView stopIgnoringHalts |
|
3368 | 4720 |
! ! |
4721 |
||
4862 | 4722 |
!NewLauncher methodsFor:'user actions-demos'! |
1406 | 4723 |
|
4724 |
openDemo:className |
|
4725 |
"open a demo, given its name. |
|
4726 |
Looks in both the Smalltalk- and the Demos-Namespace |
|
4727 |
for that class." |
|
4728 |
||
4729 |
self openApplication:className nameSpace:Demos |
|
4730 |
||
4731 |
! |
|
4732 |
||
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
4733 |
openMandelbrotDemo |
12335 | 4734 |
self openDemo:#ComplexIterationView |
1716
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
4735 |
|
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
4736 |
"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
|
4737 |
! |
a6cbe3d33ca2
disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents:
1711
diff
changeset
|
4738 |
|
2483 | 4739 |
startPingPong2 |
4740 |
"opens a 2-user PingPong game" |
|
4741 |
||
4742 |
self openApplication:'PingPongGame' nameSpace:Games with:#open2PlayerGame |
|
4743 |
||
4744 |
"Modified: / 13.12.1999 / 22:24:15 / cg" |
|
4745 |
! |
|
4746 |
||
2502 | 4747 |
startReversi |
4748 |
"opens a reversi game (java)" |
|
4749 |
||
4750 |
self openApplication:'JavaAppletDemo3' nameSpace:CodingExamples_GUI |
|
4751 |
||
4752 |
"Modified: / 13.12.1999 / 22:24:15 / cg" |
|
4753 |
! |
|
4754 |
||
2698
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4755 |
startStopDemo:className |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4756 |
"start/stop a demo, given its name. |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4757 |
Looks in both the Smalltalk- and the Demos-Namespace |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4758 |
for that class." |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4759 |
|
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4760 |
|cls| |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4761 |
|
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4762 |
cls := self findApplicationClass:className nameSpace:Demos. |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4763 |
cls isNil ifTrue:[ |
12335 | 4764 |
^ self |
2698
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4765 |
]. |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4766 |
|
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4767 |
Autoload autoloadFailedSignal handle:[:ex | |
12335 | 4768 |
self warn:(resources string:'Sorry, the %1 class seems to be not available.' with:cls name) |
2698
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4769 |
] do:[ |
12335 | 4770 |
self withWaitCursorDo:[ |
4771 |
cls isRunning ifTrue:[ |
|
4772 |
cls stop |
|
4773 |
] ifFalse:[ |
|
4774 |
cls start |
|
4775 |
] |
|
4776 |
] |
|
2698
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4777 |
] |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4778 |
! |
c6ef17fe725e
shortCut keys for browser and workspace
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
4779 |
|
1406 | 4780 |
startTicTacToe2 |
4781 |
"opens a 2-user ticTacToe game" |
|
4782 |
||
4783 |
self openApplication:'TicTacToeGame' nameSpace:Games with:#open2UserGame |
|
4784 |
! ! |
|
4785 |
||
4862 | 4786 |
!NewLauncher methodsFor:'user actions-file'! |
1406 | 4787 |
|
8725 | 4788 |
clearTranscript |
4789 |
Transcript current contents:'' |
|
4790 |
||
4791 |
"Modified: / 20-04-2005 / 18:59:28 / janfrog" |
|
4792 |
! |
|
4793 |
||
1406 | 4794 |
saveImage |
4795 |
"save image" |
|
4796 |
||
6232
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4797 |
[ |
12335 | 4798 |
self saveImageAs:ObjectMemory nameForSnapshot. |
6232
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4799 |
] on:SnapshotError do:[:ex| |
12335 | 4800 |
self warn:ex description. |
6232
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4801 |
] |
1406 | 4802 |
! |
4803 |
||
4804 |
saveImageAs |
|
4805 |
"save image, after asking for a file name" |
|
4806 |
||
6232
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4807 |
|imageFilename| |
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4808 |
|
12335 | 4809 |
imageFilename := Dialog |
4810 |
requestFileName:(resources string:'Save Image As') |
|
4811 |
default:ObjectMemory nameForSnapshot |
|
4812 |
pattern:'*.img' |
|
4813 |
fromDirectory:Filename currentDirectory. |
|
6232
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4814 |
|
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4815 |
imageFilename notNil ifTrue:[ |
12335 | 4816 |
[ |
4817 |
self saveImageAs:imageFilename |
|
4818 |
] on:SnapshotError do:[:ex| |
|
4819 |
self warn:ex description. |
|
4820 |
]. |
|
6232
7fb901df47d4
Make snapshot writing more robust against errors.
Stefan Vogel <sv@exept.de>
parents:
6224
diff
changeset
|
4821 |
]. |
1406 | 4822 |
! ! |
4823 |
||
4862 | 4824 |
!NewLauncher methodsFor:'user actions-help'! |
1406 | 4825 |
|
1429 | 4826 |
activeHelp |
4827 |
||
2344 | 4828 |
helpIsOn isNil ifTrue:[ |
12335 | 4829 |
helpIsOn := PluggableAdaptor new |
4830 |
getBlock:[:m | UserPreferences current flyByHelpActive] |
|
4831 |
putBlock:[:m :newValue | UserPreferences current flyByHelpActive:newValue] |
|
4832 |
updateBlock:[:m :aspect :param | true]. |
|
4833 |
"/ helpIsOn addDependent:self. |
|
2344 | 4834 |
]. |
4835 |
^ helpIsOn |
|
1429 | 4836 |
! |
4837 |
||
3492 | 4838 |
toggleFlyByHelp:aBoolean |
1411 | 4839 |
"turn on/off active help" |
4840 |
||
6101 | 4841 |
UserPreferences current flyByHelpActive:aBoolean. |
1411 | 4842 |
|
1842
b4bd3ccd2f3d
fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents:
1841
diff
changeset
|
4843 |
"Modified: / 18.8.1998 / 16:06:27 / cg" |
1406 | 4844 |
! ! |
4845 |
||
4862 | 4846 |
!NewLauncher methodsFor:'user actions-system'! |
1406 | 4847 |
|
1544 | 4848 |
initJavaVM |
4849 |
JavaVM initializeVM |
|
4850 |
||
4851 |
"Created: / 9.2.1998 / 12:06:07 / cg" |
|
4852 |
! |
|
4853 |
||
4854 |
startLatencyMonitor |
|
4855 |
"open an interruptLatencyMonitor view" |
|
4856 |
||
4857 |
InterruptLatencyMonitor notNil ifTrue:[ |
|
12335 | 4858 |
Autoload autoloadFailedSignal catch:[ |
4859 |
InterruptLatencyMonitor open. |
|
4860 |
^ self. |
|
4861 |
]. |
|
1544 | 4862 |
]. |
2630 | 4863 |
self warn:'Sorry - the irq latency monitor is not available |
4864 |
in this release'. |
|
4464
997576abcb7f
add ProcessMonitorV2 access from menu dependent on userPreferences
penk
parents:
4449
diff
changeset
|
4865 |
! |
997576abcb7f
add ProcessMonitorV2 access from menu dependent on userPreferences
penk
parents:
4449
diff
changeset
|
4866 |
|
997576abcb7f
add ProcessMonitorV2 access from menu dependent on userPreferences
penk
parents:
4449
diff
changeset
|
4867 |
startProcessMonitor |
997576abcb7f
add ProcessMonitorV2 access from menu dependent on userPreferences
penk
parents:
4449
diff
changeset
|
4868 |
"open an ProcessMonitor view" |
997576abcb7f
add ProcessMonitorV2 access from menu dependent on userPreferences
penk
parents:
4449
diff
changeset
|
4869 |
|
5239 | 4870 |
self openApplication:( |
12335 | 4871 |
(UserPreferences current useProcessMonitorV2 |
4872 |
and:[ProcessMonitorV2 notNil]) |
|
4873 |
ifTrue:['ProcessMonitorV2'] |
|
4874 |
ifFalse:['ProcessMonitor']). |
|
6420 | 4875 |
! |
4876 |
||
4877 |
startSQLWorkspace |
|
4878 |
self openApplication:'SQL::ODBCScratchpad'. |
|
8725 | 4879 |
! |
4880 |
||
4881 |
toggleHistoryManager |
|
4882 |
"Toggle history manager usage." |
|
4883 |
||
4884 |
HistoryManager isActive |
|
12335 | 4885 |
ifTrue: [HistoryManager deactivate] |
4886 |
ifFalse: [HistoryManager activate] |
|
8725 | 4887 |
|
4888 |
"Created: / 20-06-2004 / 16:08:09 / masca" |
|
4889 |
"Modified: / 20-04-2005 / 18:59:28 / janfrog" |
|
1544 | 4890 |
! ! |
4891 |
||
4862 | 4892 |
!NewLauncher methodsFor:'user actions-windows'! |
1544 | 4893 |
|
1928 | 4894 |
redrawAllWindows |
2864
d7c80fafa470
redrawAllWindows is now a display function
Claus Gittinger <cg@exept.de>
parents:
2854
diff
changeset
|
4895 |
device redrawAllWindows. |
1406 | 4896 |
! ! |
4897 |
||
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4898 |
!NewLauncher::AddedToolInfo methodsFor:'accessing'! |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4899 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4900 |
before |
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4901 |
|
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4902 |
^ before |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4903 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4904 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4905 |
before:something |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4906 |
before := something. |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4907 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4908 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4909 |
item |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4910 |
^ item |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4911 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4912 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4913 |
item:something |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4914 |
item := something. |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4915 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4916 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4917 |
menuWithNewItem |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4918 |
^ menuWithNewItem |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4919 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4920 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4921 |
menuWithNewItem:something |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4922 |
menuWithNewItem := something. |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4923 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4924 |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4925 |
originalLabel |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4926 |
^ originalLabel |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4927 |
! |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4928 |
|
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4929 |
originalLabel:something |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4930 |
originalLabel := something. |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4931 |
! |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4932 |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4933 |
positionSpec |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4934 |
^ positionSpec |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4935 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4936 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4937 |
positionSpec:something |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4938 |
positionSpec := something. |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4939 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4940 |
|
5628
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4941 |
resourceProvider |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4942 |
^ resourceProvider |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4943 |
! |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4944 |
|
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4945 |
resourceProvider:something |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4946 |
resourceProvider := something. |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4947 |
! |
b9ac456bdb03
re-translate menuLabels of userAddedTools
Claus Gittinger <cg@exept.de>
parents:
5622
diff
changeset
|
4948 |
|
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4949 |
space |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4950 |
^ space |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4951 |
! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4952 |
|
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4953 |
space:something |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4954 |
space := something. |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4955 |
! |
2721
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4956 |
|
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4957 |
where |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4958 |
^ where |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4959 |
! |
2721
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4960 |
|
405c3cdbd7ea
correctly remember userAddedTools for later reconstruction;
Claus Gittinger <cg@exept.de>
parents:
2713
diff
changeset
|
4961 |
where:something |
2854
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4962 |
where := something. |
ac97ea47bb08
browse changed classes added
Claus Gittinger <cg@exept.de>
parents:
2810
diff
changeset
|
4963 |
! ! |
2712
9e861058daab
addUserTool* is obsolete now;
Claus Gittinger <cg@exept.de>
parents:
2708
diff
changeset
|
4964 |
|
1406 | 4965 |
!NewLauncher class methodsFor:'documentation'! |
4966 |
||
10601
801ca2173f82
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10600
diff
changeset
|
4967 |
version |
13013 | 4968 |
^ '$Header: /cvs/stx/stx/libtool/NewLauncher.st,v 1.463 2013-06-25 17:09:16 cg Exp $' |
10601
801ca2173f82
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10600
diff
changeset
|
4969 |
! |
801ca2173f82
changed: #addMenuItem:from:in:position:space:
Claus Gittinger <cg@exept.de>
parents:
10600
diff
changeset
|
4970 |
|
9962 | 4971 |
version_CVS |
13013 | 4972 |
^ '$Header: /cvs/stx/stx/libtool/NewLauncher.st,v 1.463 2013-06-25 17:09:16 cg Exp $' |
8951 | 4973 |
! |
4974 |
||
9962 | 4975 |
version_SVN |
13013 | 4976 |
^ '$Id: NewLauncher.st,v 1.463 2013-06-25 17:09:16 cg Exp $' |
1406 | 4977 |
! ! |
12325 | 4978 |