author | Claus Gittinger <cg@exept.de> |
Thu, 16 Feb 2006 19:36:09 +0100 | |
changeset 2003 | d32a3742144b |
parent 1999 | f2b8044ff678 |
child 2008 | a2906aabdbb1 |
permissions | -rw-r--r-- |
199 | 1 |
" |
738 | 2 |
COPYRIGHT (c) 1997 by eXept Software AG |
1606 | 3 |
All Rights Reserved |
199 | 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 |
||
1372 | 13 |
"{ Package: 'stx:libtool2' }" |
14 |
||
738 | 15 |
ResourceSpecEditor subclass:#MenuEditor |
1606 | 16 |
instanceVariableNames:'selectionHolder tabHolder listOfItems listOfTabs |
1618
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
17 |
selectedSuperItems notifyDisabledCounter wizards listOfItemsView |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
18 |
dropOverLine' |
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
19 |
classVariableNames:'ImageRetrieverClasses' |
220 | 20 |
poolDictionaries:'' |
21 |
category:'Interface-UIPainter' |
|
199 | 22 |
! |
23 |
||
1606 | 24 |
HierarchicalItem subclass:#Item |
25 |
instanceVariableNames:'menuItem' |
|
26 |
classVariableNames:'' |
|
27 |
poolDictionaries:'' |
|
28 |
privateIn:MenuEditor |
|
29 |
! |
|
30 |
||
1631 | 31 |
MenuEditor::Item subclass:#ActionItem |
1606 | 32 |
instanceVariableNames:'' |
1407 | 33 |
classVariableNames:'' |
34 |
poolDictionaries:'' |
|
35 |
privateIn:MenuEditor |
|
36 |
! |
|
37 |
||
1631 | 38 |
MenuEditor::Item subclass:#LinkedMenuItem |
1606 | 39 |
instanceVariableNames:'' |
40 |
classVariableNames:'' |
|
41 |
poolDictionaries:'' |
|
42 |
privateIn:MenuEditor |
|
43 |
! |
|
44 |
||
1844 | 45 |
MenuEditor::Item subclass:#MenuSliceItem |
46 |
instanceVariableNames:'' |
|
47 |
classVariableNames:'' |
|
48 |
poolDictionaries:'' |
|
49 |
privateIn:MenuEditor |
|
50 |
! |
|
51 |
||
1633 | 52 |
MenuEditor::Item subclass:#RegularMenuItem |
1454 | 53 |
instanceVariableNames:'' |
54 |
classVariableNames:'' |
|
55 |
poolDictionaries:'' |
|
56 |
privateIn:MenuEditor |
|
57 |
! |
|
58 |
||
1606 | 59 |
ApplicationModel subclass:#ResourceEditor |
60 |
instanceVariableNames:'selectorHolder iconAndLabelHolder retrieverHolder imageHolder |
|
61 |
imageList imageViewer' |
|
62 |
classVariableNames:'' |
|
63 |
poolDictionaries:'' |
|
64 |
privateIn:MenuEditor |
|
65 |
! |
|
66 |
||
67 |
HierarchicalItem subclass:#ResourceEditorItem |
|
68 |
instanceVariableNames:'selector icon' |
|
69 |
classVariableNames:'' |
|
70 |
poolDictionaries:'' |
|
71 |
privateIn:MenuEditor |
|
72 |
! |
|
73 |
||
1633 | 74 |
MenuEditor::RegularMenuItem subclass:#RootItem |
1631 | 75 |
instanceVariableNames:'' |
76 |
classVariableNames:'' |
|
77 |
poolDictionaries:'' |
|
78 |
privateIn:MenuEditor |
|
79 |
! |
|
80 |
||
81 |
MenuEditor::Item subclass:#SeparatorItem |
|
82 |
instanceVariableNames:'' |
|
83 |
classVariableNames:'' |
|
84 |
poolDictionaries:'' |
|
85 |
privateIn:MenuEditor |
|
86 |
! |
|
87 |
||
199 | 88 |
!MenuEditor class methodsFor:'documentation'! |
89 |
||
90 |
copyright |
|
91 |
" |
|
738 | 92 |
COPYRIGHT (c) 1997 by eXept Software AG |
1606 | 93 |
All Rights Reserved |
199 | 94 |
|
95 |
This software is furnished under a license and may be used |
|
96 |
only in accordance with the terms of that license and with the |
|
738 | 97 |
inclusion of the above copyright notice. This software may not |
199 | 98 |
be provided or otherwise made available to, or used by, any |
99 |
other person. No title to or ownership of the software is |
|
100 |
hereby transferred. |
|
101 |
" |
|
102 |
! |
|
103 |
||
104 |
documentation |
|
105 |
" |
|
728 | 106 |
The MenuEditor allows you to create, modify or just inspect |
1606 | 107 |
menus. |
108 |
||
109 |
||
110 |
[Instance variables:] |
|
111 |
||
1618
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
112 |
listOfItemsView <HierarcicalListView> the view which shows the list of items |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
113 |
listOfItems <HierarchicalList> hierarchical list of menu items |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
114 |
listOfTabs <List> list of current shown tab-labels |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
115 |
|
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
116 |
selectionHolder <ValueHolder> collection of current selected items |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
117 |
selectedSuperItems <Collection> collection of superItems derived from selection |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
118 |
|
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
119 |
tabHolder <ValueHolder> selected tab label holder |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
120 |
notifyDisabledCounter <SmallInteger> ~~ 0 than change notifications are discard |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
121 |
wizards <IdentityDictionary> keeps all created wizard dialogs |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
122 |
|
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
123 |
dropOverLine <nil or SmallInteger> nil: drop context not dropabel. |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
124 |
= 0: drop context dropable but no item specified |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
125 |
~ 0: drop context dropable for item at lineNumber |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
126 |
used t6o restore drop indication drawings |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
127 |
|
1606 | 128 |
[Class variables:] |
1618
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
129 |
ImageRetrieverClasses <Collection> sorted collection of image receivers |
199 | 130 |
|
131 |
[start with:] |
|
1618
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
132 |
MenuEditor open |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
133 |
MenuEditor openOnClass:MenuEditor andSelector:#menu |
199 | 134 |
|
135 |
[author:] |
|
1618
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
136 |
Claus Atzkern, eXept Software AG |
9c9b649ce251
support drag & drop inside my widget (highlight the drop target)
ca
parents:
1617
diff
changeset
|
137 |
Thomas Zwick, eXept Software AG |
199 | 138 |
" |
139 |
! ! |
|
140 |
||
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
141 |
!MenuEditor class methodsFor:'initialization'! |
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 |
initialize |
1546
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
144 |
ImageRetrieverClasses := #( |
1606 | 145 |
Icon |
146 |
SystemBrowser |
|
147 |
ToolbarIconLibrary |
|
148 |
). |
|
1546
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
149 |
|
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
150 |
" |
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
151 |
self initialize |
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
152 |
" |
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
153 |
! ! |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
154 |
|
508 | 155 |
!MenuEditor class methodsFor:'instance creation'! |
156 |
||
728 | 157 |
openModalOnMenu: aMenu |
1606 | 158 |
"Open a MenuEditor modal on aMenu |
159 |
self openModalOnMenu: (self perform: #menu) decodeAsLiteralArray |
|
734 | 160 |
" |
1606 | 161 |
^self new openModalOnMenu:aMenu |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
162 |
! ! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
163 |
|
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
164 |
!MenuEditor class methodsFor:'accessing image retriever'! |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
165 |
|
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
166 |
addNewImageRetriever:aSymbolOrClass |
1546
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
167 |
"add a class to the imageRetriever list" |
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
168 |
|
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
169 |
|key| |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
170 |
|
1546
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
171 |
aSymbolOrClass isBehavior ifTrue:[ |
1606 | 172 |
key := aSymbolOrClass nameWithNameSpacePrefix |
1546
4485d0c37aae
another default image retriever
Claus Gittinger <cg@exept.de>
parents:
1545
diff
changeset
|
173 |
] ifFalse:[ |
1606 | 174 |
key := aSymbolOrClass |
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
175 |
]. |
1463 | 176 |
|
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
177 |
key size ~~ 0 ifTrue:[ |
1606 | 178 |
key := key asSymbol. |
179 |
||
180 |
(ImageRetrieverClasses includes:key) ifFalse:[ |
|
181 |
ImageRetrieverClasses := ImageRetrieverClasses asOrderedCollection. |
|
182 |
ImageRetrieverClasses add:key. |
|
183 |
ImageRetrieverClasses sort. |
|
184 |
] |
|
1462
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
185 |
]. |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
186 |
! |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
187 |
|
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
188 |
imageRetrieverClasses |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
189 |
"returns a collection of image retrievers |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
190 |
" |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
191 |
^ ImageRetrieverClasses |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
192 |
! ! |
02fe22d76582
change layout of image viewer, support of adding new image retriever
ca
parents:
1454
diff
changeset
|
193 |
|
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
194 |
!MenuEditor class methodsFor:'aspects'! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
195 |
|
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
196 |
aspects |
728 | 197 |
"get the aspects for the attributes of the menu components" |
198 |
||
199 |
^#( |
|
1629 | 200 |
rawLabel |
201 |
accessCharacterPosition |
|
202 |
showBusyCursorWhilePerforming |
|
203 |
horizontalLayout |
|
204 |
triggerOnDown |
|
205 |
font |
|
206 |
argument |
|
207 |
submenuChannel |
|
208 |
keepLinkedMenu |
|
209 |
enabled |
|
210 |
itemValue |
|
211 |
nameKey |
|
212 |
indication |
|
213 |
choice |
|
214 |
choiceValue |
|
215 |
translateLabel |
|
216 |
isButton |
|
217 |
shortcutKeyCharacter |
|
218 |
startGroup |
|
219 |
isVisible |
|
220 |
hideMenuOnActivated |
|
221 |
auxValue |
|
222 |
activeHelpKey |
|
223 |
resourceRetriever |
|
1634 | 224 |
sendToOriginator |
1778
32befdc61270
support ignoreShortcutKeys and ignoreMnemonicKeys in Editor
ca
parents:
1775
diff
changeset
|
225 |
ignoreMnemonicKeys |
32befdc61270
support ignoreShortcutKeys and ignoreMnemonicKeys in Editor
ca
parents:
1775
diff
changeset
|
226 |
ignoreShortcutKeys |
1844 | 227 |
isMenuSlice |
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
228 |
) |
1606 | 229 |
! ! |
230 |
||
231 |
!MenuEditor class methodsFor:'defaults'! |
|
232 |
||
233 |
aboutImage |
|
234 |
"the image to be displayed in my about-box; |
|
235 |
If nil is returned, the ST/X default image is used. |
|
236 |
" |
|
237 |
^ Image fromFile:'bitmaps/xpmBitmaps/misc_tools/setup_menus.xpm' |
|
238 |
! |
|
239 |
||
240 |
resourceType |
|
241 |
"get the type of the resource of the method generated by the MenuEditor |
|
242 |
" |
|
243 |
^ #menu |
|
633
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
244 |
! ! |
11bbf4599843
uses dynamic tree items and needs ListSpecEditor as superclass (-> libview2)
tz
parents:
627
diff
changeset
|
245 |
|
371 | 246 |
!MenuEditor class methodsFor:'help specs'! |
247 |
||
1545 | 248 |
flyByHelpSpec |
1629 | 249 |
^super flyByHelpSpec addPairsFrom:(self localFlyHelpSpecStrings) |
1545 | 250 |
! |
251 |
||
371 | 252 |
helpSpec |
1690 | 253 |
"This resource specification was automatically generated |
254 |
by the UIHelpTool of ST/X." |
|
255 |
||
256 |
"Do not manually edit this!! If it is corrupted, |
|
257 |
the UIHelpTool may not be able to read the specification." |
|
258 |
||
259 |
" |
|
260 |
UIHelpTool openOnClass:MenuEditor |
|
261 |
" |
|
262 |
||
263 |
<resource: #help> |
|
264 |
||
265 |
^ super helpSpec addPairsFrom:#( |
|
266 |
||
267 |
#addDelayedMenu |
|
268 |
'Add a new delayed menu to item.' |
|
269 |
||
270 |
#addDelayedSubMenuLink |
|
271 |
'Add a new linked delayed menu to item.' |
|
272 |
||
273 |
#addMenuItem |
|
274 |
'Add a new menu item.' |
|
275 |
||
276 |
#addMenuSeparator |
|
277 |
'Add a new menu separator.' |
|
278 |
||
1844 | 279 |
#addMenuSliceItem |
280 |
'Add a new menu slice.' |
|
281 |
||
1690 | 282 |
#addSubMenu |
283 |
'Add a new sub menu.' |
|
284 |
||
285 |
#addSubMenuLink |
|
286 |
'Add a new linked sub menu.' |
|
287 |
||
288 |
#basicsAction |
|
289 |
'An action selector with 0, 1 (the argument field), or 2 (the selected item) arguments.' |
|
290 |
||
291 |
#basicsArgument |
|
292 |
'An optional arg passed with above selector, if it is a 1 or 2 arg selector (enter a Smalltalk literal).' |
|
293 |
||
294 |
#basicsChoice |
|
295 |
'Aspect for a boolean holder, block or method, specifying the choices state (RadioButton behavior).' |
|
296 |
||
297 |
#basicsChoiceValue |
|
298 |
'That choices value (typically number or symbol).' |
|
299 |
||
300 |
#basicsIndication |
|
301 |
'Aspect for boolean holder, block, or method, specifying the indication state (CheckToggle behavior).' |
|
302 |
||
303 |
#basicsIsButton |
|
304 |
'Button-like look and behavior.' |
|
305 |
||
306 |
#basicsKey |
|
307 |
'Internal key of the item (optional, for programmed accesses).' |
|
308 |
||
309 |
#basicsLabel |
|
310 |
'Label of the item.' |
|
311 |
||
312 |
#basicsMenu |
|
313 |
'Aspect providing the sub menu to be opened if item is selected (provide spec or valueHolder).' |
|
314 |
||
315 |
#basicsMenuArgument |
|
316 |
'An argument passed with the menu selector.' |
|
317 |
||
318 |
#basicsNameKey |
|
319 |
'Unique identifier of the item (optional).' |
|
320 |
||
321 |
#basicsSelector |
|
322 |
'Selector under which the generated menu spec is saved.' |
|
323 |
||
324 |
#basicsSeparatorType |
|
325 |
'List of valid separators.' |
|
326 |
||
327 |
#basicsTranslateLabel |
|
328 |
'Translate the label via the classes resource file (internationalization).' |
|
329 |
||
330 |
#browseResource |
|
331 |
'Search for methods with image resource.' |
|
332 |
||
333 |
#detailsAccelerator |
|
334 |
'Accelerator key to select the menu item from the keyboard (Cmdx or Ctrlx).' |
|
335 |
||
336 |
#detailsAccessCharaterPosition |
|
337 |
'Index of the access character position of the textual label (obsolete, VW compatibility).' |
|
338 |
||
339 |
#detailsAuxValue |
|
340 |
'Some additional value - for arbitrary use by the program.' |
|
341 |
||
342 |
#detailsEnabled |
|
1702 | 343 |
'Aspect or binding providing a boolean value holder to enable/disable the menu item.' |
1690 | 344 |
|
1844 | 345 |
#detailsIgnoreAcceleratorKeys |
346 |
'Ignore accelerator keys in submenu(s).' |
|
347 |
||
348 |
#detailsIgnoreMnemonicKeys |
|
349 |
'Ignore mnemonic keys (access characters) in submenu(s).' |
|
350 |
||
1690 | 351 |
#detailsStartGroup |
352 |
'Specify start of a right-aligned item group.' |
|
353 |
||
354 |
#detailsVisibility |
|
355 |
'Boolean, or aspect or binding for a boolean holder controlling the visibility of the menu item.' |
|
356 |
||
357 |
#fileLoad |
|
358 |
'Load a menu spec from a class.' |
|
359 |
||
360 |
#fileNew |
|
361 |
'Create a new menu spec.' |
|
362 |
||
363 |
#filePickAMenu |
|
364 |
'Select a menu from an open view and read its specification' |
|
365 |
||
366 |
#fileSave |
|
367 |
'Save the menu spec (and the help spec, if modified).' |
|
368 |
||
369 |
#fileSaveAs |
|
370 |
'Open a dialog to save the menu spec (and the help spec, if modified).' |
|
371 |
||
372 |
#fileShowMenuSpec |
|
373 |
'Opens a Workspace showing the current menu spec.' |
|
374 |
||
375 |
#generateAspectMethods |
|
376 |
'Generates aspect methods for defined aspect selectors of the menu.' |
|
377 |
||
378 |
#hideMenuOnActivated |
|
1702 | 379 |
'If on, the menu hides itself after the item was activated (PopUp/PullDown-Menus only).' |
1690 | 380 |
|
381 |
#horizontalLayout |
|
382 |
'If on, the submenu organizes its items horizontal insteat of vertical (default).' |
|
383 |
||
384 |
#imageImageAndLabel |
|
385 |
'Toggle display of both image and textual label.' |
|
386 |
||
387 |
#imageImageEditor |
|
388 |
'Open an Image Editor on the resource method defined by retriever and selector.' |
|
389 |
||
390 |
#imageImageList |
|
391 |
'Currently existing image resources.' |
|
392 |
||
393 |
#imageRetriever |
|
1702 | 394 |
'Class implementing the image resource method. If unspecified, the application class is taken.' |
1690 | 395 |
|
396 |
#imageSelector |
|
397 |
'Selector returning an image (sent to above or the application).' |
|
398 |
||
399 |
#keepLinkedMenu |
|
400 |
'Keep the linked menu after activation (do not destroy).' |
|
401 |
||
402 |
#sendToOriginator |
|
1702 | 403 |
'Send action-Message to widget (instead of application); only valid for PopUpMenus.' |
1690 | 404 |
|
405 |
#settingsRedefineAspectMethods |
|
406 |
'Toggles the permission to overwrite existing aspect methods.' |
|
407 |
||
408 |
#showBusyCursorWhilePerforming |
|
409 |
'If on, a busy cursor is shown while the items action is performing.' |
|
410 |
||
411 |
#triggerOnDown |
|
1702 | 412 |
'If on, the items action is performed on mouse-button press (default is: on button-release).' |
1690 | 413 |
|
414 |
) |
|
1606 | 415 |
! |
416 |
||
1629 | 417 |
localFlyHelpSpecStrings |
418 |
"This resource specification was automatically generated |
|
419 |
by the UIHelpTool of ST/X." |
|
420 |
||
421 |
"Do not manually edit this!! If it is corrupted, |
|
422 |
the UIHelpTool may not be able to read the specification." |
|
423 |
||
424 |
" |
|
425 |
UIHelpTool openOnClass:MenuEditor |
|
426 |
" |
|
427 |
||
428 |
<resource: #help> |
|
429 |
||
430 |
^ #( |
|
431 |
||
1820 | 432 |
#editCut |
433 |
'Cut Item' |
|
434 |
||
435 |
#editCopy |
|
436 |
'Copy Item' |
|
437 |
||
438 |
#editPaste |
|
439 |
'Paste Item' |
|
440 |
||
1629 | 441 |
#fileLoad |
1886 | 442 |
'Load Menuspec from Method' |
1629 | 443 |
|
444 |
#fileSave |
|
1886 | 445 |
'Save Menuspec as Method' |
1629 | 446 |
|
447 |
#fileSaveAs |
|
1886 | 448 |
'Save Menuspec as Method...' |
1629 | 449 |
|
450 |
#addMenuSeparator |
|
451 |
'Add Separator' |
|
452 |
||
453 |
#addMenuItem |
|
454 |
'Add Item' |
|
455 |
||
1891 | 456 |
#addMenuSlice |
457 |
'Add Menuslice' |
|
458 |
||
1629 | 459 |
#addSubMenu |
460 |
'Add Submenu' |
|
461 |
||
462 |
#addDelayedMenu |
|
463 |
'Add Delayed Menu' |
|
464 |
||
465 |
#addDelayedSubMenuLink |
|
1891 | 466 |
'Add Delayed Linked Menu' |
1629 | 467 |
|
468 |
#addSubMenuLink |
|
1656 | 469 |
'Add Linked Submenu' |
1629 | 470 |
|
471 |
#fileNew |
|
1886 | 472 |
'New Menuspec' |
1629 | 473 |
) |
371 | 474 |
! ! |
475 |
||
734 | 476 |
!MenuEditor class methodsFor:'image specs'! |
477 |
||
1606 | 478 |
iconUnknown |
479 |
"returns an image used for picked items containing an image |
|
734 | 480 |
" |
1606 | 481 |
<resource: #fileImage> |
482 |
||
483 |
^ MenuPanelSpec icon |
|
1425 | 484 |
! ! |
734 | 485 |
|
199 | 486 |
!MenuEditor class methodsFor:'interface specs'! |
487 |
||
525 | 488 |
windowSpec |
738 | 489 |
"This resource specification was automatically generated |
490 |
by the UIPainter of ST/X." |
|
491 |
||
492 |
"Do not manually edit this!! If it is corrupted, |
|
493 |
the UIPainter may not be able to read the specification." |
|
525 | 494 |
|
495 |
" |
|
496 |
UIPainter new openOnClass:MenuEditor andSelector:#windowSpec |
|
497 |
MenuEditor new openInterface:#windowSpec |
|
738 | 498 |
MenuEditor open |
525 | 499 |
" |
500 |
||
501 |
<resource: #canvas> |
|
502 |
||
1244 | 503 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
504 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
505 |
name: windowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
506 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
507 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
508 |
label: 'Menu Editor' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
509 |
name: 'Menu Editor' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
510 |
min: (Point 550 385) |
2003 | 511 |
bounds: (Rectangle 0 0 574 473) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
512 |
menu: menu |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
513 |
returnIsOKInDialog: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
514 |
escapeIsCancelInDialog: false |
1244 | 515 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
516 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
517 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
518 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
519 |
(MenuPanelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
520 |
name: 'toolbar' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
521 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
522 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
523 |
menu: toolbar |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
524 |
showSeparatingLines: true |
1244 | 525 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
526 |
(VariableHorizontalPanelSpec |
1999 | 527 |
name: 'mainPanel' |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
528 |
layout: (LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
529 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
530 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
531 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
532 |
(HierarchicalListViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
533 |
name: 'ListOfItemsView' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
534 |
model: selectionHolder |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
535 |
menu: editMenu |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
536 |
hasHorizontalScrollBar: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
537 |
hasVerticalScrollBar: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
538 |
miniScrollerHorizontal: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
539 |
miniScrollerVertical: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
540 |
listModel: listOfItems |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
541 |
multipleSelectOk: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
542 |
useIndex: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
543 |
highlightMode: label |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
544 |
doubleClickSelector: indicatorClickedAt: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
545 |
selectConditionSelector: canSelect: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
546 |
showLeftIndicators: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
547 |
indicatorSelector: indicatorClickedAt: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
548 |
properties: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
549 |
(PropertyListDictionary |
2003 | 550 |
leaveSelector: dropLeave: |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
551 |
dragArgument: nil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
552 |
dropObjectSelector: dropObjects |
1788 | 553 |
overSelector: dropOver: |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
554 |
dropArgument: nil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
555 |
canDropSelector: canDrop: |
1999 | 556 |
enterSelector: dropEnter: |
2003 | 557 |
dropSelector: doDrop: |
1606 | 558 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
559 |
postBuildCallback: postBuildListOfItemsView: |
1244 | 560 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
561 |
(ViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
562 |
name: 'Box' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
563 |
level: -1 |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
564 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
565 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
566 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
567 |
(NoteBookViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
568 |
name: 'NoteBook' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
569 |
layout: (LayoutFrame 1 0.0 0 0.0 1 1.0 -30 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
570 |
enableChannel: hasSingleSelectionChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
571 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
572 |
model: tabHolder |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
573 |
menu: listOfTabs |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
574 |
fitLastRow: false |
1788 | 575 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
576 |
canvas: wizardHolder |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
577 |
keepCanvasAlive: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
578 |
postBuildCallback: postBuildNoteBook: |
1244 | 579 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
580 |
(UISubSpecification |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
581 |
name: 'SubSpecification' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
582 |
layout: (LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
583 |
majorKey: ToolApplicationModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
584 |
minorKey: windowSpecForCommit |
525 | 585 |
) |
1244 | 586 |
) |
587 |
||
525 | 588 |
) |
1244 | 589 |
) |
590 |
) |
|
591 |
||
525 | 592 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
593 |
handles: (Any 0.300493 1.0) |
1244 | 594 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
595 |
(UISubSpecification |
1997 | 596 |
name: 'infoBarSubSpec' |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
597 |
layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
598 |
majorKey: ToolApplicationModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1730
diff
changeset
|
599 |
minorKey: windowSpecForInfoBar |
1244 | 600 |
) |
601 |
) |
|
602 |
||
603 |
) |
|
525 | 604 |
) |
605 |
! ! |
|
606 |
||
607 |
!MenuEditor class methodsFor:'menu specs'! |
|
608 |
||
1606 | 609 |
addMenu |
610 |
"This resource specification was automatically generated |
|
611 |
by the MenuEditor of ST/X." |
|
612 |
||
613 |
"Do not manually edit this!! If it is corrupted, |
|
614 |
the MenuEditor may not be able to read the specification." |
|
615 |
||
616 |
" |
|
617 |
MenuEditor new openOnClass:MenuEditor andSelector:#addMenu |
|
618 |
(Menu new fromLiteralArrayEncoding:(MenuEditor addMenu)) startUp |
|
619 |
" |
|
620 |
||
621 |
<resource: #menu> |
|
622 |
||
623 |
^ |
|
1844 | 624 |
#(Menu |
625 |
( |
|
626 |
(MenuItem |
|
627 |
activeHelpKey: addMenuSeparator |
|
628 |
label: 'Separator' |
|
629 |
itemValue: doCreateSep |
|
630 |
translateLabel: true |
|
631 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconSeparator '') |
|
1606 | 632 |
) |
1844 | 633 |
(MenuItem |
634 |
activeHelpKey: addMenuItem |
|
635 |
label: 'Item' |
|
636 |
itemValue: doCreateItem |
|
637 |
translateLabel: true |
|
638 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconItem '') |
|
1606 | 639 |
) |
1844 | 640 |
(MenuItem |
641 |
activeHelpKey: addMenuSliceItem |
|
642 |
label: 'Menu Slice' |
|
643 |
itemValue: doCreateMenuSliceItem |
|
644 |
translateLabel: true |
|
645 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconSliceMenu '') |
|
1606 | 646 |
) |
1844 | 647 |
(MenuItem |
648 |
activeHelpKey: addMenuItem |
|
649 |
label: 'Menu' |
|
650 |
itemValue: doCreateMenu |
|
651 |
translateLabel: true |
|
652 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconMenu '') |
|
1606 | 653 |
) |
1844 | 654 |
(MenuItem |
655 |
activeHelpKey: addSubMenuLink |
|
656 |
label: 'Linked Menu' |
|
657 |
itemValue: doCreateLinkedMenu |
|
658 |
translateLabel: true |
|
659 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconLinkedMenu '') |
|
1606 | 660 |
) |
1844 | 661 |
(MenuItem |
662 |
label: '-' |
|
1606 | 663 |
) |
1844 | 664 |
(MenuItem |
665 |
activeHelpKey: addDelayedMenu |
|
666 |
enabled: canCreateDelayedMenuChannel |
|
667 |
label: 'Delayed Menu' |
|
668 |
itemValue: doCreateDelayedMenu: |
|
669 |
translateLabel: true |
|
670 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconDelayedMenu '') |
|
671 |
argument: menu |
|
1606 | 672 |
) |
1844 | 673 |
(MenuItem |
674 |
activeHelpKey: addDelayedSubMenuLink |
|
675 |
enabled: canCreateDelayedMenuChannel |
|
676 |
label: 'Delayed Linked Menu' |
|
677 |
itemValue: doCreateDelayedMenu: |
|
678 |
translateLabel: true |
|
679 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconDelayedLinkedMenu '') |
|
680 |
argument: linkedMenu |
|
1606 | 681 |
) |
1844 | 682 |
(MenuItem |
683 |
label: '-' |
|
684 |
) |
|
685 |
(MenuItem |
|
686 |
label: 'Standard Menus' |
|
687 |
translateLabel: true |
|
688 |
submenuChannel: standardMenus |
|
689 |
keepLinkedMenu: true |
|
1606 | 690 |
) |
691 |
) |
|
692 |
nil |
|
693 |
nil |
|
694 |
) |
|
695 |
! |
|
696 |
||
697 |
editMenu |
|
698 |
"This resource specification was automatically generated |
|
699 |
by the MenuEditor of ST/X." |
|
700 |
||
701 |
"Do not manually edit this!! If it is corrupted, |
|
702 |
the MenuEditor may not be able to read the specification." |
|
703 |
||
704 |
" |
|
705 |
MenuEditor new openOnClass:MenuEditor andSelector:#editMenu |
|
706 |
(Menu new fromLiteralArrayEncoding:(MenuEditor editMenu)) startUp |
|
707 |
" |
|
708 |
||
709 |
<resource: #menu> |
|
710 |
||
711 |
^ |
|
712 |
#(#Menu |
|
1631 | 713 |
#( |
714 |
#(#MenuItem |
|
715 |
#activeHelpKey: #editCut |
|
716 |
#enabled: #hasSelectionChannel |
|
1632 | 717 |
#label: 'Cut' |
718 |
#itemValue: #doCut |
|
719 |
#translateLabel: true |
|
1631 | 720 |
) |
721 |
#(#MenuItem |
|
722 |
#activeHelpKey: #editCopy |
|
723 |
#enabled: #hasSelectionChannel |
|
1632 | 724 |
#label: 'Copy' |
725 |
#itemValue: #doCopy |
|
726 |
#translateLabel: true |
|
1631 | 727 |
) |
728 |
#(#MenuItem |
|
729 |
#activeHelpKey: #editPaste |
|
1988 | 730 |
#enabled: #canPasteHolder |
1632 | 731 |
#label: 'Paste' |
732 |
#itemValue: #doPaste |
|
733 |
#translateLabel: true |
|
1631 | 734 |
) |
735 |
#(#MenuItem |
|
1632 | 736 |
#activeHelpKey: #editDelete |
737 |
#enabled: #hasSelectionChannel |
|
1631 | 738 |
#label: 'Delete' |
1632 | 739 |
#itemValue: #doDelete |
1631 | 740 |
#translateLabel: true |
741 |
#isVisible: false |
|
742 |
) |
|
743 |
#(#MenuItem |
|
744 |
#label: '-' |
|
745 |
) |
|
746 |
#(#MenuItem |
|
747 |
#activeHelpKey: #editMoveUp |
|
748 |
#enabled: #valueOfEnableMovingUpOrDown |
|
1632 | 749 |
#label: 'Move Up' |
750 |
#itemValue: #doMoveUpOrDown: |
|
751 |
#translateLabel: true |
|
752 |
#startGroup: #right |
|
753 |
#labelImage: #(#ResourceRetriever #Icon #upIcon '') |
|
1631 | 754 |
#argument: #up |
755 |
) |
|
756 |
#(#MenuItem |
|
757 |
#activeHelpKey: #editMoveDown |
|
758 |
#enabled: #valueOfEnableMovingUpOrDown |
|
1632 | 759 |
#label: 'Move Down' |
760 |
#itemValue: #doMoveUpOrDown: |
|
761 |
#translateLabel: true |
|
762 |
#labelImage: #(#ResourceRetriever #Icon #downIcon '') |
|
1631 | 763 |
#argument: #down |
764 |
) |
|
765 |
#(#MenuItem |
|
766 |
#activeHelpKey: #editMoveIn |
|
767 |
#enabled: #valueOfEnableMovingIn |
|
1632 | 768 |
#label: 'Move Into Next' |
769 |
#itemValue: #doMoveIn: |
|
770 |
#translateLabel: true |
|
771 |
#labelImage: #(#ResourceRetriever #Icon #downRightIcon '') |
|
1631 | 772 |
#argument: #inNext |
773 |
) |
|
774 |
#(#MenuItem |
|
775 |
#activeHelpKey: #editMoveInAbove |
|
776 |
#enabled: #valueOfEnableMovingInAbove |
|
1632 | 777 |
#label: 'Move Into Previous' |
778 |
#itemValue: #doMoveIn: |
|
779 |
#translateLabel: true |
|
780 |
#labelImage: #(#ResourceRetriever #Icon #upRightIcon '') |
|
1631 | 781 |
#argument: #inPrev |
782 |
) |
|
783 |
#(#MenuItem |
|
784 |
#activeHelpKey: #editMoveOut |
|
785 |
#enabled: #valueOfEnableMovingOut |
|
1632 | 786 |
#label: 'Move Out' |
787 |
#itemValue: #doMoveOut |
|
788 |
#translateLabel: true |
|
789 |
#labelImage: #(#ResourceRetriever #Icon #leftDownIcon '') |
|
1631 | 790 |
) |
791 |
) |
|
792 |
nil |
|
793 |
nil |
|
1606 | 794 |
) |
795 |
! |
|
796 |
||
797 |
fileMenu |
|
798 |
"This resource specification was automatically generated |
|
799 |
by the MenuEditor of ST/X." |
|
800 |
||
801 |
"Do not manually edit this!! If it is corrupted, |
|
802 |
the MenuEditor may not be able to read the specification." |
|
803 |
||
804 |
" |
|
805 |
MenuEditor new openOnClass:MenuEditor andSelector:#fileMenu |
|
806 |
(Menu new fromLiteralArrayEncoding:(MenuEditor fileMenu)) startUp |
|
807 |
" |
|
808 |
||
809 |
<resource: #menu> |
|
810 |
||
811 |
^ |
|
1971 | 812 |
#(Menu |
813 |
( |
|
814 |
(MenuItem |
|
815 |
activeHelpKey: fileNew |
|
816 |
label: 'New' |
|
817 |
itemValue: doNew |
|
818 |
translateLabel: true |
|
1606 | 819 |
) |
1971 | 820 |
(MenuItem |
821 |
label: '-' |
|
822 |
) |
|
823 |
(MenuItem |
|
824 |
activeHelpKey: fileLoad |
|
825 |
label: 'Load...' |
|
826 |
itemValue: doLoad |
|
827 |
translateLabel: true |
|
1606 | 828 |
) |
1971 | 829 |
(MenuItem |
830 |
label: '-' |
|
1606 | 831 |
) |
1971 | 832 |
(MenuItem |
833 |
activeHelpKey: fileSave |
|
834 |
label: 'Save' |
|
835 |
itemValue: doSave |
|
836 |
translateLabel: true |
|
1606 | 837 |
) |
1971 | 838 |
(MenuItem |
839 |
activeHelpKey: fileSaveAs |
|
840 |
label: 'Save As...' |
|
841 |
itemValue: doSaveAs |
|
842 |
translateLabel: true |
|
1606 | 843 |
) |
1971 | 844 |
(MenuItem |
845 |
label: '-' |
|
1606 | 846 |
) |
1971 | 847 |
(MenuItem |
848 |
activeHelpKey: filePickAMenu |
|
849 |
label: 'Pick a Menu...' |
|
850 |
itemValue: doPickAMenu |
|
851 |
translateLabel: true |
|
1606 | 852 |
) |
1971 | 853 |
(MenuItem |
854 |
label: '-' |
|
855 |
isVisible: isStandAlone |
|
1606 | 856 |
) |
1971 | 857 |
(MenuItem |
858 |
activeHelpKey: fileBrowseClass |
|
859 |
enabled: hasValidSpecClass |
|
860 |
label: 'Browse Class' |
|
861 |
itemValue: doBrowseClass |
|
862 |
translateLabel: true |
|
863 |
isVisible: isStandAlone |
|
1606 | 864 |
) |
1971 | 865 |
(MenuItem |
866 |
activeHelpKey: fileShowMenuSpec |
|
867 |
label: 'Show Menu Spec' |
|
868 |
itemValue: doShowMenuSpec |
|
869 |
translateLabel: true |
|
870 |
isVisible: isStandAlone |
|
1606 | 871 |
) |
1971 | 872 |
(MenuItem |
873 |
label: '-' |
|
874 |
isVisible: isStandAlone |
|
1606 | 875 |
) |
1971 | 876 |
(MenuItem |
877 |
activeHelpKey: fileExit |
|
878 |
label: 'Exit' |
|
879 |
itemValue: closeRequest |
|
880 |
translateLabel: true |
|
881 |
isVisible: isStandAlone |
|
1606 | 882 |
) |
883 |
) |
|
884 |
nil |
|
885 |
nil |
|
886 |
) |
|
887 |
! |
|
888 |
||
1614 | 889 |
generateMenu |
890 |
"This resource specification was automatically generated |
|
891 |
by the MenuEditor of ST/X." |
|
892 |
||
893 |
"Do not manually edit this!! If it is corrupted, |
|
894 |
the MenuEditor may not be able to read the specification." |
|
895 |
||
896 |
" |
|
897 |
MenuEditor new openOnClass:MenuEditor andSelector:#generateMenu |
|
898 |
(Menu new fromLiteralArrayEncoding:(MenuEditor generateMenu)) startUp |
|
899 |
" |
|
900 |
||
901 |
<resource: #menu> |
|
902 |
||
903 |
^ |
|
904 |
#(#Menu |
|
905 |
#( |
|
906 |
#(#MenuItem |
|
907 |
#activeHelpKey: #generateAspectMethods |
|
908 |
#enabled: #hasValidSpecClass |
|
1632 | 909 |
#label: 'Aspect Methods' |
910 |
#itemValue: #doGenerateAspectMethods |
|
911 |
#translateLabel: true |
|
1614 | 912 |
) |
913 |
) |
|
914 |
nil |
|
915 |
nil |
|
916 |
) |
|
917 |
! |
|
918 |
||
1606 | 919 |
helpMenu |
920 |
"This resource specification was automatically generated |
|
921 |
by the MenuEditor of ST/X." |
|
922 |
||
923 |
"Do not manually edit this!! If it is corrupted, |
|
924 |
the MenuEditor may not be able to read the specification." |
|
925 |
||
926 |
" |
|
927 |
MenuEditor new openOnClass:MenuEditor andSelector:#helpMenu |
|
928 |
(Menu new fromLiteralArrayEncoding:(MenuEditor helpMenu)) startUp |
|
929 |
" |
|
930 |
||
931 |
<resource: #menu> |
|
932 |
||
933 |
^ |
|
934 |
#(#Menu |
|
935 |
#( |
|
936 |
#(#MenuItem |
|
1632 | 937 |
#activeHelpKey: #helpTutorial |
1606 | 938 |
#label: 'Documentation' |
1632 | 939 |
#itemValue: #openHTMLDocument: |
1606 | 940 |
#translateLabel: true |
941 |
#argument: 'tools/uipainter/MenuEditor.html' |
|
942 |
) |
|
943 |
#(#MenuItem |
|
944 |
#label: '-' |
|
945 |
) |
|
946 |
#(#MenuItem |
|
1632 | 947 |
#activeHelpKey: #helpHelpTool |
1606 | 948 |
#label: 'Help Tool' |
1632 | 949 |
#itemValue: #openHTMLDocument: |
1606 | 950 |
#translateLabel: true |
951 |
#argument: 'tools/uipainter/HelpTool.html' |
|
952 |
) |
|
953 |
#(#MenuItem |
|
954 |
#label: '-' |
|
955 |
) |
|
956 |
#(#MenuItem |
|
1632 | 957 |
#activeHelpKey: #helpShowHelp |
1606 | 958 |
#label: 'Show Help Texts' |
959 |
#translateLabel: true |
|
960 |
#indication: #showingHelp: |
|
961 |
) |
|
962 |
#(#MenuItem |
|
963 |
#label: '-' |
|
964 |
) |
|
965 |
#(#MenuItem |
|
1632 | 966 |
#activeHelpKey: #aboutThisAppliaction |
1606 | 967 |
#label: 'About MenuEditor...' |
1632 | 968 |
#itemValue: #openAboutThisApplication |
1606 | 969 |
#translateLabel: true |
970 |
) |
|
971 |
) |
|
972 |
nil |
|
973 |
nil |
|
974 |
) |
|
975 |
! |
|
976 |
||
525 | 977 |
menu |
738 | 978 |
"This resource specification was automatically generated |
979 |
by the MenuEditor of ST/X." |
|
980 |
||
981 |
"Do not manually edit this!! If it is corrupted, |
|
982 |
the MenuEditor may not be able to read the specification." |
|
525 | 983 |
|
984 |
" |
|
985 |
MenuEditor new openOnClass:MenuEditor andSelector:#menu |
|
986 |
(Menu new fromLiteralArrayEncoding:(MenuEditor menu)) startUp |
|
987 |
" |
|
988 |
||
989 |
<resource: #menu> |
|
990 |
||
1566 | 991 |
^ |
1775 | 992 |
#(Menu |
993 |
( |
|
994 |
(MenuItem |
|
995 |
label: '&File' |
|
996 |
translateLabel: true |
|
997 |
submenuChannel: fileMenu |
|
998 |
keepLinkedMenu: true |
|
1566 | 999 |
) |
1775 | 1000 |
(MenuItem |
1001 |
label: '&Edit' |
|
1002 |
translateLabel: true |
|
1003 |
submenuChannel: editMenu |
|
1004 |
keepLinkedMenu: true |
|
1566 | 1005 |
) |
1775 | 1006 |
(MenuItem |
1007 |
enabled: hasSingleSelectionChannel |
|
1008 |
label: 'Item' |
|
1009 |
translateLabel: true |
|
1010 |
submenuChannel: addMenu |
|
1011 |
keepLinkedMenu: true |
|
1566 | 1012 |
) |
1775 | 1013 |
(MenuItem |
1014 |
label: 'Generate' |
|
1015 |
translateLabel: true |
|
1016 |
submenuChannel: generateMenu |
|
1017 |
keepLinkedMenu: true |
|
1631 | 1018 |
) |
1775 | 1019 |
(MenuItem |
1020 |
label: 'Test' |
|
1021 |
translateLabel: true |
|
1022 |
submenuChannel: submenuTest |
|
1566 | 1023 |
) |
1775 | 1024 |
(MenuItem |
1025 |
label: 'Settings' |
|
1026 |
translateLabel: true |
|
1027 |
submenuChannel: settingsMenu |
|
1028 |
keepLinkedMenu: true |
|
1631 | 1029 |
) |
1775 | 1030 |
(MenuItem |
1031 |
label: 'History' |
|
1032 |
translateLabel: true |
|
1971 | 1033 |
isVisible: isStandAlone |
1775 | 1034 |
submenuChannel: menuHistory |
1566 | 1035 |
) |
1775 | 1036 |
(MenuItem |
1037 |
label: '&Help' |
|
1038 |
translateLabel: true |
|
1039 |
startGroup: right |
|
1040 |
submenuChannel: helpMenu |
|
1041 |
keepLinkedMenu: true |
|
1566 | 1042 |
) |
1043 |
) |
|
1044 |
nil |
|
1045 |
nil |
|
525 | 1046 |
) |
1047 |
! |
|
1048 |
||
1631 | 1049 |
settingsMenu |
1050 |
"This resource specification was automatically generated |
|
1051 |
by the MenuEditor of ST/X." |
|
1052 |
||
1053 |
"Do not manually edit this!! If it is corrupted, |
|
1054 |
the MenuEditor may not be able to read the specification." |
|
1055 |
||
1056 |
" |
|
1632 | 1057 |
MenuEditor new openOnClass:MenuEditor andSelector:#settingsMenu |
1058 |
(Menu new fromLiteralArrayEncoding:(MenuEditor settingsMenu)) startUp |
|
1631 | 1059 |
" |
1060 |
||
1061 |
<resource: #menu> |
|
1062 |
||
1063 |
^ |
|
1064 |
#(#Menu |
|
1065 |
#( |
|
1066 |
#(#MenuItem |
|
1632 | 1067 |
#activeHelpKey: #settingsRedefineAspectMethods |
1068 |
#enabled: #hasValidSpecClass |
|
1631 | 1069 |
#label: 'Redefine Aspect Methods' |
1070 |
#translateLabel: true |
|
1071 |
#hideMenuOnActivated: false |
|
1072 |
#indication: #redefineAspectMethodsChannel |
|
1073 |
) |
|
1711
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1074 |
#(#MenuItem |
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1075 |
#activeHelpKey: #settingsRedefineAspectMethods |
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1076 |
#label: 'AutoAccept on Selection-Change' |
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1077 |
#translateLabel: true |
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1078 |
#hideMenuOnActivated: false |
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1079 |
#indication: #autoAcceptOnSelectionChange |
548d690e780f
auto-accept on selection change
Claus Gittinger <cg@exept.de>
parents:
1702
diff
changeset
|
1080 |
) |
1631 | 1081 |
) |
1082 |
nil |
|
1083 |
nil |
|
1084 |
) |
|
1085 |
! |
|
1086 |
||
1606 | 1087 |
standardMenus |
738 | 1088 |
"This resource specification was automatically generated |
1089 |
by the MenuEditor of ST/X." |
|
1090 |
||
1091 |
"Do not manually edit this!! If it is corrupted, |
|
1092 |
the MenuEditor may not be able to read the specification." |
|
525 | 1093 |
|
1094 |
" |
|
1606 | 1095 |
MenuEditor new openOnClass:MenuEditor andSelector:#standardMenus |
1096 |
(Menu new fromLiteralArrayEncoding:(MenuEditor standardMenus)) startUp |
|
525 | 1097 |
" |
1098 |
||
1099 |
<resource: #menu> |
|
1100 |
||
1606 | 1101 |
^ |
1102 |
#(#Menu |
|
1632 | 1103 |
#( |
1104 |
#(#MenuItem |
|
1730 | 1105 |
#label: 'Standard Menu: File' |
1106 |
#itemValue: #doCreateStandardFileMenu |
|
1107 |
#translateLabel: true |
|
1108 |
) |
|
1109 |
#(#MenuItem |
|
1632 | 1110 |
#label: 'Standard Menu: Edit' |
1111 |
#itemValue: #doCreateStandardEditMenu |
|
1112 |
#translateLabel: true |
|
1113 |
) |
|
1114 |
#(#MenuItem |
|
1115 |
#label: 'Standard Menu: Help' |
|
1116 |
#itemValue: #doCreateStandardHelpMenu |
|
1117 |
#translateLabel: true |
|
1118 |
) |
|
1119 |
) |
|
1120 |
nil |
|
1121 |
nil |
|
525 | 1122 |
) |
1123 |
! |
|
1124 |
||
1606 | 1125 |
toolbar |
738 | 1126 |
"This resource specification was automatically generated |
1127 |
by the MenuEditor of ST/X." |
|
1128 |
||
1129 |
"Do not manually edit this!! If it is corrupted, |
|
1130 |
the MenuEditor may not be able to read the specification." |
|
525 | 1131 |
|
1132 |
" |
|
1606 | 1133 |
MenuEditor new openOnClass:MenuEditor andSelector:#toolbar |
1134 |
(Menu new fromLiteralArrayEncoding:(MenuEditor toolbar)) startUp |
|
525 | 1135 |
" |
1136 |
||
1137 |
<resource: #menu> |
|
1138 |
||
1322 | 1139 |
^ |
1749 | 1140 |
#(Menu |
1141 |
( |
|
1142 |
(MenuItem |
|
1143 |
activeHelpKey: fileNew |
|
1144 |
label: 'New' |
|
1145 |
itemValue: doNew |
|
1146 |
translateLabel: true |
|
1147 |
isButton: true |
|
1886 | 1148 |
labelImage: (ResourceRetriever ToolbarIconLibrary newMenuIcon) |
1690 | 1149 |
) |
1749 | 1150 |
(MenuItem |
1949 | 1151 |
label: '-' |
1152 |
) |
|
1153 |
(MenuItem |
|
1749 | 1154 |
activeHelpKey: fileLoad |
1155 |
label: 'Load' |
|
1156 |
itemValue: doLoad |
|
1157 |
translateLabel: true |
|
1158 |
isButton: true |
|
1159 |
submenuChannel: menuHistory |
|
1886 | 1160 |
labelImage: (ResourceRetriever ToolbarIconLibrary loadFromMethodIcon) |
1820 | 1161 |
keepLinkedMenu: true |
1322 | 1162 |
) |
1749 | 1163 |
(MenuItem |
1164 |
activeHelpKey: fileSave |
|
1165 |
label: 'Save' |
|
1166 |
itemValue: doSave |
|
1167 |
translateLabel: true |
|
1168 |
isButton: true |
|
1886 | 1169 |
labelImage: (ResourceRetriever ToolbarIconLibrary saveAsMethodIcon) |
1322 | 1170 |
) |
1749 | 1171 |
(MenuItem |
1908 | 1172 |
label: '-' |
1322 | 1173 |
) |
1749 | 1174 |
(MenuItem |
1175 |
activeHelpKey: editCut |
|
1176 |
enabled: hasSelectionChannel |
|
1177 |
label: 'Cut' |
|
1178 |
itemValue: doCut |
|
1179 |
translateLabel: true |
|
1180 |
isButton: true |
|
1886 | 1181 |
labelImage: (ResourceRetriever ToolbarIconLibrary cutMenuItemIcon) |
1322 | 1182 |
) |
1749 | 1183 |
(MenuItem |
1184 |
activeHelpKey: editCopy |
|
1185 |
enabled: hasSelectionChannel |
|
1186 |
label: 'Copy' |
|
1187 |
itemValue: doCopy |
|
1188 |
translateLabel: true |
|
1189 |
isButton: true |
|
1886 | 1190 |
labelImage: (ResourceRetriever ToolbarIconLibrary copyMenuItemIcon) |
1322 | 1191 |
) |
1749 | 1192 |
(MenuItem |
1193 |
activeHelpKey: editPaste |
|
1988 | 1194 |
enabled: canPasteHolder |
1749 | 1195 |
label: 'Paste' |
1196 |
itemValue: doPaste |
|
1197 |
translateLabel: true |
|
1198 |
isButton: true |
|
1886 | 1199 |
labelImage: (ResourceRetriever ToolbarIconLibrary pasteMenuItemIcon) |
1322 | 1200 |
) |
1749 | 1201 |
(MenuItem |
1908 | 1202 |
label: '-' |
1322 | 1203 |
) |
1749 | 1204 |
(MenuItem |
1913 | 1205 |
activeHelpKey: addMenuItem |
1206 |
enabled: hasSingleSelectionChannel |
|
1207 |
label: 'Add Item' |
|
1208 |
itemValue: doCreateItem |
|
1209 |
translateLabel: true |
|
1210 |
isButton: true |
|
1211 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconItem) |
|
1212 |
) |
|
1213 |
(MenuItem |
|
1749 | 1214 |
activeHelpKey: addMenuSeparator |
1215 |
enabled: hasSingleSelectionChannel |
|
1216 |
label: 'Add Separator' |
|
1217 |
itemValue: doCreateSep |
|
1218 |
translateLabel: true |
|
1219 |
isButton: true |
|
1220 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconSeparator) |
|
1322 | 1221 |
) |
1749 | 1222 |
(MenuItem |
1891 | 1223 |
activeHelpKey: addMenuSlice |
1844 | 1224 |
enabled: hasSingleSelectionChannel |
1225 |
label: 'Menu Slice' |
|
1226 |
itemValue: doCreateMenuSliceItem |
|
1227 |
translateLabel: true |
|
1228 |
isButton: true |
|
1229 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconSliceMenu) |
|
1230 |
) |
|
1231 |
(MenuItem |
|
1749 | 1232 |
activeHelpKey: addSubMenu |
1233 |
enabled: hasSingleSelectionChannel |
|
1234 |
label: 'Add Menu' |
|
1235 |
itemValue: doCreateMenu |
|
1236 |
translateLabel: true |
|
1237 |
isButton: true |
|
1238 |
submenuChannel: standardMenus |
|
1239 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconMenu) |
|
1820 | 1240 |
keepLinkedMenu: true |
1322 | 1241 |
) |
1749 | 1242 |
(MenuItem |
1243 |
activeHelpKey: addSubMenuLink |
|
1244 |
enabled: hasSingleSelectionChannel |
|
1245 |
label: 'Add Linked Menu' |
|
1246 |
itemValue: doCreateLinkedMenu |
|
1247 |
translateLabel: true |
|
1248 |
isButton: true |
|
1249 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconLinkedMenu) |
|
1322 | 1250 |
) |
1749 | 1251 |
(MenuItem |
1252 |
activeHelpKey: addDelayedMenu |
|
1253 |
enabled: canCreateDelayedMenuChannel |
|
1254 |
label: 'Add Delayed Menu' |
|
1255 |
itemValue: doCreateDelayedMenu: |
|
1256 |
translateLabel: true |
|
1257 |
isButton: true |
|
1258 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconDelayedMenu) |
|
1259 |
argument: menu |
|
1606 | 1260 |
) |
1749 | 1261 |
(MenuItem |
1262 |
activeHelpKey: addDelayedSubMenuLink |
|
1263 |
enabled: canCreateDelayedMenuChannel |
|
1264 |
label: 'Add Delayed Linked Menu' |
|
1265 |
itemValue: doCreateDelayedMenu: |
|
1266 |
translateLabel: true |
|
1267 |
isButton: true |
|
1268 |
labelImage: (ResourceRetriever #'MenuEditor::Item' iconDelayedLinkedMenu) |
|
1269 |
argument: linkedMenu |
|
1606 | 1270 |
) |
1749 | 1271 |
(MenuItem |
1908 | 1272 |
label: '' |
1273 |
) |
|
1274 |
(MenuItem |
|
1749 | 1275 |
activeHelpKey: editMoveUp |
1276 |
enabled: valueOfEnableMovingUpOrDown |
|
1277 |
label: 'Move Up' |
|
1958 | 1278 |
itemValue: doMoveUp |
1749 | 1279 |
translateLabel: true |
1280 |
isButton: true |
|
1281 |
startGroup: right |
|
1282 |
labelImage: (ResourceRetriever Icon upIcon) |
|
1322 | 1283 |
) |
1749 | 1284 |
(MenuItem |
1285 |
activeHelpKey: editMoveDown |
|
1286 |
enabled: valueOfEnableMovingUpOrDown |
|
1287 |
label: 'Move Down' |
|
1958 | 1288 |
itemValue: doMoveDown |
1749 | 1289 |
translateLabel: true |
1290 |
isButton: true |
|
1291 |
labelImage: (ResourceRetriever Icon downIcon) |
|
1322 | 1292 |
) |
1749 | 1293 |
(MenuItem |
1294 |
activeHelpKey: editMoveIn |
|
1295 |
enabled: valueOfEnableMovingIn |
|
1958 | 1296 |
label: 'Move Into Next' |
1297 |
itemValue: doMoveInNext |
|
1749 | 1298 |
translateLabel: true |
1299 |
isButton: true |
|
1300 |
labelImage: (ResourceRetriever Icon downRightIcon) |
|
1322 | 1301 |
) |
1749 | 1302 |
(MenuItem |
1303 |
activeHelpKey: editMoveInAbove |
|
1304 |
enabled: valueOfEnableMovingInAbove |
|
1958 | 1305 |
label: 'Move Into Previous' |
1306 |
itemValue: doMoveInPrevious |
|
1749 | 1307 |
translateLabel: true |
1308 |
isButton: true |
|
1309 |
labelImage: (ResourceRetriever Icon upRightIcon) |
|
1468 | 1310 |
) |
1749 | 1311 |
(MenuItem |
1312 |
activeHelpKey: editMoveOut |
|
1313 |
enabled: valueOfEnableMovingOut |
|
1314 |
label: 'Move Out' |
|
1315 |
itemValue: doMoveOut |
|
1316 |
translateLabel: true |
|
< |