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