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