author | Claus Gittinger <cg@exept.de> |
Fri, 04 Sep 1998 14:05:02 +0200 | |
changeset 982 | 2dda94c7ff25 |
parent 981 | 5b3b9588e57d |
child 1007 | 98f4db3e2d23 |
permissions | -rw-r--r-- |
199 | 1 |
" |
738 | 2 |
COPYRIGHT (c) 1997 by eXept Software AG |
199 | 3 |
All Rights Reserved |
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
738 | 7 |
inclusion of the above copyright notice. This software may not |
199 | 8 |
be provided or otherwise made available to, or used by, any |
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
||
14 |
||
738 | 15 |
ResourceSpecEditor subclass:#MenuEditor |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
16 |
instanceVariableNames:'specCanvas helpCanvas slices' |
220 | 17 |
classVariableNames:'' |
18 |
poolDictionaries:'' |
|
19 |
category:'Interface-UIPainter' |
|
199 | 20 |
! |
21 |
||
22 |
Object subclass:#Item |
|
220 | 23 |
instanceVariableNames:'activeHelpKey enabled label value nameKey indication shortcutKey |
407 | 24 |
accessCharacterPos retriever icon iconAndLabel submenuChannel |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
25 |
startGroup argument translateLabel isButton isVisible choice |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
26 |
choiceValue' |
220 | 27 |
classVariableNames:'' |
28 |
poolDictionaries:'' |
|
29 |
privateIn:MenuEditor |
|
199 | 30 |
! |
31 |
||
407 | 32 |
SelectionInTreeView subclass:#TreeView |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
33 |
instanceVariableNames:'' |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
34 |
classVariableNames:'' |
220 | 35 |
poolDictionaries:'' |
36 |
privateIn:MenuEditor |
|
199 | 37 |
! |
38 |
||
39 |
!MenuEditor class methodsFor:'documentation'! |
|
40 |
||
41 |
copyright |
|
42 |
" |
|
738 | 43 |
COPYRIGHT (c) 1997 by eXept Software AG |
199 | 44 |
All Rights Reserved |
45 |
||
46 |
This software is furnished under a license and may be used |
|
47 |
only in accordance with the terms of that license and with the |
|
738 | 48 |
inclusion of the above copyright notice. This software may not |
199 | 49 |
be provided or otherwise made available to, or used by, any |
50 |
other person. No title to or ownership of the software is |
|
51 |
hereby transferred. |
|
52 |
" |
|
53 |
||
54 |
||
55 |
! |
|
56 |
||
57 |
documentation |
|
58 |
" |
|
728 | 59 |
The MenuEditor allows you to create, modify or just inspect |
60 |
hierarchical menus of menu bars, popup menu, or tool bar menus. |
|
199 | 61 |
|
62 |
[start with:] |
|
63 |
MenuEditor open |
|
728 | 64 |
MenuEditor openOnClass:MenuEditor andSelector:#menu |
199 | 65 |
|
66 |
[see also:] |
|
67 |
UIPainter |
|
68 |
||
69 |
[author:] |
|
541 | 70 |
Claus Atzkern, eXept Software AG |
71 |
Thomas Zwick, eXept Software AG |
|
199 | 72 |
" |
73 |
||
74 |
! ! |
|
75 |
||
508 | 76 |
!MenuEditor class methodsFor:'instance creation'! |
77 |
||
728 | 78 |
openModalOnMenu: aMenu |
79 |
"Open a MenuEditor modal on aMenu" |
|
80 |
"self openModalOnMenu: (self perform: #menu) decodeAsLiteralArray" |
|
81 |
||
82 |
^self new openModalOnMenu: aMenu |
|
508 | 83 |
! ! |
84 |
||
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
85 |
!MenuEditor class methodsFor:'accessing'! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
86 |
|
734 | 87 |
iconUnknown |
88 |
"returns an image used for picked items containing an image |
|
89 |
" |
|
90 |
||
91 |
<resource: #fileImage> |
|
92 |
||
804 | 93 |
"/ ^ Image fromFile:'brokenImage.xpm' |
94 |
^ Icon constantNamed:'brokenImage.xpm' |
|
95 |
||
96 |
"Modified: / 22.4.1998 / 22:15:11 / ca" |
|
734 | 97 |
! |
98 |
||
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
99 |
resourceType |
728 | 100 |
"get the type of resource of the method generated by the MenuEditor" |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
101 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
102 |
^#menu |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
103 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
104 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
105 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
106 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
107 |
! ! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
108 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
109 |
!MenuEditor class methodsFor:'aspects'! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
110 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
111 |
aspects |
728 | 112 |
"get the aspects for the attributes of the menu components" |
113 |
||
114 |
^#( |
|
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
115 |
label |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
116 |
accessCharacterPos |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
117 |
argument |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
118 |
submenuChannel |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
119 |
enabled |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
120 |
value |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
121 |
nameKey |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
122 |
indication |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
123 |
choice |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
124 |
choiceValue |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
125 |
translateLabel |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
126 |
isButton |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
127 |
shortcutKey |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
128 |
startGroup |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
129 |
retriever |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
130 |
iconAndLabel |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
131 |
icon |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
132 |
isVisible |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
133 |
) |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
134 |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
135 |
"Modified: / 14.8.1998 / 14:46:36 / cg" |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
136 |
! ! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
137 |
|
371 | 138 |
!MenuEditor class methodsFor:'help specs'! |
139 |
||
140 |
helpSpec |
|
738 | 141 |
"This resource specification was automatically generated |
142 |
by the UIHelpTool of ST/X." |
|
143 |
||
144 |
"Do not manually edit this!! If it is corrupted, |
|
145 |
the UIHelpTool may not be able to read the specification." |
|
371 | 146 |
|
147 |
" |
|
738 | 148 |
UIHelpTool openOnClass:MenuEditor |
371 | 149 |
" |
150 |
||
738 | 151 |
<resource: #help> |
152 |
||
153 |
^super helpSpec addPairsFrom:#( |
|
371 | 154 |
|
548 | 155 |
#addMenuItem |
156 |
'Adds a new menu item.' |
|
157 |
||
158 |
#addMenuSeparator |
|
159 |
'Adds a new menu separator.' |
|
160 |
||
161 |
#addSubMenu |
|
613 | 162 |
'Adds a new sub menu.' |
548 | 163 |
|
164 |
#addSubMenuLink |
|
613 | 165 |
'Adds a new linked sub menu.' |
371 | 166 |
|
577 | 167 |
#basicsAction |
627 | 168 |
'An action selector with 0, 1 (the argument field), or 2 (the selected item) arguments.' |
577 | 169 |
|
170 |
#basicsArgument |
|
613 | 171 |
'An argument passed to above selector, if it is a 1 or a 2 argument selector.' |
577 | 172 |
|
173 |
#basicsIndication |
|
959 | 174 |
'A boolean holder, a boolean block, or a boolean method, specifying the indication state.' |
175 |
||
176 |
#basicsChoice |
|
177 |
'A boolean holder, a boolean block, or a boolean method, specifying the choices state.' |
|
178 |
||
179 |
#basicsChoiceValue |
|
180 |
'That choices value (typically number or symbol).' |
|
577 | 181 |
|
182 |
#basicsIsButton |
|
603 | 183 |
'Turns on/off a button behavior.' |
577 | 184 |
|
185 |
#basicsLabel |
|
186 |
'Label of the item.' |
|
187 |
||
959 | 188 |
#basicsKey |
189 |
'Internal key of the item (optional, for programmed accesses).' |
|
190 |
||
577 | 191 |
#basicsMenu |
613 | 192 |
'A value holder providing the sub menu to be opened if item is selected.' |
577 | 193 |
|
194 |
#basicsMenuArgument |
|
943 | 195 |
'An argument passed with the menu selector.' |
577 | 196 |
|
197 |
#basicsNameKey |
|
198 |
'Unique identifier of the item (optional).' |
|
199 |
||
200 |
#basicsSelector |
|
613 | 201 |
'Selector under which the generated menu spec is saved.' |
577 | 202 |
|
203 |
#basicsSeparatorType |
|
204 |
'List of valid separators.' |
|
205 |
||
206 |
#basicsTranslateLabel |
|
943 | 207 |
'Translate the label via the classes resource file (internationalization).' |
577 | 208 |
|
209 |
#detailsAccelerator |
|
210 |
'Key to be pressed to select the menu item from the keyboard (accelerator key).' |
|
211 |
||
212 |
#detailsAccessCharaterPosition |
|
213 |
'Index of the access character position of the textual label (optional).' |
|
214 |
||
215 |
#detailsEnabled |
|
943 | 216 |
'Aspect or binding providing a boolean value holder for the enable-state of the menu item.' |
577 | 217 |
|
959 | 218 |
#detailsStartGroup |
219 |
'Specify start of a right-aligned item group.' |
|
220 |
||
577 | 221 |
#detailsVisibility |
943 | 222 |
'Aspect or binding providing a boolean value holder for the visibility-state of the menu item.' |
577 | 223 |
|
548 | 224 |
#fileLoad |
943 | 225 |
'Opens a dialog to select and load a menu spec from a class.' |
548 | 226 |
|
227 |
#fileNew |
|
228 |
'Creates a new menu spec.' |
|
229 |
||
577 | 230 |
#filePickAMenu |
836 | 231 |
'Select a menu from an open view and read its specification' |
577 | 232 |
|
548 | 233 |
#fileSave |
943 | 234 |
'Saves the menu spec (and the help spec, if modified).' |
455 | 235 |
|
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
236 |
#fileSaveAs |
943 | 237 |
'Opens a dialog to save the menu spec (and the help spec, if modified).' |
238 |
||
239 |
#historyMenuItem |
|
240 |
'Edit this menu specification.' |
|
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
241 |
|
577 | 242 |
#imageImageAndLabel |
943 | 243 |
'Toggles display of both image and textual label.' |
577 | 244 |
|
245 |
#imageImageEditor |
|
943 | 246 |
'Opens an Image Editor on the resource method defined by retriever and selector.' |
577 | 247 |
|
248 |
#imageRetriever |
|
249 |
'Class implementing the image resource method. If no class is given, the current application class will be taken.' |
|
250 |
||
251 |
#imageSelector |
|
959 | 252 |
'Selector returning an image (sent to above or the application).' |
253 |
||
254 |
#imageImageList |
|
255 |
'Currently existing image resources.' |
|
371 | 256 |
|
943 | 257 |
#test |
258 |
'Displays the current menu (layout test).' |
|
371 | 259 |
) |
836 | 260 |
|
959 | 261 |
"Modified: / 18.8.1998 / 16:19:13 / cg" |
371 | 262 |
! ! |
263 |
||
734 | 264 |
!MenuEditor class methodsFor:'image specs'! |
265 |
||
266 |
linkSubmenuImage |
|
738 | 267 |
"This resource specification was automatically generated |
268 |
by the ImageEditor of ST/X." |
|
269 |
||
270 |
"Do not manually edit this!!!! If it is corrupted, |
|
271 |
the ImageEditor may not be able to read the specification." |
|
272 |
||
734 | 273 |
" |
738 | 274 |
ImageEditor openOnClass:self andSelector:#linkSubmenuImage |
734 | 275 |
" |
276 |
||
277 |
<resource: #image> |
|
278 |
||
279 |
^Icon |
|
280 |
constantNamed:#'MenuEditor linkSubmenuImage' |
|
281 |
ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@ADQDQDQDQDQDQH@D"H"H"H"H"H"K0@RH"H"H"H"H"H/@A????????????<@D@@@@@@@@@@@C0@PL3L0DQDQDQD_@A@3L3LBH"H"H"<@DCL3L3@"H"H"K0@PL3L3L0??????@A@@@@L3L@@@@@<@DQDQDCL3@PLAG0@RH"H"@3L0@3@/@AH"H"H L3L3L0<@G?????<CL3L3L@@P@@@@@@@3L3LO@ADQDQDQDP@CLA<@D"H"H"H"H LBK0@RH"H"H"H"@BH/@B????????????<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]! |
|
282 |
||
283 |
menuItemImage |
|
738 | 284 |
"This resource specification was automatically generated |
285 |
by the ImageEditor of ST/X." |
|
286 |
||
287 |
"Do not manually edit this!!!! If it is corrupted, |
|
288 |
the ImageEditor may not be able to read the specification." |
|
289 |
||
734 | 290 |
" |
738 | 291 |
ImageEditor openOnClass:self andSelector:#menuItemImage |
734 | 292 |
" |
293 |
||
294 |
<resource: #image> |
|
295 |
||
296 |
^Icon |
|
297 |
constantNamed:#'MenuEditor menuItemImage' |
|
298 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUQUUUUUUUPUUUUUUU_UUUUUUUPUUUUUUUP@@@@@@@@EUUUUUVAF*****+HF:?+::;@F:.+*?;@F:.+::;@F:.+*:;@F:.+::;@F*****+DK??????A@@@@@@@@UUUUUUUPUUUUUUUXUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUX') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]! |
|
299 |
||
300 |
menuSeparatorImage |
|
738 | 301 |
"This resource specification was automatically generated |
302 |
by the ImageEditor of ST/X." |
|
303 |
||
304 |
"Do not manually edit this!!!! If it is corrupted, |
|
305 |
the ImageEditor may not be able to read the specification." |
|
306 |
||
734 | 307 |
" |
738 | 308 |
ImageEditor openOnClass:self andSelector:#menuSeparatorImage |
734 | 309 |
" |
310 |
||
311 |
<resource: #image> |
|
312 |
||
313 |
^Icon |
|
314 |
constantNamed:#'MenuEditor menuSeparatorImage' |
|
315 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUURUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUP@@@@@@@@EUUUUUV@F*****+DF*****+CF?????+@F0@@@@[@F%UUUU[HF*****+@F*****+@K??????N@@@@@@@HUUUUUUUPUUUUUUUPUUUUUUUWUUUUUUUXUUUUUUUPUUUUUUUP') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]! |
|
316 |
||
317 |
submenuImage |
|
738 | 318 |
"This resource specification was automatically generated |
319 |
by the ImageEditor of ST/X." |
|
320 |
||
321 |
"Do not manually edit this!!!! If it is corrupted, |
|
322 |
the ImageEditor may not be able to read the specification." |
|
323 |
||
734 | 324 |
" |
738 | 325 |
ImageEditor openOnClass:self andSelector:#submenuImage |
734 | 326 |
" |
327 |
||
328 |
<resource: #image> |
|
329 |
||
330 |
^Icon |
|
331 |
constantNamed:#'MenuEditor submenuImage' |
|
332 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@EUUUUUV@F*****+@F*****+@G??????GD@@@@@C@EUUUUUWLF*****+@F*****+@G??????HD@@@@@C@EUUUUUW@F*****+@F*****+OG??????@D@@@@@C@EUUUUUW@F*****+@F*****+@K??????@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]! ! |
|
333 |
||
199 | 334 |
!MenuEditor class methodsFor:'interface specs'! |
335 |
||
336 |
basicsItemSpec |
|
738 | 337 |
"This resource specification was automatically generated |
338 |
by the UIPainter of ST/X." |
|
339 |
||
340 |
"Do not manually edit this!! If it is corrupted, |
|
341 |
the UIPainter may not be able to read the specification." |
|
199 | 342 |
|
343 |
" |
|
344 |
UIPainter new openOnClass:MenuEditor andSelector:#basicsItemSpec |
|
345 |
MenuEditor new openInterface:#basicsItemSpec |
|
346 |
" |
|
347 |
||
348 |
<resource: #canvas> |
|
349 |
||
350 |
^ |
|
351 |
||
352 |
#(#FullSpec |
|
703 | 353 |
#window: |
199 | 354 |
#(#WindowSpec |
728 | 355 |
#name: 'Basics Item' |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
356 |
#layout: #(#LayoutFrame 216 0 173 0 482 0 491 0) |
728 | 357 |
#label: 'Basics Item' |
703 | 358 |
#min: #(#Point 10 10) |
359 |
#max: #(#Point 1160 870) |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
360 |
#bounds: #(#Rectangle 216 173 483 492) |
703 | 361 |
#usePreferredExtent: false |
199 | 362 |
) |
703 | 363 |
#component: |
199 | 364 |
#(#SpecCollection |
703 | 365 |
#collection: |
199 | 366 |
#( |
367 |
#(#LabelSpec |
|
703 | 368 |
#name: 'nameKeyLabel' |
369 |
#layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
959 | 370 |
#activeHelpKey: #basicsKey |
703 | 371 |
#label: 'Name Key:' |
372 |
#adjust: #right |
|
373 |
#resizeForLabel: true |
|
199 | 374 |
) |
375 |
#(#InputFieldSpec |
|
703 | 376 |
#name: 'nameKeyField' |
377 |
#layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
959 | 378 |
#activeHelpKey: #basicsKey |
703 | 379 |
#tabable: true |
380 |
#model: #nameKey |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
381 |
#group: #inputGroup |
703 | 382 |
#type: #symbolOrNil |
383 |
#acceptOnReturn: false |
|
384 |
#acceptOnTab: false |
|
199 | 385 |
) |
386 |
#(#LabelSpec |
|
703 | 387 |
#name: 'labelLabel' |
388 |
#layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
|
959 | 389 |
#activeHelpKey: #basicsLabel |
703 | 390 |
#label: 'Label:' |
391 |
#adjust: #right |
|
392 |
#resizeForLabel: true |
|
199 | 393 |
) |
394 |
#(#InputFieldSpec |
|
703 | 395 |
#name: 'labelField' |
396 |
#layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) |
|
397 |
#activeHelpKey: #basicsLabel |
|
398 |
#tabable: true |
|
399 |
#model: #label |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
400 |
#group: #inputGroup |
703 | 401 |
#acceptOnReturn: false |
402 |
#acceptOnTab: false |
|
199 | 403 |
) |
404 |
#(#LabelSpec |
|
703 | 405 |
#name: 'valueLabel' |
981 | 406 |
#layout: #(#AlignmentOrigin 107 0 90 0 1 0.5) |
959 | 407 |
#activeHelpKey: #basicsAction |
703 | 408 |
#label: 'Action:' |
409 |
#adjust: #right |
|
410 |
#resizeForLabel: true |
|
199 | 411 |
) |
412 |
#(#InputFieldSpec |
|
703 | 413 |
#name: 'valueField' |
414 |
#layout: #(#LayoutFrame 110 0 79 0 -5 1.0 101 0) |
|
415 |
#activeHelpKey: #basicsAction |
|
416 |
#tabable: true |
|
417 |
#model: #value |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
418 |
#group: #inputGroup |
703 | 419 |
#type: #symbolOrNil |
420 |
#acceptOnReturn: false |
|
421 |
#acceptOnTab: false |
|
199 | 422 |
) |
423 |
#(#LabelSpec |
|
703 | 424 |
#name: 'argumentLabel' |
425 |
#layout: #(#AlignmentOrigin 107 0 115 0 1 0.5) |
|
959 | 426 |
#activeHelpKey: #basicsArgument |
703 | 427 |
#label: 'Argument:' |
428 |
#adjust: #right |
|
429 |
#resizeForLabel: true |
|
290 | 430 |
) |
431 |
#(#InputFieldSpec |
|
703 | 432 |
#name: 'argumentField' |
433 |
#layout: #(#LayoutFrame 110 0 104 0 -5 1.0 126 0) |
|
434 |
#activeHelpKey: #basicsArgument |
|
435 |
#tabable: true |
|
436 |
#model: #argument |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
437 |
#group: #inputGroup |
703 | 438 |
#type: #string |
439 |
#acceptOnReturn: false |
|
440 |
#acceptOnTab: false |
|
290 | 441 |
) |
371 | 442 |
#(#LabelSpec |
703 | 443 |
#name: 'indicationLabel' |
444 |
#layout: #(#AlignmentOrigin 107 0 155 0 1 0.5) |
|
959 | 445 |
#activeHelpKey: #basicsIndication |
703 | 446 |
#label: 'Indication:' |
447 |
#adjust: #right |
|
448 |
#resizeForLabel: true |
|
371 | 449 |
) |
450 |
#(#InputFieldSpec |
|
703 | 451 |
#name: 'indicationField' |
452 |
#layout: #(#LayoutFrame 110 0 144 0 -5 1.0 166 0) |
|
453 |
#activeHelpKey: #basicsIndication |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
454 |
#enableChannel: #indicationEnabled |
703 | 455 |
#tabable: true |
456 |
#model: #indication |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
457 |
#group: #inputGroup |
703 | 458 |
#type: #symbolOrNil |
459 |
#acceptOnReturn: false |
|
460 |
#acceptOnTab: false |
|
371 | 461 |
) |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
462 |
#(#LabelSpec |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
463 |
#name: 'choiceLabel' |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
464 |
#layout: #(#AlignmentOrigin 107 0 180 0 1 0.5) |
959 | 465 |
#activeHelpKey: #basicsChoice |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
466 |
#label: 'Choice:' |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
467 |
#translateLabel: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
468 |
#adjust: #right |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
469 |
#resizeForLabel: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
470 |
) |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
471 |
#(#InputFieldSpec |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
472 |
#name: 'choiceField' |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
473 |
#layout: #(#LayoutFrame 110 0 169 0 -5 1.0 191 0) |
959 | 474 |
#activeHelpKey: #basicsChoice |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
475 |
#enableChannel: #choiceEnabled |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
476 |
#tabable: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
477 |
#model: #choice |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
478 |
#group: #inputGroup |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
479 |
#type: #symbolOrNil |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
480 |
#acceptOnReturn: false |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
481 |
#acceptOnTab: false |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
482 |
) |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
483 |
#(#LabelSpec |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
484 |
#name: 'choiceValueLabel' |
981 | 485 |
#layout: #(#AlignmentOrigin 107 0 205 0 1 0.5) |
959 | 486 |
#activeHelpKey: #basicsChoiceValue |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
487 |
#label: 'Value:' |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
488 |
#translateLabel: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
489 |
#adjust: #right |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
490 |
#resizeForLabel: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
491 |
) |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
492 |
#(#InputFieldSpec |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
493 |
#name: 'choiceValueField' |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
494 |
#layout: #(#LayoutFrame 110 0 194 0 -5 1.0 216 0) |
959 | 495 |
#activeHelpKey: #basicsChoiceValue |
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
496 |
#enableChannel: #choiceValueEnabled |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
497 |
#tabable: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
498 |
#model: #choiceValue |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
499 |
#group: #inputGroup |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
500 |
#type: #smalltalkObject |
981 | 501 |
#immediateAccept: false |
502 |
#acceptOnLeave: true |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
503 |
#acceptOnReturn: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
504 |
#acceptOnTab: true |
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
505 |
#acceptOnLostFocus: true |
981 | 506 |
) |
507 |
#(#CheckBoxSpec |
|
508 |
#name: 'translateLabelCheckBox' |
|
509 |
#layout: #(#Point 20 230) |
|
510 |
#activeHelpKey: #basicsTranslateLabel |
|
511 |
#tabable: true |
|
512 |
#model: #translateLabel |
|
513 |
#label: 'Translate Label' |
|
514 |
) |
|
515 |
#(#CheckBoxSpec |
|
516 |
#name: 'isButtonCheckBox' |
|
517 |
#layout: #(#Point 20 259) |
|
518 |
#activeHelpKey: #basicsIsButton |
|
519 |
#tabable: true |
|
520 |
#model: #isButton |
|
521 |
#label: 'Is Button' |
|
953
1aecad8bf33a
added choice type menu items (i.e. radioButton behavior)
Claus Gittinger <cg@exept.de>
parents:
943
diff
changeset
|
522 |
) |
199 | 523 |
) |
524 |
) |
|
525 |
) |
|
526 |
! |
|
527 |
||
218 | 528 |
basicsLinkSpec |
738 | 529 |
"This resource specification was automatically generated |
530 |
by the UIPainter of ST/X." |
|
531 |
||
532 |
"Do not manually edit this!! If it is corrupted, |
|
533 |
the UIPainter may not be able to read the specification." |
|
218 | 534 |
|
535 |
" |
|
536 |
UIPainter new openOnClass:MenuEditor andSelector:#basicsLinkSpec |
|
537 |
MenuEditor new openInterface:#basicsLinkSpec |
|
538 |
" |
|
539 |
||
540 |
<resource: #canvas> |
|
541 |
||
542 |
^ |
|
543 |
||
544 |
#(#FullSpec |
|
703 | 545 |
#window: |
218 | 546 |
#(#WindowSpec |
728 | 547 |
#name: 'Basics Link' |
738 | 548 |
#layout: #(#LayoutFrame 473 0 301 0 739 0 619 0) |
728 | 549 |
#label: 'Basics Link' |
703 | 550 |
#min: #(#Point 10 10) |
551 |
#max: #(#Point 1280 1024) |
|
738 | 552 |
#bounds: #(#Rectangle 473 301 740 620) |
703 | 553 |
#usePreferredExtent: false |
218 | 554 |
) |
703 | 555 |
#component: |
218 | 556 |
#(#SpecCollection |
703 | 557 |
#collection: |
218 | 558 |
#( |
559 |
#(#LabelSpec |
|
703 | 560 |
#name: 'nameKeyLabel' |
561 |
#layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
562 |
#activeHelpKey: #nameKey |
|
563 |
#label: 'Name Key:' |
|
564 |
#adjust: #right |
|
565 |
#resizeForLabel: true |
|
218 | 566 |
) |
567 |
#(#InputFieldSpec |
|
703 | 568 |
#name: 'nameKeyField' |
569 |
#layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
570 |
#activeHelpKey: #basicsNameKey |
|
571 |
#tabable: true |
|
572 |
#model: #nameKey |
|
573 |
#type: #symbolOrNil |
|
574 |
#acceptOnReturn: false |
|
575 |
#acceptOnTab: false |
|
931 | 576 |
#group: #inputGroup |
218 | 577 |
) |
578 |
#(#LabelSpec |
|
703 | 579 |
#name: 'labelLabel' |
580 |
#layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
|
581 |
#label: 'Label:' |
|
582 |
#resizeForLabel: true |
|
218 | 583 |
) |
584 |
#(#InputFieldSpec |
|
703 | 585 |
#name: 'labelField' |
586 |
#layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) |
|
587 |
#activeHelpKey: #basicsLabel |
|
588 |
#tabable: true |
|
589 |
#model: #label |
|
590 |
#acceptOnReturn: false |
|
591 |
#acceptOnTab: false |
|
931 | 592 |
#group: #inputGroup |
218 | 593 |
) |
469 | 594 |
#(#LabelSpec |
703 | 595 |
#name: 'menuLabel' |
596 |
#layout: #(#AlignmentOrigin 107 0 76 0 1 0.5) |
|
597 |
#label: 'Menu:' |
|
598 |
#resizeForLabel: true |
|
469 | 599 |
) |
218 | 600 |
#(#InputFieldSpec |
703 | 601 |
#name: 'menuField' |
602 |
#layout: #(#LayoutFrame 110 0 65 0 -5 1.0 87 0) |
|
603 |
#activeHelpKey: #basicsMenu |
|
604 |
#tabable: true |
|
605 |
#model: #submenuChannel |
|
606 |
#type: #symbolOrNil |
|
607 |
#acceptOnReturn: false |
|
608 |
#acceptOnTab: false |
|
931 | 609 |
#group: #inputGroup |
218 | 610 |
) |
611 |
#(#LabelSpec |
|
703 | 612 |
#name: 'ArgumentLabel' |
613 |
#layout: #(#AlignmentOrigin 107 0 100 0 1 0.5) |
|
614 |
#label: 'Argument:' |
|
615 |
#resizeForLabel: true |
|
218 | 616 |
) |
411 | 617 |
#(#InputFieldSpec |
703 | 618 |
#name: 'argumentField' |
619 |
#layout: #(#LayoutFrame 110 0 90 0 -5 1.0 112 0) |
|
620 |
#activeHelpKey: #basicsMenuArgument |
|
621 |
#tabable: true |
|
622 |
#model: #argument |
|
623 |
#acceptOnReturn: false |
|
624 |
#acceptOnTab: false |
|
931 | 625 |
#group: #inputGroup |
411 | 626 |
) |
469 | 627 |
#(#CheckBoxSpec |
703 | 628 |
#name: 'translateLabelCheckBox' |
728 | 629 |
#layout: #(#Point 20 190) |
703 | 630 |
#activeHelpKey: #basicsTranslateLabel |
631 |
#tabable: true |
|
632 |
#model: #translateLabel |
|
633 |
#label: 'Translate Label' |
|
411 | 634 |
) |
218 | 635 |
) |
636 |
) |
|
637 |
) |
|
931 | 638 |
|
639 |
"Modified: / 31.7.1998 / 01:18:16 / cg" |
|
218 | 640 |
! |
641 |
||
199 | 642 |
basicsMenuSpec |
738 | 643 |
"This resource specification was automatically generated |
644 |
by the UIPainter of ST/X." |
|
645 |
||
646 |
"Do not manually edit this!! If it is corrupted, |
|
647 |
the UIPainter may not be able to read the specification." |
|
199 | 648 |
|
649 |
" |
|
650 |
UIPainter new openOnClass:MenuEditor andSelector:#basicsMenuSpec |
|
651 |
MenuEditor new openInterface:#basicsMenuSpec |
|
652 |
" |
|
653 |
||
654 |
<resource: #canvas> |
|
655 |
||
656 |
^ |
|
657 |
||
658 |
#(#FullSpec |
|
703 | 659 |
#window: |
199 | 660 |
#(#WindowSpec |
728 | 661 |
#name: 'Basics Menu' |
738 | 662 |
#layout: #(#LayoutFrame 473 0 301 0 739 0 619 0) |
728 | 663 |
#label: 'Basics Menu' |
703 | 664 |
#min: #(#Point 10 10) |
665 |
#max: #(#Point 1280 1024) |
|
738 | 666 |
#bounds: #(#Rectangle 473 301 740 620) |
703 | 667 |
#usePreferredExtent: false |
199 | 668 |
) |
703 | 669 |
#component: |
199 | 670 |
#(#SpecCollection |
703 | 671 |
#collection: |
199 | 672 |
#( |
673 |
#(#LabelSpec |
|
703 | 674 |
#name: 'nameKeyLabel' |
675 |
#layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
676 |
#label: 'Name Key:' |
|
677 |
#adjust: #right |
|
678 |
#resizeForLabel: true |
|
199 | 679 |
) |
680 |
#(#InputFieldSpec |
|
703 | 681 |
#name: 'nameKeyField' |
682 |
#layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
683 |
#activeHelpKey: #basicsNameKey |
|
684 |
#tabable: true |
|
685 |
#model: #nameKey |
|
686 |
#type: #symbolOrNil |
|
687 |
#acceptOnReturn: false |
|
688 |
#acceptOnTab: false |
|
931 | 689 |
#group: #inputGroup |
199 | 690 |
) |
691 |
#(#LabelSpec |
|
703 | 692 |
#name: 'labelLabel' |
693 |
#layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
|
694 |
#label: 'Label:' |
|
695 |
#adjust: #right |
|
696 |
#resizeForLabel: true |
|
199 | 697 |
) |
698 |
#(#InputFieldSpec |
|
703 | 699 |
#name: 'labelField' |
700 |
#layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) |
|
701 |
#activeHelpKey: #basicsLabel |
|
702 |
#tabable: true |
|
703 |
#model: #label |
|
704 |
#acceptOnReturn: false |
|
705 |
#acceptOnTab: false |
|
931 | 706 |
#group: #inputGroup |
199 | 707 |
) |
398 | 708 |
#(#CheckBoxSpec |
703 | 709 |
#name: 'translateLabelCheckBox' |
728 | 710 |
#layout: #(#Point 20 190) |
703 | 711 |
#activeHelpKey: #basicsTranslateLabel |
712 |
#tabable: true |
|
713 |
#model: #translateLabel |
|
714 |
#label: 'Translate Label' |
|
398 | 715 |
) |
199 | 716 |
) |
717 |
) |
|
718 |
) |
|
931 | 719 |
|
720 |
"Modified: / 31.7.1998 / 01:18:23 / cg" |
|
199 | 721 |
! |
722 |
||
723 |
basicsRootSpec |
|
738 | 724 |
"This resource specification was automatically generated |
725 |
by the UIPainter of ST/X." |
|
726 |
||
727 |
"Do not manually edit this!! If it is corrupted, |
|
728 |
the UIPainter may not be able to read the specification." |
|
199 | 729 |
|
730 |
" |
|
731 |
UIPainter new openOnClass:MenuEditor andSelector:#basicsRootSpec |
|
732 |
MenuEditor new openInterface:#basicsRootSpec |
|
733 |
" |
|
734 |
||
735 |
<resource: #canvas> |
|
736 |
||
737 |
^ |
|
738 |
||
739 |
#(#FullSpec |
|
703 | 740 |
#window: |
199 | 741 |
#(#WindowSpec |
728 | 742 |
#name: 'Basics Root' |
738 | 743 |
#layout: #(#LayoutFrame 473 0 301 0 739 0 619 0) |
728 | 744 |
#label: 'Basics Root' |
703 | 745 |
#min: #(#Point 10 10) |
746 |
#max: #(#Point 1280 1024) |
|
738 | 747 |
#bounds: #(#Rectangle 473 301 740 620) |
703 | 748 |
#usePreferredExtent: false |
199 | 749 |
) |
703 | 750 |
#component: |
199 | 751 |
#(#SpecCollection |
703 | 752 |
#collection: |
199 | 753 |
#( |
754 |
#(#LabelSpec |
|
703 | 755 |
#name: 'selectorLabel' |
756 |
#layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
757 |
#label: 'Selector:' |
|
758 |
#adjust: #right |
|
759 |
#resizeForLabel: true |
|
199 | 760 |
) |
761 |
#(#InputFieldSpec |
|
703 | 762 |
#name: 'selectorField' |
763 |
#layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
764 |
#activeHelpKey: #basicsSelector |
|
765 |
#tabable: true |
|
766 |
#model: #label |
|
767 |
#acceptOnReturn: false |
|
768 |
#acceptOnTab: false |
|
931 | 769 |
#group: #inputGroup |
199 | 770 |
) |
771 |
) |
|
772 |
) |
|
773 |
) |
|
931 | 774 |
|
775 |
"Modified: / 31.7.1998 / 01:18:28 / cg" |
|
199 | 776 |
! |
777 |
||
218 | 778 |
basicsSeparatorSpec |
738 | 779 |
"This resource specification was automatically generated |
780 |
by the UIPainter of ST/X." |
|
781 |
||
782 |
"Do not manually edit this!! If it is corrupted, |
|
783 |
the UIPainter may not be able to read the specification." |
|
199 | 784 |
|
785 |
" |
|
218 | 786 |
UIPainter new openOnClass:MenuEditor andSelector:#basicsSeparatorSpec |
787 |
MenuEditor new openInterface:#basicsSeparatorSpec |
|
199 | 788 |
" |
789 |
||
790 |
<resource: #canvas> |
|
791 |
||
792 |
^ |
|
793 |
||
794 |
#(#FullSpec |
|
703 | 795 |
#window: |
199 | 796 |
#(#WindowSpec |
728 | 797 |
#name: 'Basics Separator' |
738 | 798 |
#layout: #(#LayoutFrame 473 0 301 0 739 0 619 0) |
728 | 799 |
#label: 'Basics Separator' |
703 | 800 |
#min: #(#Point 10 10) |
801 |
#max: #(#Point 1160 870) |
|
738 | 802 |
#bounds: #(#Rectangle 473 301 740 620) |
703 | 803 |
#usePreferredExtent: false |
199 | 804 |
) |
703 | 805 |
#component: |
199 | 806 |
#(#SpecCollection |
703 | 807 |
#collection: |
199 | 808 |
#( |
218 | 809 |
#(#LabelSpec |
703 | 810 |
#name: 'separatorLabel' |
811 |
#layout: #(#AlignmentOrigin 127 0 26 0 1 0.5) |
|
812 |
#label: 'Separator Type:' |
|
813 |
#adjust: #right |
|
814 |
#resizeForLabel: true |
|
218 | 815 |
) |
816 |
#(#ComboListSpec |
|
703 | 817 |
#name: 'seperatorList' |
818 |
#layout: #(#LayoutFrame 132 0 15 0 -5 1.0 37 0) |
|
819 |
#activeHelpKey: #basicsSeparatorType |
|
820 |
#tabable: true |
|
821 |
#model: #seperatorSelection |
|
822 |
#useIndex: true |
|
199 | 823 |
) |
606 | 824 |
#(#LabelSpec |
703 | 825 |
#name: 'visibilityLabel' |
826 |
#layout: #(#AlignmentOrigin 127 0 76 0 1 0.5) |
|
827 |
#label: 'Visibility:' |
|
828 |
#adjust: #right |
|
829 |
#resizeForLabel: true |
|
606 | 830 |
) |
831 |
#(#InputFieldSpec |
|
728 | 832 |
#name: 'visibilityInputField' |
703 | 833 |
#layout: #(#LayoutFrame 132 0 65 0 -5 1.0 87 0) |
834 |
#activeHelpKey: #detailsVisibility |
|
835 |
#tabable: true |
|
836 |
#model: #isVisible |
|
837 |
#type: #symbolOrNil |
|
838 |
#acceptOnReturn: false |
|
839 |
#acceptOnTab: false |
|
931 | 840 |
#group: #inputGroup |
606 | 841 |
) |
199 | 842 |
) |
843 |
) |
|
844 |
) |
|
931 | 845 |
|
846 |
"Modified: / 31.7.1998 / 01:18:32 / cg" |
|
199 | 847 |
! |
848 |
||
849 |
detailsEditSpec |
|
738 | 850 |
"This resource specification was automatically generated |
851 |
by the UIPainter of ST/X." |
|
852 |
||
853 |
"Do not manually edit this!! If it is corrupted, |
|
854 |
the UIPainter may not be able to read the specification." |
|
199 | 855 |
|
856 |
" |
|
857 |
UIPainter new openOnClass:MenuEditor andSelector:#detailsEditSpec |
|
858 |
MenuEditor new openInterface:#detailsEditSpec |
|
859 |
" |
|
860 |
||
861 |
<resource: #canvas> |
|
862 |
||
863 |
^ |
|
864 |
||
865 |
#(#FullSpec |
|
703 | 866 |
#window: |
199 | 867 |
#(#WindowSpec |
728 | 868 |
#name: 'Details Edit' |
738 | 869 |
#layout: #(#LayoutFrame 332 0 374 0 590 0 661 0) |
728 | 870 |
#label: 'Details Edit' |
703 | 871 |
#min: #(#Point 10 10) |
872 |
#max: #(#Point 1280 1024) |
|
738 | 873 |
#bounds: #(#Rectangle 332 374 591 662) |
703 | 874 |
#usePreferredExtent: false |
199 | 875 |
) |
703 | 876 |
#component: |
199 | 877 |
#(#SpecCollection |
703 | 878 |
#collection: |
199 | 879 |
#( |
880 |
#(#LabelSpec |
|
703 | 881 |
#name: 'shortcutKeyLabel' |
882 |
#layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
959 | 883 |
#activeHelpKey: #detailsAccelerator |
703 | 884 |
#label: 'Accelerator:' |
885 |
#adjust: #right |
|
886 |
#resizeForLabel: true |
|
371 | 887 |
) |
888 |
#(#InputFieldSpec |
|
703 | 889 |
#name: 'shortcutKeyField' |
890 |
#layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
891 |
#activeHelpKey: #detailsAccelerator |
|
892 |
#tabable: true |
|
893 |
#model: #shortcutKey |
|
894 |
#type: #symbolOrNil |
|
895 |
#acceptOnReturn: false |
|
896 |
#acceptOnTab: false |
|
931 | 897 |
#group: #inputGroup |
371 | 898 |
) |
899 |
#(#LabelSpec |
|
703 | 900 |
#name: 'enabledLabel' |
901 |
#layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
|
959 | 902 |
#activeHelpKey: #detailsEnabled |
703 | 903 |
#label: 'Enabled:' |
904 |
#adjust: #right |
|
905 |
#resizeForLabel: true |
|
199 | 906 |
) |
907 |
#(#InputFieldSpec |
|
703 | 908 |
#name: 'enabledField' |
909 |
#layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) |
|
910 |
#activeHelpKey: #detailsEnabled |
|
911 |
#tabable: true |
|
912 |
#model: #enabled |
|
913 |
#type: #symbolOrNil |
|
914 |
#acceptOnReturn: false |
|
915 |
#acceptOnTab: false |
|
931 | 916 |
#group: #inputGroup |
199 | 917 |
) |
918 |
#(#LabelSpec |
|
703 | 919 |
#name: 'visibilityLabel' |
920 |
#layout: #(#AlignmentOrigin 107 0 76 0 1 0.5) |
|
959 | 921 |
#activeHelpKey: #detailsVisibility |
703 | 922 |
#label: 'Visibility:' |
923 |
#adjust: #right |
|
924 |
#resizeForLabel: true |
|
199 | 925 |
) |
926 |
#(#InputFieldSpec |
|
703 | 927 |
#name: 'isVisibleInputField' |
928 |
#layout: #(#LayoutFrame 110 0 65 0 -5 1.0 87 0) |
|
929 |
#activeHelpKey: #detailsVisibility |
|
930 |
#tabable: true |
|
931 |
#model: #isVisible |
|
932 |
#type: #symbolOrNil |
|
933 |
#acceptOnReturn: false |
|
934 |
#acceptOnTab: false |
|
931 | 935 |
#group: #inputGroup |
199 | 936 |
) |
532 | 937 |
#(#LabelSpec |
703 | 938 |
#name: 'StartGroupLabel' |
939 |
#layout: #(#AlignmentOrigin 107 0 111 0 1 0.5) |
|
959 | 940 |
#activeHelpKey: #detailsStartGroup |
703 | 941 |
#label: 'Start Group:' |
942 |
#adjust: #right |
|
943 |
#resizeForLabel: true |
|
532 | 944 |
) |
945 |
#(#PopUpListSpec |
|
703 | 946 |
#name: 'StartGroupPopUp' |
959 | 947 |
#activeHelpKey: #detailsStartGroup |
703 | 948 |
#layout: #(#LayoutFrame 110 0 100 0 -5 1.0 122 0) |
949 |
#label: 'PopUpList' |
|
738 | 950 |
#tabable: true |
703 | 951 |
#model: #startGroup |
952 |
#menu: |
|
532 | 953 |
#(nil |
954 |
#right |
|
955 |
) |
|
703 | 956 |
#useIndex: false |
532 | 957 |
) |
539 | 958 |
#(#LabelSpec |
703 | 959 |
#name: 'accessCharLabel' |
960 |
#layout: #(#AlignmentOrigin 217 0 142 0 1 0.5) |
|
959 | 961 |
#activeHelpKey: #detailsAccessCharaterPosition |
703 | 962 |
#label: 'Access Character Position:' |
963 |
#adjust: #right |
|
964 |
#resizeForLabel: true |
|
539 | 965 |
) |
966 |
#(#InputFieldSpec |
|
703 | 967 |
#name: 'accessCharField' |
968 |
#layout: #(#LayoutFrame 220 0 131 0 -5 1.0 153 0) |
|
969 |
#activeHelpKey: #detailsAccessCharaterPosition |
|
970 |
#tabable: true |
|
971 |
#model: #accessCharacterPos |
|
972 |
#type: #numberOrNil |
|
973 |
#acceptOnReturn: false |
|
974 |
#acceptOnTab: false |
|
931 | 975 |
#group: #inputGroup |
539 | 976 |
) |
199 | 977 |
) |
978 |
) |
|
979 |
) |
|
931 | 980 |
|
959 | 981 |
"Modified: / 18.8.1998 / 16:16:46 / cg" |
199 | 982 |
! |
983 |
||
398 | 984 |
imageEditSpec |
738 | 985 |
"This resource specification was automatically generated |
986 |
by the UIPainter of ST/X." |
|
987 |
||
988 |
"Do not manually edit this!! If it is corrupted, |
|
989 |
the UIPainter may not be able to read the specification." |
|
199 | 990 |
|
991 |
" |
|
398 | 992 |
UIPainter new openOnClass:MenuEditor andSelector:#imageEditSpec |
993 |
MenuEditor new openInterface:#imageEditSpec |
|
199 | 994 |
" |
995 |
||
996 |
<resource: #canvas> |
|
997 |
||
998 |
^ |
|
703 | 999 |
|
199 | 1000 |
#(#FullSpec |
703 | 1001 |
#window: |
199 | 1002 |
#(#WindowSpec |
728 | 1003 |
#name: 'Image Item' |
888 | 1004 |
#layout: #(#LayoutFrame 182 0 348 0 577 0 624 0) |
728 | 1005 |
#label: 'Image Item' |
703 | 1006 |
#min: #(#Point 10 10) |
1007 |
#max: #(#Point 1280 1024) |
|
888 | 1008 |
#bounds: #(#Rectangle 182 348 578 625) |
703 | 1009 |
#usePreferredExtent: false |
199 | 1010 |
) |
703 | 1011 |
#component: |
199 | 1012 |
#(#SpecCollection |
703 | 1013 |
#collection: |
199 | 1014 |
#( |
879 | 1015 |
#(#CheckBoxSpec |
1016 |
#name: 'iconAndLabelCheckBox' |
|
1017 |
#layout: #(#LayoutOrigin 20 0 215 0) |
|
1018 |
#activeHelpKey: #imageImageAndLabel |
|
1019 |
#tabable: true |
|
1020 |
#model: #iconAndLabel |
|
1021 |
#label: 'Image & Label' |
|
1022 |
) |
|
199 | 1023 |
#(#LabelSpec |
703 | 1024 |
#name: 'retrieverLabel' |
1025 |
#layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) |
|
959 | 1026 |
#activeHelpKey: #imageRetriever |
703 | 1027 |
#label: 'Retriever:' |
1028 |
#adjust: #right |
|
1029 |
#resizeForLabel: true |
|
199 | 1030 |
) |
1031 |
#(#InputFieldSpec |
|
703 | 1032 |
#name: 'retrieverField' |
1033 |
#layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) |
|
1034 |
#activeHelpKey: #imageRetriever |
|
1035 |
#tabable: true |
|
1036 |
#model: #retriever |
|
1037 |
#type: #symbolOrNil |
|
1038 |
#acceptOnReturn: false |
|
1039 |
#acceptOnTab: false |
|
931 | 1040 |
#group: #inputGroup |
199 | 1041 |
) |
1042 |
#(#LabelSpec |
|
703 | 1043 |
#name: 'iconLabel' |
1044 |
#layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) |
|
959 | 1045 |
#activeHelpKey: #imageSelector |
703 | 1046 |
#label: 'Selector:' |
1047 |
#adjust: #right |
|
1048 |
#resizeForLabel: true |
|
199 | 1049 |
) |
1050 |
#(#InputFieldSpec |
|
703 | 1051 |
#name: 'iconField' |
1052 |
#layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) |
|
1053 |
#activeHelpKey: #imageSelector |
|
1054 |
#tabable: true |
|
1055 |
#model: #icon |
|
1056 |
#type: #symbolOrNil |
|
1057 |
#acceptOnReturn: false |
|
1058 |
#acceptOnTab: false |
|
931 | 1059 |
#group: #inputGroup |
199 | 1060 |
) |
469 | 1061 |
#(#ActionButtonSpec |
703 | 1062 |
#name: 'imageEditorButton' |
879 | 1063 |
#layout: #(#LayoutFrame 5 0.6 67 0 -5 1 91 0) |
703 | 1064 |
#activeHelpKey: #imageImageEditor |
1065 |
#label: 'Image Editor' |
|
1066 |
#tabable: true |
|
1067 |
#model: #doEditImage |
|
469 | 1068 |
) |
879 | 1069 |
#(#SequenceViewSpec |
1070 |
#name: 'systemOrUserImagesList' |
|
959 | 1071 |
#activeHelpKey: #imageImageList |
888 | 1072 |
#layout: #(#LayoutFrame 110 0 67 0 0 0.6 200 0) |
879 | 1073 |
#model: #selectionOfImage |
888 | 1074 |
#menu: #menuEditImage |
879 | 1075 |
#hasHorizontalScrollBar: true |
1076 |
#hasVerticalScrollBar: true |
|
1077 |
#miniScrollerHorizontal: true |
|
885 | 1078 |
#doubleClickSelector: #doEditImage |
879 | 1079 |
#valueChangeSelector: #imageSelected |
1080 |
#useIndex: false |
|
1081 |
#sequenceList: #listOfImages |
|
199 | 1082 |
) |
1083 |
) |
|
1084 |
) |
|
1085 |
) |
|
931 | 1086 |
|
959 | 1087 |
"Modified: / 18.8.1998 / 16:17:59 / cg" |
525 | 1088 |
! |
1089 |
||
1090 |
windowSpec |
|
738 | 1091 |
"This resource specification was automatically generated |
1092 |
by the UIPainter of ST/X." |
|
1093 |
||
1094 |
"Do not manually edit this!! If it is corrupted, |
|
1095 |
the UIPainter may not be able to read the specification." |
|
525 | 1096 |
|
1097 |
" |
|
1098 |
UIPainter new openOnClass:MenuEditor andSelector:#windowSpec |
|
1099 |
MenuEditor new openInterface:#windowSpec |
|
738 | 1100 |
MenuEditor open |
525 | 1101 |
" |
1102 |
||
1103 |
<resource: #canvas> |
|
1104 |
||
1105 |
^ |
|
1106 |
||
1107 |
#(#FullSpec |
|
703 | 1108 |
#window: |
525 | 1109 |
#(#WindowSpec |
734 | 1110 |
#name: 'Menu Editor' |
955 | 1111 |
#layout: #(#LayoutFrame 53 0 403 0 609 0 810 0) |
734 | 1112 |
#label: 'Menu Editor' |
748 | 1113 |
#min: #(#Point 510 390) |
703 | 1114 |
#max: #(#Point 1152 900) |
955 | 1115 |
#bounds: #(#Rectangle 53 403 610 811) |
703 | 1116 |
#menu: #menu |
1117 |
#usePreferredExtent: false |
|
525 | 1118 |
) |
703 | 1119 |
#component: |
525 | 1120 |
#(#SpecCollection |
703 | 1121 |
#collection: |
525 | 1122 |
#( |
1123 |
#(#MenuPanelSpec |
|
703 | 1124 |
#name: 'menuToolbarView' |
1125 |
#layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0) |
|
1126 |
#menu: #menuToolbar |
|
1127 |
#showSeparatingLines: true |
|
525 | 1128 |
) |
1129 |
#(#VariableHorizontalPanelSpec |
|
734 | 1130 |
#name: 'VariableHorizontalPanel' |
703 | 1131 |
#layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0) |
1132 |
#component: |
|
525 | 1133 |
#(#SpecCollection |
703 | 1134 |
#collection: |
525 | 1135 |
#( |
1136 |
#(#ArbitraryComponentSpec |
|
734 | 1137 |
#name: 'TreeView' |
703 | 1138 |
#menu: #menuEdit |
1139 |
#hasHorizontalScrollBar: true |
|
1140 |
#hasVerticalScrollBar: true |
|
1141 |
#component: #treeView |
|
1142 |
#hasBorder: false |
|
525 | 1143 |
) |
1144 |
#(#ViewSpec |
|
734 | 1145 |
#name: 'Box' |
703 | 1146 |
#component: |
525 | 1147 |
#(#SpecCollection |
703 | 1148 |
#collection: |
525 | 1149 |
#( |
1150 |
#(#NoteBookViewSpec |
|
734 | 1151 |
#name: 'NoteBook' |
748 | 1152 |
#layout: #(#LayoutFrame 1 0.0 0 0.0 1 1.0 -30 1.0) |
703 | 1153 |
#tabable: true |
1154 |
#model: #tabModel |
|
1155 |
#menu: #tabList |
|
1156 |
#useIndex: true |
|
1157 |
#canvas: #noteBookView |
|
525 | 1158 |
) |
1159 |
#(#UISubSpecification |
|
703 | 1160 |
#name: 'SubSpecification' |
1161 |
#layout: #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) |
|
1162 |
#majorKey: #ToolApplicationModel |
|
1163 |
#minorKey: #windowSpecForCommit |
|
525 | 1164 |
) |
1165 |
) |
|
1166 |
) |
|
703 | 1167 |
#level: -1 |
525 | 1168 |
) |
1169 |
) |
|
1170 |
) |
|
836 | 1171 |
#handles: #(#Any 0.30117 1.0) |
525 | 1172 |
) |
1173 |
#(#UISubSpecification |
|
734 | 1174 |
#name: 'InfoBarSubSpec' |
703 | 1175 |
#layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
1176 |
#majorKey: #ToolApplicationModel |
|
1177 |
#minorKey: #windowSpecForInfoBar |
|
525 | 1178 |
) |
1179 |
) |
|
1180 |
) |
|
1181 |
) |
|
1182 |
! ! |
|
1183 |
||
1184 |
!MenuEditor class methodsFor:'menu specs'! |
|
1185 |
||
1186 |
menu |
|
738 | 1187 |
"This resource specification was automatically generated |
1188 |
by the MenuEditor of ST/X." |
|
1189 |
||
1190 |
"Do not manually edit this!! If it is corrupted, |
|
1191 |
the MenuEditor may not be able to read the specification." |
|
525 | 1192 |
|
1193 |
" |
|
1194 |
MenuEditor new openOnClass:MenuEditor andSelector:#menu |
|
1195 |
(Menu new fromLiteralArrayEncoding:(MenuEditor menu)) startUp |
|
1196 |
" |
|
1197 |
||
1198 |
<resource: #menu> |
|
1199 |
||
1200 |
^ |
|
1201 |
||
1202 |
#(#Menu |
|
1203 |
||
1204 |
#( |
|
1205 |
#(#MenuItem |
|
686 | 1206 |
#label: 'About' |
836 | 1207 |
#translateLabel: true |
686 | 1208 |
#accessCharacterPosition: 1 |
1209 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
|
1210 |
#submenuChannel: #menuAbout |
|
525 | 1211 |
) |
1212 |
#(#MenuItem |
|
686 | 1213 |
#label: 'File' |
1214 |
#activeHelpKey: #file |
|
836 | 1215 |
#translateLabel: true |
686 | 1216 |
#submenu: |
525 | 1217 |
#(#Menu |
1218 |
||
1219 |
#( |
|
1220 |
#(#MenuItem |
|
686 | 1221 |
#label: 'New' |
1222 |
#value: #doNew |
|
836 | 1223 |
#translateLabel: true |
686 | 1224 |
#activeHelpKey: #fileNew |
525 | 1225 |
) |
1226 |
#(#MenuItem |
|
686 | 1227 |
#label: '-' |
525 | 1228 |
) |
1229 |
#(#MenuItem |
|
686 | 1230 |
#label: 'Load...' |
1231 |
#translateLabel: true |
|
1232 |
#value: #doLoad |
|
1233 |
#activeHelpKey: #fileLoad |
|
525 | 1234 |
) |
1235 |
#(#MenuItem |
|
686 | 1236 |
#label: '-' |
525 | 1237 |
) |
1238 |
#(#MenuItem |
|
686 | 1239 |
#label: 'Save' |
836 | 1240 |
#translateLabel: true |
686 | 1241 |
#value: #doSave |
1242 |
#activeHelpKey: #fileSave |
|
525 | 1243 |
) |
1244 |
#(#MenuItem |
|
686 | 1245 |
#label: 'Save As...' |
836 | 1246 |
#translateLabel: true |
686 | 1247 |
#value: #doSaveAs |
1248 |
#activeHelpKey: #fileSaveAs |
|
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
1249 |
) |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
1250 |
#(#MenuItem |
686 | 1251 |
#label: '-' |
525 | 1252 |
) |
1253 |
#(#MenuItem |
|
686 | 1254 |
#label: 'Pick A Menu...' |
836 | 1255 |
#translateLabel: true |
686 | 1256 |
#value: #doPickAMenu |
1257 |
#activeHelpKey: #filePickAMenu |
|
525 | 1258 |
) |
1259 |
#(#MenuItem |
|
686 | 1260 |
#label: '-' |
525 | 1261 |
) |
1262 |
#(#MenuItem |
|
686 | 1263 |
#label: 'Browse Class' |
836 | 1264 |
#translateLabel: true |
686 | 1265 |
#value: #doBrowseClass |
1266 |
#activeHelpKey: #fileBrowseClass |
|
525 | 1267 |
) |
1268 |
#(#MenuItem |
|
686 | 1269 |
#label: '-' |
525 | 1270 |
) |
1271 |
#(#MenuItem |
|
686 | 1272 |
#label: 'Exit' |
1273 |
#translateLabel: true |
|
1274 |
#value: #closeRequest |
|
1275 |
#activeHelpKey: #fileExit |
|
525 | 1276 |
) |
1277 |
) nil |
|
1278 |
nil |
|
1279 |
) |
|
1280 |
) |
|
1281 |
#(#MenuItem |
|
686 | 1282 |
#label: 'Edit' |
1283 |
#activeHelpKey: #edit |
|
836 | 1284 |
#translateLabel: true |
686 | 1285 |
#submenuChannel: #menuEdit |
525 | 1286 |
) |
1287 |
#(#MenuItem |
|
686 | 1288 |
#label: 'Add' |
1289 |
#activeHelpKey: #add |
|
836 | 1290 |
#translateLabel: true |
686 | 1291 |
#submenuChannel: #menuAdd |
525 | 1292 |
) |
1293 |
#(#MenuItem |
|
686 | 1294 |
#label: 'Test' |
1295 |
#activeHelpKey: #test |
|
836 | 1296 |
#translateLabel: true |
686 | 1297 |
#submenuChannel: #submenuTest |
525 | 1298 |
) |
1299 |
#(#MenuItem |
|
738 | 1300 |
#label: 'Settings' |
1301 |
#submenu: |
|
1302 |
#(#Menu |
|
1303 |
||
1304 |
#( |
|
1305 |
#(#MenuItem |
|
1306 |
#label: 'Fonts' |
|
836 | 1307 |
#translateLabel: true |
738 | 1308 |
#submenuChannel: #menuFont |
1309 |
) |
|
1310 |
) nil |
|
1311 |
nil |
|
1312 |
) |
|
1313 |
) |
|
1314 |
#(#MenuItem |
|
748 | 1315 |
#label: 'History' |
1316 |
#activeHelpKey: #history |
|
836 | 1317 |
#translateLabel: true |
748 | 1318 |
#submenuChannel: #menuHistory |
1319 |
) |
|
1320 |
#(#MenuItem |
|
686 | 1321 |
#label: 'Help' |
836 | 1322 |
#translateLabel: true |
686 | 1323 |
#startGroup: #right |
748 | 1324 |
#submenu: |
1325 |
#(#Menu |
|
1326 |
||
1327 |
#( |
|
1328 |
#(#MenuItem |
|
1329 |
#label: 'Documentation' |
|
1330 |
#value: #openHTMLDocument: |
|
836 | 1331 |
#translateLabel: true |
748 | 1332 |
#activeHelpKey: #helpTutorial |
764 | 1333 |
#argument: 'tools/uipainter/MenuEditor.html' |
748 | 1334 |
) |
1335 |
#(#MenuItem |
|
1336 |
#label: '-' |
|
1337 |
) |
|
1338 |
#(#MenuItem |
|
1339 |
#label: 'Help Tool' |
|
1340 |
#value: #openHTMLDocument: |
|
836 | 1341 |
#translateLabel: true |
748 | 1342 |
#activeHelpKey: #helpHelpTool |
1343 |
#argument: 'tools/uipainter/HelpTool.html' |
|
1344 |
) |
|
1345 |
#(#MenuItem |
|
1346 |
#label: '-' |
|
1347 |
) |
|
1348 |
#(#MenuItem |
|
1349 |
#label: 'Show Help Texts' |
|
836 | 1350 |
#translateLabel: true |
748 | 1351 |
#activeHelpKey: #helpShowHelp |
936
f3db8359547a
method rename: #showHelp -> #showingHelp
Claus Gittinger <cg@exept.de>
parents:
931
diff
changeset
|
1352 |
#indication: #showingHelp: |
748 | 1353 |
) |
1354 |
) nil |
|
1355 |
nil |
|
1356 |
) |
|
525 | 1357 |
) |
1358 |
) nil |
|
1359 |
nil |
|
1360 |
) |
|
836 | 1361 |
|
936
f3db8359547a
method rename: #showHelp -> #showingHelp
Claus Gittinger <cg@exept.de>
parents:
931
diff
changeset
|
1362 |
"Modified: / 31.7.1998 / 18:19:47 / cg" |
525 | 1363 |
! |
1364 |
||
1365 |
menuAdd |
|
738 | 1366 |
"This resource specification was automatically generated |
1367 |
by the MenuEditor of ST/X." |
|
1368 |
||
1369 |
"Do not manually edit this!! If it is corrupted, |
|
1370 |
the MenuEditor may not be able to read the specification." |
|
525 | 1371 |
|
1372 |
" |
|
1373 |
MenuEditor new openOnClass:MenuEditor andSelector:#menuAdd |
|
1374 |
(Menu new fromLiteralArrayEncoding:(MenuEditor menuAdd)) startUp |
|
1375 |
" |
|
1376 |
||
1377 |
<resource: #menu> |
|
1378 |
||
1379 |
^ |
|
1380 |
||
1381 |
#(#Menu |
|
1382 |
||
1383 |
#( |
|
1384 |
#(#MenuItem |
|
703 | 1385 |
#label: 'Menu Item' |
836 | 1386 |
#translateLabel: true |
703 | 1387 |
#value: #doCreateItem |
1388 |
#activeHelpKey: #addMenuItem |
|
1389 |
#labelImage: #(#ResourceRetriever #MenuEditor #menuItemImage 'Menu Item') |
|
525 | 1390 |
) |
1391 |
#(#MenuItem |
|
703 | 1392 |
#label: 'Menu Separator' |
836 | 1393 |
#translateLabel: true |
703 | 1394 |
#value: #doCreateSep |
1395 |
#activeHelpKey: #addMenuSeparator |
|
1396 |
#labelImage: #(#ResourceRetriever #MenuEditor #menuSeparatorImage 'Menu Separator') |
|
525 | 1397 |
) |
1398 |
#(#MenuItem |
|
703 | 1399 |
#label: '-' |
525 | 1400 |
) |
1401 |
#(#MenuItem |
|
703 | 1402 |
#label: 'Submenu' |
836 | 1403 |
#translateLabel: true |
703 | 1404 |
#value: #doCreateMenu |
1405 |
#activeHelpKey: #addSubMenu |
|
1406 |
#labelImage: #(#ResourceRetriever #MenuEditor #submenuImage 'Submenu') |
|
525 | 1407 |
) |
1408 |
#(#MenuItem |
|