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