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