MenuEditor.st
author ca
Fri, 06 Feb 1998 00:38:12 +0100
changeset 606 bf51357a8917
parent 603 fc00fc231df2
child 612 e0fd14c460ae
permissions -rw-r--r--
add: separators in/visible
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
     1
"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
     2
 COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
     3
              All Rights Reserved
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
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
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
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    13
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    14
398
155310ec83aa revised version
tz
parents: 382
diff changeset
    15
ToolApplicationModel subclass:#MenuEditor
356
269c117830ba before closing the builder, check for outstanding
ca
parents: 340
diff changeset
    16
	instanceVariableNames:'isModified specClass specCanvas helpCanvas tabSelection aspects
269c117830ba before closing the builder, check for outstanding
ca
parents: 340
diff changeset
    17
		slices didInstall'
220
ca
parents: 218
diff changeset
    18
	classVariableNames:''
ca
parents: 218
diff changeset
    19
	poolDictionaries:''
ca
parents: 218
diff changeset
    20
	category:'Interface-UIPainter'
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    21
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    22
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    23
Object subclass:#Item
220
ca
parents: 218
diff changeset
    24
	instanceVariableNames:'activeHelpKey enabled label value nameKey indication shortcutKey
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
    25
		accessCharacterPos retriever icon iconAndLabel submenuChannel
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
    26
		startGroup argument translateLabel isButton isVisible'
220
ca
parents: 218
diff changeset
    27
	classVariableNames:''
ca
parents: 218
diff changeset
    28
	poolDictionaries:''
ca
parents: 218
diff changeset
    29
	privateIn:MenuEditor
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    30
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    31
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
    32
SelectionInTreeView subclass:#TreeView
275
cdecb5b5d356 set fontHeight dependent on max. image height
ca
parents: 270
diff changeset
    33
	instanceVariableNames:'images'
cdecb5b5d356 set fontHeight dependent on max. image height
ca
parents: 270
diff changeset
    34
	classVariableNames:'CopyBuffer Images'
220
ca
parents: 218
diff changeset
    35
	poolDictionaries:''
ca
parents: 218
diff changeset
    36
	privateIn:MenuEditor
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    37
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    38
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    39
!MenuEditor class methodsFor:'documentation'!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    40
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    41
copyright
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    42
"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    43
 COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    44
              All Rights Reserved
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    45
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    46
 This software is furnished under a license and may be used
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    47
 only in accordance with the terms of that license and with the
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    48
 inclusion of the above copyright notice.   This software may not
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    49
 be provided or otherwise made available to, or used by, any
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    50
 other person.  No title to or ownership of the software is
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    51
 hereby transferred.
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    52
"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    53
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    54
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    55
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    56
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    57
documentation
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    58
"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    59
    create and modify or inspect popup and pullDown menus of the
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    60
    new style( derives from Menu).
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    61
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    62
    [start with:]
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    63
        MenuEditor open
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    64
        MenuEditor new openOnClass:MenuEditor andSelector:#menuPullDown
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    65
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    66
    [see also:]
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    67
        UIPainter
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    68
        UIHelpTool
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    69
        UISpecificationTool
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    70
        SelectionInTreeView
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    71
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    72
    [author:]
541
5dc124df04e2 author line in doc.
Claus Gittinger <cg@exept.de>
parents: 539
diff changeset
    73
        Claus Atzkern, eXept Software AG
5dc124df04e2 author line in doc.
Claus Gittinger <cg@exept.de>
parents: 539
diff changeset
    74
        Thomas Zwick, eXept Software AG
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    75
"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    76
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    77
! !
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
    78
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
    79
!MenuEditor class methodsFor:'initialization'!
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
    80
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
    81
initialize
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
    82
432
d35dccaa804c commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 422
diff changeset
    83
    super initialize.
d35dccaa804c commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 422
diff changeset
    84
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
    85
    TreeView initialize
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
    86
! !
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
    87
508
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    88
!MenuEditor class methodsFor:'instance creation'!
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    89
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    90
openModalOnClass:aClass andSelector:aSelector
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    91
    ^ self new openModalOnClass:aClass andSelector:aSelector
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    92
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    93
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    94
!
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    95
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    96
openOnClass:aClass andSelector:aSelector
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    97
    ^ self new openOnClass:aClass andSelector:aSelector
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    98
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
    99
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
   100
! !
968c6aa88ef0 updates channels after adding menu items
tz
parents: 507
diff changeset
   101
318
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   102
!MenuEditor class methodsFor:'code generation'!
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   103
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   104
sourceCategory
432
d35dccaa804c commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 422
diff changeset
   105
    "returns the category where to install the menu
318
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   106
    "
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   107
    ^ 'accessing menu'
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   108
! !
31a94b71ae1b reuse of generate code for instance method #menu
ca
parents: 304
diff changeset
   109
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   110
!MenuEditor class methodsFor:'help specs'!
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   111
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   112
helpSpec
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   113
    "return a dictionary filled with helpKey -> helptext associations.
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   114
     These are used by the activeHelp tool."
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   115
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   116
    "
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   117
    UIHelpTool openOnClass:MenuEditor    
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   118
    "
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   119
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   120
  ^ super helpSpec addPairsFrom:#(
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   121
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   122
#addMenuItem
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   123
'Adds a new menu item.'
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   124
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   125
#addMenuSeparator
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   126
'Adds a new menu separator.'
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   127
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   128
#addSubMenu
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   129
'Adds a new submenu.'
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   130
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   131
#addSubMenuLink
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   132
'Adds a new linked submenu.'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   133
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   134
#basicsAction
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   135
'A block or a selector with 0, 1 (the argument field), or 2 (the selected item) arguments.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   136
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   137
#basicsArgument
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   138
'An argument passed to above selector, if it is a 1- or a 2-argument selector.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   139
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   140
#basicsIndication
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   141
'A boolean value holder, a boolean evaluating block, or a boolean returning selector for specifying indication state.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   142
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   143
#basicsIsButton
603
fc00fc231df2 do ask for save item when wanna paste, create, cut
tz
parents: 578
diff changeset
   144
'Turns on/off a button behavior.'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   145
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   146
#basicsLabel
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   147
'Label of the item.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   148
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   149
#basicsMenu
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   150
'A value holder providing the submenu to be opened if item is selected.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   151
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   152
#basicsMenuArgument
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   153
'An argument passes with menu selector.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   154
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   155
#basicsNameKey
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   156
'Unique identifier of the item (optional).'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   157
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   158
#basicsSelector
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   159
'Selector for the generated menu should be installed.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   160
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   161
#basicsSeparatorType
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   162
'List of valid separators.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   163
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   164
#basicsTranslateLabel
603
fc00fc231df2 do ask for save item when wanna paste, create, cut
tz
parents: 578
diff changeset
   165
'Turns on/off translation behavior of the label via class resource file.'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   166
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   167
#detailsAccelerator
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   168
'Key to be pressed to select the menu item from the keyboard (accelerator key).'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   169
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   170
#detailsAccessCharaterPosition
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   171
'Index of the access character position of the textual label (optional).'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   172
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   173
#detailsEnabled
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   174
'A boolean value holder providing en- or disabling of the menu item..'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   175
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   176
#detailsVisibility
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   177
'A boolean value holder providing visibility of the menu item.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   178
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   179
#fileLoad
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   180
'Opens a dialog for selecting a menu spec.'
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   181
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   182
#fileNew
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   183
'Creates a new menu spec.'
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   184
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   185
#filePickAMenu
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   186
'Changes the cursor for moving it over another menu view to load its menu spec.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   187
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   188
#fileSave
93fea26562c8 help texts added
tz
parents: 546
diff changeset
   189
'Saves current menu spec and if modified the help spec.'
455
117dcae8b5e0 no separate save of help keys
tz
parents: 441
diff changeset
   190
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   191
#imageImageAndLabel
603
fc00fc231df2 do ask for save item when wanna paste, create, cut
tz
parents: 578
diff changeset
   192
'Turns on/off displaying both image and textual label.'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   193
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   194
#imageImageEditor
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   195
'Opens an Image Editor on retriever and selector.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   196
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   197
#imageRetriever
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   198
'Class implementing the image resource method. If no class is given, the current application class will be taken.'
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   199
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   200
#imageSelector
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   201
'Selector which returns an image.'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   202
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   203
)
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   204
! !
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   205
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   206
!MenuEditor class methodsFor:'interface specs'!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   207
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   208
basicsItemSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   209
    "this window spec was automatically generated by the ST/X UIPainter"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   210
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   211
    "do not manually edit this - the painter/builder may not be able to
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   212
     handle the specification if its corrupted."
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   213
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   214
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   215
     UIPainter new openOnClass:MenuEditor andSelector:#basicsItemSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   216
     MenuEditor new openInterface:#basicsItemSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   217
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   218
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   219
    <resource: #canvas>
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   220
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   221
    ^
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   222
     
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   223
       #(#FullSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   224
          #'window:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   225
           #(#WindowSpec
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   226
              #'name:' 'unnamed canvas'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   227
              #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   228
              #'label:' 'unnamed canvas'
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   229
              #'min:' #(#Point 10 10)
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   230
              #'max:' #(#Point 1160 870)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   231
              #'bounds:' #(#Rectangle 73 152 340 471)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   232
              #'usePreferredExtent:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   233
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   234
          #'component:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   235
           #(#SpecCollection
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   236
              #'collection:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   237
               #(
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   238
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   239
                    #'name:' 'nameKeyLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   240
                    #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   241
                    #'label:' 'Name Key:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   242
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   243
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   244
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   245
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   246
                    #'name:' 'nameKeyField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   247
                    #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   248
                    #'activeHelpKey:' #basicsNameKey
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   249
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   250
                    #'model:' #nameKey
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   251
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   252
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   253
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   254
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   255
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   256
                    #'name:' 'labelLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   257
                    #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5)
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   258
                    #'label:' 'Label:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   259
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   260
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   261
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   262
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   263
                    #'name:' 'labelField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   264
                    #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   265
                    #'activeHelpKey:' #basicsLabel
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   266
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   267
                    #'model:' #label
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   268
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   269
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   270
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   271
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   272
                    #'name:' 'valueLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   273
                    #'layout:' #(#AlignmentOrigin 107 0 90 0 1 0.5)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   274
                    #'label:' 'Action:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   275
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   276
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   277
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   278
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   279
                    #'name:' 'valueField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   280
                    #'layout:' #(#LayoutFrame 110 0 79 0 -5 1.0 101 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   281
                    #'activeHelpKey:' #basicsAction
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   282
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   283
                    #'model:' #value
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   284
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   285
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   286
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   287
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   288
                 #(#LabelSpec
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   289
                    #'name:' 'argumentLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   290
                    #'layout:' #(#AlignmentOrigin 107 0 115 0 1 0.5)
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   291
                    #'label:' 'Argument:'
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   292
                    #'adjust:' #right
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   293
                    #'resizeForLabel:' true
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   294
                )
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   295
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   296
                    #'name:' 'argumentField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   297
                    #'layout:' #(#LayoutFrame 110 0 104 0 -5 1.0 126 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   298
                    #'activeHelpKey:' #basicsArgument
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   299
                    #'tabable:' true
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   300
                    #'model:' #argument
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   301
                    #'type:' #string
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   302
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   303
                    #'acceptOnTab:' false
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   304
                )
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   305
                 #(#LabelSpec
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   306
                    #'name:' 'indicationLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   307
                    #'layout:' #(#AlignmentOrigin 107 0 155 0 1 0.5)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   308
                    #'label:' 'Indication:'
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   309
                    #'adjust:' #right
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   310
                    #'resizeForLabel:' true
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   311
                )
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   312
                 #(#InputFieldSpec
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   313
                    #'name:' 'indicationField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   314
                    #'layout:' #(#LayoutFrame 110 0 144 0 -5 1.0 166 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   315
                    #'activeHelpKey:' #basicsIndication
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   316
                    #'tabable:' true
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   317
                    #'model:' #indication
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   318
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   319
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   320
                    #'acceptOnTab:' false
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   321
                )
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   322
                 #(#CheckBoxSpec
155310ec83aa revised version
tz
parents: 382
diff changeset
   323
                    #'name:' 'translateLabelCheckBox'
155310ec83aa revised version
tz
parents: 382
diff changeset
   324
                    #'layout:' #(#Point 20 192)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   325
                    #'activeHelpKey:' #basicsTranslateLabel
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   326
                    #'tabable:' true
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   327
                    #'model:' #translateLabel
155310ec83aa revised version
tz
parents: 382
diff changeset
   328
                    #'label:' 'Translate Label'
155310ec83aa revised version
tz
parents: 382
diff changeset
   329
                )
155310ec83aa revised version
tz
parents: 382
diff changeset
   330
                 #(#CheckBoxSpec
155310ec83aa revised version
tz
parents: 382
diff changeset
   331
                    #'name:' 'isButtonCheckBox'
155310ec83aa revised version
tz
parents: 382
diff changeset
   332
                    #'layout:' #(#Point 20 221)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   333
                    #'activeHelpKey:' #basicsIsButton
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   334
                    #'tabable:' true
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   335
                    #'model:' #isButton
155310ec83aa revised version
tz
parents: 382
diff changeset
   336
                    #'label:' 'Is Button'
155310ec83aa revised version
tz
parents: 382
diff changeset
   337
                )
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   338
              )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   339
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   340
      )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   341
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   342
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   343
basicsLinkSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   344
    "this window spec was automatically generated by the ST/X UIPainter"
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   345
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   346
    "do not manually edit this - the painter/builder may not be able to
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   347
     handle the specification if its corrupted."
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   348
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   349
    "
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   350
     UIPainter new openOnClass:MenuEditor andSelector:#basicsLinkSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   351
     MenuEditor new openInterface:#basicsLinkSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   352
    "
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   353
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   354
    <resource: #canvas>
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   355
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   356
    ^
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   357
     
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   358
       #(#FullSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   359
          #'window:' 
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   360
           #(#WindowSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   361
              #'name:' 'unnamed canvas'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   362
              #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0)
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   363
              #'label:' 'unnamed canvas'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   364
              #'min:' #(#Point 10 10)
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   365
              #'max:' #(#Point 1280 1024)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   366
              #'bounds:' #(#Rectangle 73 152 340 471)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   367
              #'usePreferredExtent:' false
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   368
          )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   369
          #'component:' 
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   370
           #(#SpecCollection
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   371
              #'collection:' 
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   372
               #(
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   373
                 #(#LabelSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   374
                    #'name:' 'nameKeyLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   375
                    #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   376
                    #'activeHelpKey:' #nameKey
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   377
                    #'label:' 'Name Key:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   378
                    #'adjust:' #right
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   379
                    #'resizeForLabel:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   380
                )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   381
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   382
                    #'name:' 'nameKeyField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   383
                    #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   384
                    #'activeHelpKey:' #basicsNameKey
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   385
                    #'tabable:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   386
                    #'model:' #nameKey
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   387
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   388
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   389
                    #'acceptOnTab:' false
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   390
                )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   391
                 #(#LabelSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   392
                    #'name:' 'labelLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   393
                    #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5)
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   394
                    #'label:' 'Label:'
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   395
                    #'resizeForLabel:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   396
                )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   397
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   398
                    #'name:' 'labelField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   399
                    #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   400
                    #'activeHelpKey:' #basicsLabel
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   401
                    #'tabable:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   402
                    #'model:' #label
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   403
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   404
                    #'acceptOnTab:' false
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   405
                )
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   406
                 #(#LabelSpec
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   407
                    #'name:' 'menuLabel'
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   408
                    #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5)
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   409
                    #'label:' 'Menu:'
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   410
                    #'resizeForLabel:' true
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   411
                )
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   412
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   413
                    #'name:' 'menuField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   414
                    #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   415
                    #'activeHelpKey:' #basicsMenu
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   416
                    #'tabable:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   417
                    #'model:' #submenuChannel
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   418
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   419
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   420
                    #'acceptOnTab:' false
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   421
                )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   422
                 #(#LabelSpec
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   423
                    #'name:' 'ArgumentLabel'
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   424
                    #'layout:' #(#AlignmentOrigin 107 0 100 0 1 0.5)
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   425
                    #'label:' 'Argument:'
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   426
                    #'resizeForLabel:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   427
                )
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   428
                 #(#InputFieldSpec
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   429
                    #'name:' 'argumentField'
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   430
                    #'layout:' #(#LayoutFrame 110 0 90 0 -5 1.0 112 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   431
                    #'activeHelpKey:' #basicsMenuArgument
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   432
                    #'tabable:' true
537
c39e2ceeaaea support argument for linked menus
tz
parents: 535
diff changeset
   433
                    #'model:' #argument
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   434
                    #'acceptOnReturn:' false
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   435
                    #'acceptOnTab:' false
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   436
                )
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   437
                 #(#CheckBoxSpec
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   438
                    #'name:' 'translateLabelCheckBox'
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   439
                    #'layout:' #(#Point 20 128)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   440
                    #'activeHelpKey:' #basicsTranslateLabel
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   441
                    #'tabable:' true
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   442
                    #'model:' #translateLabel
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   443
                    #'label:' 'Translate Label'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   444
                )
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   445
              )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   446
          )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   447
      )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   448
!
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   449
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   450
basicsMenuSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   451
    "this window spec was automatically generated by the ST/X UIPainter"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   452
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   453
    "do not manually edit this - the painter/builder may not be able to
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   454
     handle the specification if its corrupted."
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   455
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   456
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   457
     UIPainter new openOnClass:MenuEditor andSelector:#basicsMenuSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   458
     MenuEditor new openInterface:#basicsMenuSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   459
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   460
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   461
    <resource: #canvas>
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   462
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   463
    ^
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   464
     
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   465
       #(#FullSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   466
          #'window:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   467
           #(#WindowSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   468
              #'name:' 'unnamed canvas'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   469
              #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   470
              #'label:' 'unnamed canvas'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   471
              #'min:' #(#Point 10 10)
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   472
              #'max:' #(#Point 1280 1024)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   473
              #'bounds:' #(#Rectangle 73 152 340 471)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   474
              #'usePreferredExtent:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   475
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   476
          #'component:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   477
           #(#SpecCollection
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   478
              #'collection:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   479
               #(
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   480
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   481
                    #'name:' 'nameKeyLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   482
                    #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   483
                    #'label:' 'Name Key:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   484
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   485
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   486
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   487
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   488
                    #'name:' 'nameKeyField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   489
                    #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   490
                    #'activeHelpKey:' #basicsNameKey
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   491
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   492
                    #'model:' #nameKey
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   493
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   494
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   495
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   496
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   497
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   498
                    #'name:' 'labelLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   499
                    #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5)
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   500
                    #'label:' 'Label:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   501
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   502
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   503
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   504
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   505
                    #'name:' 'labelField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   506
                    #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   507
                    #'activeHelpKey:' #basicsLabel
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   508
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   509
                    #'model:' #label
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   510
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   511
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   512
                )
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   513
                 #(#CheckBoxSpec
155310ec83aa revised version
tz
parents: 382
diff changeset
   514
                    #'name:' 'translateLabelCheckBox'
155310ec83aa revised version
tz
parents: 382
diff changeset
   515
                    #'layout:' #(#Point 20 100)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   516
                    #'activeHelpKey:' #basicsTranslateLabel
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   517
                    #'tabable:' true
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   518
                    #'model:' #translateLabel
155310ec83aa revised version
tz
parents: 382
diff changeset
   519
                    #'label:' 'Translate Label'
155310ec83aa revised version
tz
parents: 382
diff changeset
   520
                )
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   521
              )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   522
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   523
      )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   524
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   525
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   526
basicsRootSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   527
    "this window spec was automatically generated by the ST/X UIPainter"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   528
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   529
    "do not manually edit this - the painter/builder may not be able to
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   530
     handle the specification if its corrupted."
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   531
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   532
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   533
     UIPainter new openOnClass:MenuEditor andSelector:#basicsRootSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   534
     MenuEditor new openInterface:#basicsRootSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   535
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   536
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   537
    <resource: #canvas>
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   538
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   539
    ^
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   540
     
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   541
       #(#FullSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   542
          #'window:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   543
           #(#WindowSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   544
              #'name:' 'unnamed canvas'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   545
              #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   546
              #'label:' 'unnamed canvas'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   547
              #'min:' #(#Point 10 10)
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   548
              #'max:' #(#Point 1280 1024)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   549
              #'bounds:' #(#Rectangle 73 152 340 471)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   550
              #'usePreferredExtent:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   551
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   552
          #'component:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   553
           #(#SpecCollection
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   554
              #'collection:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   555
               #(
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   556
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   557
                    #'name:' 'selectorLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   558
                    #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   559
                    #'label:' 'Selector:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   560
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   561
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   562
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   563
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   564
                    #'name:' 'selectorField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   565
                    #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   566
                    #'activeHelpKey:' #basicsSelector
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   567
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   568
                    #'model:' #label
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   569
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   570
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   571
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   572
              )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   573
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   574
      )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   575
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   576
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   577
basicsSeparatorSpec
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   578
    "this window spec was automatically generated by the ST/X UIPainter"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   579
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   580
    "do not manually edit this - the painter/builder may not be able to
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   581
     handle the specification if its corrupted."
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   582
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   583
    "
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   584
     UIPainter new openOnClass:MenuEditor andSelector:#basicsSeparatorSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   585
     MenuEditor new openInterface:#basicsSeparatorSpec
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   586
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   587
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   588
    <resource: #canvas>
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   589
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   590
    ^
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   591
     
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   592
       #(#FullSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   593
          #'window:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   594
           #(#WindowSpec
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   595
              #'name:' 'unnamed canvas'
606
ca
parents: 603
diff changeset
   596
              #'layout:' #(#LayoutFrame 219 0 193 0 485 0 511 0)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   597
              #'label:' 'unnamed canvas'
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   598
              #'min:' #(#Point 10 10)
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   599
              #'max:' #(#Point 1160 870)
606
ca
parents: 603
diff changeset
   600
              #'bounds:' #(#Rectangle 219 193 486 512)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   601
              #'usePreferredExtent:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   602
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   603
          #'component:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   604
           #(#SpecCollection
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   605
              #'collection:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   606
               #(
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   607
                 #(#LabelSpec
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   608
                    #'name:' 'separatorLabel'
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   609
                    #'layout:' #(#AlignmentOrigin 127 0 26 0 1 0.5)
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   610
                    #'label:' 'Separator Type:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   611
                    #'adjust:' #right
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   612
                    #'resizeForLabel:' true
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   613
                )
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   614
                 #(#ComboListSpec
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   615
                    #'name:' 'seperatorList'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   616
                    #'layout:' #(#LayoutFrame 132 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   617
                    #'activeHelpKey:' #basicsSeparatorType
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   618
                    #'tabable:' true
218
5c88856b360f access MenuEditor from any specification;
ca
parents: 215
diff changeset
   619
                    #'model:' #seperatorSelection
290
1428bab2aa68 an empty selection is now specified by 0
ca
parents: 287
diff changeset
   620
                    #'useIndex:' true
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   621
                )
606
ca
parents: 603
diff changeset
   622
                 #(#LabelSpec
ca
parents: 603
diff changeset
   623
                    #'name:' 'visibilityLabel'
ca
parents: 603
diff changeset
   624
                    #'layout:' #(#AlignmentOrigin 127 0 76 0 1 0.5)
ca
parents: 603
diff changeset
   625
                    #'label:' 'Visibility:'
ca
parents: 603
diff changeset
   626
                    #'adjust:' #right
ca
parents: 603
diff changeset
   627
                    #'resizeForLabel:' true
ca
parents: 603
diff changeset
   628
                )
ca
parents: 603
diff changeset
   629
                 #(#InputFieldSpec
ca
parents: 603
diff changeset
   630
                    #'name:' 'isVisibleInputField'
ca
parents: 603
diff changeset
   631
                    #'layout:' #(#LayoutFrame 132 0 65 0 -5 1.0 87 0)
ca
parents: 603
diff changeset
   632
                    #'activeHelpKey:' #detailsVisibility
ca
parents: 603
diff changeset
   633
                    #'tabable:' true
ca
parents: 603
diff changeset
   634
                    #'model:' #isVisible
ca
parents: 603
diff changeset
   635
                    #'type:' #symbolOrNil
ca
parents: 603
diff changeset
   636
                    #'acceptOnReturn:' false
ca
parents: 603
diff changeset
   637
                    #'acceptOnTab:' false
ca
parents: 603
diff changeset
   638
                )
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   639
              )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   640
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   641
      )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   642
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   643
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   644
classDefineSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   645
    "this window spec was automatically generated by the ST/X UIPainter"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   646
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   647
    "do not manually edit this - the painter/builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   648
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   649
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   650
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   651
     UIPainter new openOnClass:MenuEditor andSelector:#classDefineSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   652
     MenuEditor new openInterface:#classDefineSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   653
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   654
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   655
    <resource: #canvas>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   656
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   657
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   658
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   659
       #(#FullSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   660
          #'window:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   661
           #(#WindowSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   662
              #'name:' 'Menu Editor'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   663
              #'layout:' #(#LayoutFrame 262 0 426 0 508 0 519 0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   664
              #'label:' 'Menu Editor'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   665
              #'min:' #(#Point 10 10)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   666
              #'max:' #(#Point 1152 900)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   667
              #'bounds:' #(#Rectangle 262 426 509 520)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   668
              #'usePreferredExtent:' false
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   669
          )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   670
          #'component:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   671
           #(#SpecCollection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   672
              #'collection:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   673
               #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   674
                 #(#LabelSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   675
                    #'name:' 'boxLabel'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   676
                    #'layout:' #(#LayoutFrame 2 0.0 4 0 -2 1.0 24 0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   677
                    #'label:' 'Class for code:'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   678
                    #'adjust:' #left
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   679
                    #'resizeForLabel:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   680
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   681
                 #(#InputFieldSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   682
                    #'name:' 'classNameField'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   683
                    #'layout:' #(#LayoutFrame 2 0.0 27 0 -2 1.0 49 0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   684
                    #'tabable:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   685
                    #'model:' #classNameChannel
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   686
                    #'acceptOnReturn:' false
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   687
                    #'acceptOnTab:' false
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   688
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   689
                 #(#UISubSpecification
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   690
                    #'name:' 'SubSpecification'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   691
                    #'layout:' #(#LayoutFrame 0 0 -29 1 0 1 -5 1)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   692
                    #'majorKey:' #ToolApplicationModel
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   693
                    #'minorKey:' #windowSpecForCommitWithoutChannels
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   694
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   695
              )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   696
          )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   697
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   698
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   699
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   700
detailsEditSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   701
    "this window spec was automatically generated by the ST/X UIPainter"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   702
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   703
    "do not manually edit this - the painter/builder may not be able to
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   704
     handle the specification if its corrupted."
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   705
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   706
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   707
     UIPainter new openOnClass:MenuEditor andSelector:#detailsEditSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   708
     MenuEditor new openInterface:#detailsEditSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   709
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   710
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   711
    <resource: #canvas>
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   712
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   713
    ^
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   714
     
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   715
       #(#FullSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   716
          #'window:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   717
           #(#WindowSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   718
              #'name:' 'unnamed canvas'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   719
              #'layout:' #(#LayoutFrame 73 0 152 0 331 0 439 0)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   720
              #'label:' 'unnamed canvas'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   721
              #'min:' #(#Point 10 10)
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   722
              #'max:' #(#Point 1280 1024)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   723
              #'bounds:' #(#Rectangle 73 152 332 440)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   724
              #'usePreferredExtent:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   725
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   726
          #'component:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   727
           #(#SpecCollection
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   728
              #'collection:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   729
               #(
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   730
                 #(#LabelSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   731
                    #'name:' 'shortcutKeyLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   732
                    #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   733
                    #'label:' 'Accelerator:'
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   734
                    #'adjust:' #right
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   735
                    #'resizeForLabel:' true
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   736
                )
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   737
                 #(#InputFieldSpec
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   738
                    #'name:' 'shortcutKeyField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   739
                    #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   740
                    #'activeHelpKey:' #detailsAccelerator
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   741
                    #'tabable:' true
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   742
                    #'model:' #shortcutKey
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   743
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   744
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   745
                    #'acceptOnTab:' false
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   746
                )
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   747
                 #(#LabelSpec
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   748
                    #'name:' 'enabledLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   749
                    #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   750
                    #'label:' 'Enabled:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   751
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   752
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   753
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   754
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   755
                    #'name:' 'enabledField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   756
                    #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   757
                    #'activeHelpKey:' #detailsEnabled
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   758
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   759
                    #'model:' #enabled
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   760
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   761
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   762
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   763
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   764
                 #(#LabelSpec
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   765
                    #'name:' 'visibilityLabel'
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   766
                    #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5)
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   767
                    #'label:' 'Visibility:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   768
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   769
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   770
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   771
                 #(#InputFieldSpec
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   772
                    #'name:' 'isVisibleInputField'
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   773
                    #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   774
                    #'activeHelpKey:' #detailsVisibility
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   775
                    #'tabable:' true
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   776
                    #'model:' #isVisible
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   777
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   778
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   779
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   780
                )
532
de091386bbae add new feature:
ca
parents: 525
diff changeset
   781
                 #(#LabelSpec
de091386bbae add new feature:
ca
parents: 525
diff changeset
   782
                    #'name:' 'StartGroupLabel'
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   783
                    #'layout:' #(#AlignmentOrigin 107 0 111 0 1 0.5)
532
de091386bbae add new feature:
ca
parents: 525
diff changeset
   784
                    #'label:' 'Start Group:'
de091386bbae add new feature:
ca
parents: 525
diff changeset
   785
                    #'adjust:' #right
de091386bbae add new feature:
ca
parents: 525
diff changeset
   786
                    #'resizeForLabel:' true
de091386bbae add new feature:
ca
parents: 525
diff changeset
   787
                )
de091386bbae add new feature:
ca
parents: 525
diff changeset
   788
                 #(#PopUpListSpec
de091386bbae add new feature:
ca
parents: 525
diff changeset
   789
                    #'name:' 'StartGroupPopUp'
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   790
                    #'layout:' #(#LayoutFrame 110 0 100 0 -5 1.0 122 0)
532
de091386bbae add new feature:
ca
parents: 525
diff changeset
   791
                    #'label:' 'PopUpList'
de091386bbae add new feature:
ca
parents: 525
diff changeset
   792
                    #'model:' #startGroup
de091386bbae add new feature:
ca
parents: 525
diff changeset
   793
                    #'menu:' 
de091386bbae add new feature:
ca
parents: 525
diff changeset
   794
                     #(nil
de091386bbae add new feature:
ca
parents: 525
diff changeset
   795
                        #right
de091386bbae add new feature:
ca
parents: 525
diff changeset
   796
                    )
de091386bbae add new feature:
ca
parents: 525
diff changeset
   797
                    #'useIndex:' false
de091386bbae add new feature:
ca
parents: 525
diff changeset
   798
                )
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   799
                 #(#LabelSpec
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   800
                    #'name:' 'accessCharLabel'
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   801
                    #'layout:' #(#AlignmentOrigin 217 0 142 0 1 0.5)
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   802
                    #'label:' 'Access Character Position:'
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   803
                    #'adjust:' #right
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   804
                    #'resizeForLabel:' true
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   805
                )
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   806
                 #(#InputFieldSpec
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   807
                    #'name:' 'accessCharField'
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   808
                    #'layout:' #(#LayoutFrame 220 0 131 0 -5 1.0 153 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   809
                    #'activeHelpKey:' #detailsAccessCharaterPosition
539
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   810
                    #'tabable:' true
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   811
                    #'model:' #accessCharacterPos
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   812
                    #'type:' #numberOrNil
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   813
                    #'acceptOnReturn:' false
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   814
                    #'acceptOnTab:' false
1116829f5525 support of visible/unvisible items
ca
parents: 537
diff changeset
   815
                )
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   816
              )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   817
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   818
      )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   819
!
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   820
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   821
imageEditSpec
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   822
    "this window spec was automatically generated by the ST/X UIPainter"
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   823
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   824
    "do not manually edit this - the painter/builder may not be able to
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   825
     handle the specification if its corrupted."
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   826
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   827
    "
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   828
     UIPainter new openOnClass:MenuEditor andSelector:#imageEditSpec
155310ec83aa revised version
tz
parents: 382
diff changeset
   829
     MenuEditor new openInterface:#imageEditSpec
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   830
    "
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   831
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   832
    <resource: #canvas>
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   833
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   834
    ^
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   835
     
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   836
       #(#FullSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   837
          #'window:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   838
           #(#WindowSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   839
              #'name:' 'unnamed canvas'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   840
              #'layout:' #(#LayoutFrame 238 0 321 0 482 0 462 0)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   841
              #'label:' 'unnamed canvas'
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   842
              #'min:' #(#Point 10 10)
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   843
              #'max:' #(#Point 1280 1024)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   844
              #'bounds:' #(#Rectangle 238 321 483 463)
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   845
              #'usePreferredExtent:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   846
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   847
          #'component:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   848
           #(#SpecCollection
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   849
              #'collection:' 
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   850
               #(
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   851
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   852
                    #'name:' 'retrieverLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   853
                    #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5)
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   854
                    #'label:' 'Retriever:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   855
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   856
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   857
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   858
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   859
                    #'name:' 'retrieverField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   860
                    #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   861
                    #'activeHelpKey:' #imageRetriever
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   862
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   863
                    #'model:' #retriever
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   864
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   865
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   866
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   867
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   868
                 #(#LabelSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   869
                    #'name:' 'iconLabel'
406
a519e0d547f6 widgets rearranged for different fonts + comfortable menu load support
tz
parents: 398
diff changeset
   870
                    #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5)
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   871
                    #'label:' 'Selector:'
263
25f080e1217f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 258
diff changeset
   872
                    #'adjust:' #right
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   873
                    #'resizeForLabel:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   874
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   875
                 #(#InputFieldSpec
371
7017eaabd9ed add help text
ca
parents: 359
diff changeset
   876
                    #'name:' 'iconField'
411
7f21bc19cd51 supports calling submenus with arguments
tz
parents: 410
diff changeset
   877
                    #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   878
                    #'activeHelpKey:' #imageSelector
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   879
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   880
                    #'model:' #icon
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   881
                    #'type:' #symbolOrNil
407
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   882
                    #'acceptOnReturn:' false
578a7aaed19e totally revised version
tz
parents: 406
diff changeset
   883
                    #'acceptOnTab:' false
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   884
                )
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   885
                 #(#ActionButtonSpec
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   886
                    #'name:' 'imageEditorButton'
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   887
                    #'layout:' #(#LayoutFrame 110 0 66 0 -5 1 90 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   888
                    #'activeHelpKey:' #imageImageEditor
469
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   889
                    #'label:' 'Image Editor'
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   890
                    #'tabable:' true
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   891
                    #'model:' #doEditImage
28bcb1982ef9 tabs added
tz
parents: 455
diff changeset
   892
                )
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   893
                 #(#CheckBoxSpec
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   894
                    #'name:' 'iconAndLabel'
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   895
                    #'layout:' #(#LayoutOrigin 20 0 104 0)
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
   896
                    #'activeHelpKey:' #imageImageAndLabel
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   897
                    #'tabable:' true
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   898
                    #'model:' #iconAndLabel
398
155310ec83aa revised version
tz
parents: 382
diff changeset
   899
                    #'label:' 'Image & Label'
199
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   900
                )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   901
              )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   902
          )
6ce84c1270a6 intitial checkin
ca
parents:
diff changeset
   903
      )
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   904
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   905
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   906
windowSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   907
    "this window spec was automatically generated by the ST/X UIPainter"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   908
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   909
    "do not manually edit this - the painter/builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   910
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   911
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   912
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   913
     UIPainter new openOnClass:MenuEditor andSelector:#windowSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   914
     MenuEditor new openInterface:#windowSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   915
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   916
    "MenuEditor open"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   917
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   918
    <resource: #canvas>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   919
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   920
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   921
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   922
       #(#FullSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   923
          #'window:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   924
           #(#WindowSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   925
              #'name:' 'Menu Builder'
571
1e362121fe32 open tutorial added
tz
parents: 557
diff changeset
   926
              #'layout:' #(#LayoutFrame 324 0 233 0 903 0 616 0)
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   927
              #'label:' 'Menu Builder'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   928
              #'min:' #(#Point 10 10)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   929
              #'max:' #(#Point 1152 900)
571
1e362121fe32 open tutorial added
tz
parents: 557
diff changeset
   930
              #'bounds:' #(#Rectangle 324 233 904 617)
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   931
              #'menu:' #menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   932
              #'usePreferredExtent:' false
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   933
          )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   934
          #'component:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   935
           #(#SpecCollection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   936
              #'collection:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   937
               #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   938
                 #(#MenuPanelSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   939
                    #'name:' 'menuToolbarView'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   940
                    #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   941
                    #'menu:' #menuToolbar
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   942
                    #'showSeparatingLines:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   943
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   944
                 #(#VariableHorizontalPanelSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   945
                    #'name:' 'variableHorizontalPanel1'
571
1e362121fe32 open tutorial added
tz
parents: 557
diff changeset
   946
                    #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0)
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   947
                    #'component:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   948
                     #(#SpecCollection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   949
                        #'collection:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   950
                         #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   951
                           #(#ArbitraryComponentSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   952
                              #'name:' 'painterView'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   953
                              #'menu:' #menuEdit
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   954
                              #'hasHorizontalScrollBar:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   955
                              #'hasVerticalScrollBar:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   956
                              #'component:' #treeView
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   957
                              #'hasBorder:' false
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   958
                          )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   959
                           #(#ViewSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   960
                              #'name:' 'view1'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   961
                              #'component:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   962
                               #(#SpecCollection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   963
                                  #'collection:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   964
                                   #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   965
                                     #(#NoteBookViewSpec
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   966
                                        #'name:' 'specificationView'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   967
                                        #'layout:' #(#LayoutFrame 1 0.0 0 0.0 1 1.0 -26 1.0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   968
                                        #'tabable:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   969
                                        #'model:' #tabModel
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   970
                                        #'menu:' #tabList
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   971
                                        #'useIndex:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   972
                                        #'canvas:' #noteBookView
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   973
                                    )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   974
                                     #(#UISubSpecification
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   975
                                        #'name:' 'SubSpecification'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   976
                                        #'layout:' #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   977
                                        #'majorKey:' #ToolApplicationModel
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   978
                                        #'minorKey:' #windowSpecForCommit
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   979
                                    )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   980
                                  )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   981
                              )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   982
                              #'level:' -1
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   983
                          )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   984
                        )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   985
                    )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   986
                    #'handles:' #(#Any 0.384483 1.0)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   987
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   988
                 #(#UISubSpecification
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   989
                    #'name:' 'infoBarSubSpec'
571
1e362121fe32 open tutorial added
tz
parents: 557
diff changeset
   990
                    #'layout:' #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   991
                    #'majorKey:' #ToolApplicationModel
535
1caf545614c5 info bar subspec changed
tz
parents: 532
diff changeset
   992
                    #'minorKey:' #windowSpecForInfoBarWithClock
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   993
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   994
              )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   995
          )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   996
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   997
! !
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   998
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
   999
!MenuEditor class methodsFor:'menu specs'!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1000
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1001
menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1002
    "this window spec was automatically generated by the ST/X MenuEditor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1003
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1004
    "do not manually edit this - the builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1005
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1006
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1007
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1008
     MenuEditor new openOnClass:MenuEditor andSelector:#menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1009
     (Menu new fromLiteralArrayEncoding:(MenuEditor menu)) startUp
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1010
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1011
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1012
    <resource: #menu>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1013
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1014
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1015
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1016
       #(#Menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1017
          
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1018
           #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1019
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1020
                #'label:' 'About'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1021
                #'activeHelpKey:' #about
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1022
                #'accessCharacterPosition:' 1
546
aac3f3c9383f help menu item aligned to the right
tz
parents: 541
diff changeset
  1023
                #'labelImage:' #(#ResourceRetriever nil #menuIcon)
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1024
                #'submenuChannel:' #menuAbout
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1025
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1026
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1027
                #'label:' 'File'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1028
                #'translateLabel:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1029
                #'value:' #file
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1030
                #'activeHelpKey:' #file
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1031
                #'submenu:' 
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1032
                 #(#Menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1033
                    
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1034
                     #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1035
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1036
                          #'label:' 'New'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1037
                          #'value:' #doNew
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1038
                          #'activeHelpKey:' #fileNew
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1039
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1040
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1041
                          #'label:' '-'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1042
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1043
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1044
                          #'label:' 'Load...'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1045
                          #'translateLabel:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1046
                          #'value:' #doFromClass
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1047
                          #'activeHelpKey:' #fileLoad
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1048
                          #'enabled:' #isStandAlone
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1049
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1050
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1051
                          #'label:' '-'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1052
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1053
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1054
                          #'label:' 'Save'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1055
                          #'value:' #doInstallSpec
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1056
                          #'activeHelpKey:' #fileSave
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1057
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1058
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1059
                          #'label:' '-'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1060
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1061
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1062
                          #'label:' 'Pick A Menu'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1063
                          #'value:' #doPickAMenu
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1064
                          #'activeHelpKey:' #filePickAMenu
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1065
                          #'enabled:' #isStandAlone
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1066
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1067
                       #(#MenuItem
603
fc00fc231df2 do ask for save item when wanna paste, create, cut
tz
parents: 578
diff changeset
  1068
                          #'label:' 'Define Class...'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1069
                          #'value:' #doDefineClass
578
1db32e082cd6 2 help texts removed
tz
parents: 577
diff changeset
  1070
                          #'activeHelpKey:' #fileDefineClass
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1071
                          #'enabled:' #isStandAlone
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1072
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1073
                       #(#MenuItem
603
fc00fc231df2 do ask for save item when wanna paste, create, cut
tz
parents: 578
diff changeset
  1074
                          #'label:' 'Browse Class'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1075
                          #'value:' #doBrowseAppClass
578
1db32e082cd6 2 help texts removed
tz
parents: 577
diff changeset
  1076
                          #'activeHelpKey:' #fileBrowseClass
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1077
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1078
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1079
                          #'label:' '-'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1080
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1081
                       #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1082
                          #'label:' 'Exit'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1083
                          #'translateLabel:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1084
                          #'value:' #closeRequest
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1085
                          #'activeHelpKey:' #fileExit
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1086
                      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1087
                    ) nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1088
                    nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1089
                )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1090
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1091
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1092
                #'label:' 'Edit'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1093
                #'activeHelpKey:' #edit
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1094
                #'submenuChannel:' #menuEdit
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1095
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1096
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1097
                #'label:' 'Add'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1098
                #'activeHelpKey:' #add
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1099
                #'submenuChannel:' #menuAdd
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1100
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1101
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1102
                #'label:' 'Test'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1103
                #'activeHelpKey:' #test
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1104
                #'submenuChannel:' #submenuTest
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1105
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1106
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1107
                #'label:' 'History'
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1108
                #'activeHelpKey:' #history
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1109
                #'submenuChannel:' #menuHistory
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1110
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1111
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1112
                #'label:' 'Help'
546
aac3f3c9383f help menu item aligned to the right
tz
parents: 541
diff changeset
  1113
                #'startGroup:' #right
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1114
                #'activeHelpKey:' #help
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1115
                #'submenuChannel:' #menuHelp
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1116
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1117
          ) nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1118
          nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1119
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1120
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1121
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1122
menuAdd
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1123
    "this window spec was automatically generated by the ST/X MenuEditor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1124
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1125
    "do not manually edit this - the builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1126
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1127
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1128
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1129
     MenuEditor new openOnClass:MenuEditor andSelector:#menuAdd
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1130
     (Menu new fromLiteralArrayEncoding:(MenuEditor menuAdd)) startUp
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1131
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1132
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1133
    <resource: #menu>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1134
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1135
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1136
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1137
       #(#Menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1138
          
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1139
           #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1140
             #(#MenuItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1141
                #'label:' 'Menu Item'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1142
                #'value:' #doCreateItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1143
                #'activeHelpKey:' #addMenuItem
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1144
                #'labelImage:' #(#ResourceRetriever #MenuEditor #menuItemImage 'Menu Item')
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1145
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1146
             #(#MenuItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1147
                #'label:' 'Menu Separator'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1148
                #'value:' #doCreateSep
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1149
                #'activeHelpKey:' #addMenuSeparator
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1150
                #'labelImage:' #(#ResourceRetriever #MenuEditor #menuSeparatorImage 'Menu Separator')
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1151
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1152
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1153
                #'label:' '-'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1154
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1155
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1156
                #'label:' 'Submenu'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1157
                #'value:' #doCreateMenu
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1158
                #'activeHelpKey:' #addSubMenu
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1159
                #'labelImage:' #(#ResourceRetriever #MenuEditor #submenuImage 'Submenu')
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1160
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1161
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1162
                #'label:' 'Submenu Link'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1163
                #'value:' #doCreateLink
577
d9f9745572b2 help texts revised
tz
parents: 576
diff changeset
  1164
                #'activeHelpKey:' #addSubMenuLink
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1165
                #'labelImage:' #(#ResourceRetriever #MenuEditor #linkSubmenuImage 'Submenu Link')
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1166
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1167
          ) nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1168
          nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1169
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1170
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1171
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1172
menuDefaultLink
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1173
    "this window spec was automatically generated by the ST/X MenuEditor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1174
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1175
    "do not manually edit this - the builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1176
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1177
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1178
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1179
     MenuEditor new openOnClass:MenuEditor andSelector:#menuDefaultLink
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1180
     (Menu new fromLiteralArrayEncoding:(MenuEditor menuDefaultLink)) startUp
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1181
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1182
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1183
    <resource: #menu>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1184
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1185
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1186
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1187
       #(#Menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1188
          
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1189
           #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1190
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1191
                #'label:' '!! derives from application !!'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1192
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1193
          ) nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1194
          nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1195
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1196
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1197
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1198
menuEdit
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1199
    "this window spec was automatically generated by the ST/X MenuEditor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1200
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1201
    "do not manually edit this - the builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1202
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1203
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1204
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1205
     MenuEditor new openOnClass:MenuEditor andSelector:#menuEdit
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1206
     (Menu new fromLiteralArrayEncoding:(MenuEditor menuEdit)) startUp
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1207
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1208
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1209
    <resource: #menu>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1210
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1211
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1212
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1213
       #(#Menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1214
          
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1215
           #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1216
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1217
                #'label:' 'Cut'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1218
                #'value:' #doCut
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1219
                #'activeHelpKey:' #editCut
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1220
                #'enabled:' #hasValidSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1221
                #'shortcutKeyCharacter:' #Cut
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1222
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1223
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1224
                #'label:' 'Copy'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1225
                #'value:' #doCopy
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1226
                #'activeHelpKey:' #editCopy
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1227
                #'enabled:' #hasValidSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1228
                #'shortcutKeyCharacter:' #Copy
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1229
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1230
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1231
                #'label:' 'Paste'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1232
                #'value:' #doPaste
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1233
                #'activeHelpKey:' #editPaste
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1234
                #'enabled:' #hasAnySingleSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1235
                #'shortcutKeyCharacter:' #Paste
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1236
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1237
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1238
                #'label:' '-'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1239
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1240
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1241
                #'label:' 'Move Up'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1242
                #'value:' #doStepUp
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1243
                #'activeHelpKey:' #editMoveUp
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1244
                #'enabled:' #enabledStepOver
557
de8d8782486c some revisions
tz
parents: 548
diff changeset
  1245
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #upIcon 'Move Up')
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1246
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1247
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1248
                #'label:' 'Move Down'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1249
                #'value:' #doStepDown
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1250
                #'activeHelpKey:' #editMoveDown
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1251
                #'enabled:' #enabledStepOver
557
de8d8782486c some revisions
tz
parents: 548
diff changeset
  1252
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #downIcon 'Move Down')
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1253
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1254
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1255
                #'label:' 'Move In'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1256
                #'value:' #doStepIn
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1257
                #'activeHelpKey:' #editMoveIn
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1258
                #'enabled:' #enabledStepIn
557
de8d8782486c some revisions
tz
parents: 548
diff changeset
  1259
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #downRightIcon 'Move In')
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1260
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1261
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1262
                #'label:' 'Move Out'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1263
                #'value:' #doStepOut
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1264
                #'activeHelpKey:' #editMoveOut
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1265
                #'enabled:' #enabledStepOut
557
de8d8782486c some revisions
tz
parents: 548
diff changeset
  1266
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #leftDownIcon 'Move Out')
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1267
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1268
          ) nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1269
          nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1270
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1271
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1272
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1273
menuToolbar
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1274
    "this window spec was automatically generated by the ST/X MenuEditor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1275
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1276
    "do not manually edit this - the builder may not be able to
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1277
     handle the specification if its corrupted."
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1278
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1279
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1280
     MenuEditor new openOnClass:MenuEditor andSelector:#menuToolbar
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1281
     (Menu new fromLiteralArrayEncoding:(MenuEditor menuToolbar)) startUp
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1282
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1283
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1284
    <resource: #menu>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1285
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1286
    ^
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1287
     
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1288
       #(#Menu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1289
          
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1290
           #(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1291
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1292
                #'label:' 'New'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1293
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1294
                #'value:' #doNew
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1295
                #'activeHelpKey:' #fileNew
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1296
                #'labelImage:' #(#ResourceRetriever nil #newIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1297
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1298
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1299
                #'label:' 'Load'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1300
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1301
                #'value:' #doFromClass
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1302
                #'activeHelpKey:' #fileLoad
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1303
                #'labelImage:' #(#ResourceRetriever nil #loadIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1304
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1305
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1306
                #'label:' 'Save'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1307
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1308
                #'value:' #doInstallSpec
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1309
                #'activeHelpKey:' #fileSave
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1310
                #'labelImage:' #(#ResourceRetriever nil #saveIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1311
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1312
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1313
                #'label:' ''
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1314
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1315
             #(#MenuItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1316
                #'label:' 'Add Item'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1317
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1318
                #'value:' #doCreateItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1319
                #'activeHelpKey:' #addMenuItem
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1320
                #'enabled:' #hasAnySingleSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1321
                #'labelImage:' #(#ResourceRetriever nil #menuItemImage)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1322
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1323
             #(#MenuItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1324
                #'label:' 'Add Separator'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1325
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1326
                #'value:' #doCreateSep
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1327
                #'activeHelpKey:' #addMenuSeparator
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1328
                #'enabled:' #hasAnySingleSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1329
                #'labelImage:' #(#ResourceRetriever nil #menuSeparatorImage)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1330
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1331
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1332
                #'label:' ''
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1333
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1334
             #(#MenuItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1335
                #'label:' 'Add Submenu'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1336
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1337
                #'value:' #doCreateMenu
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1338
                #'activeHelpKey:' #addSubMenu
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1339
                #'enabled:' #hasAnySingleSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1340
                #'labelImage:' #(#ResourceRetriever nil #submenuImage)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1341
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1342
             #(#MenuItem
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1343
                #'label:' 'Add Linked Submenu'
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1344
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1345
                #'value:' #doCreateLink
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1346
                #'activeHelpKey:' #addSubMenuLink
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1347
                #'enabled:' #hasAnySingleSelection
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1348
                #'labelImage:' #(#ResourceRetriever nil #linkSubmenuImage)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1349
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1350
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1351
                #'label:' ''
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1352
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1353
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1354
                #'label:' 'Move Up'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1355
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1356
                #'value:' #doStepUp
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1357
                #'activeHelpKey:' #editMoveUp
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1358
                #'enabled:' #enabledStepOver
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1359
                #'labelImage:' #(#ResourceRetriever nil #upIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1360
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1361
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1362
                #'label:' 'Move Down'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1363
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1364
                #'value:' #doStepDown
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1365
                #'activeHelpKey:' #editMoveDown
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1366
                #'enabled:' #enabledStepOver
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1367
                #'labelImage:' #(#ResourceRetriever nil #downIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1368
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1369
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1370
                #'label:' 'Move In'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1371
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1372
                #'value:' #doStepIn
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1373
                #'activeHelpKey:' #editMoveIn
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1374
                #'enabled:' #enabledStepIn
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1375
                #'labelImage:' #(#ResourceRetriever nil #downRightIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1376
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1377
             #(#MenuItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1378
                #'label:' 'Move Out'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1379
                #'isButton:' true
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1380
                #'value:' #doStepOut
548
93fea26562c8 help texts added
tz
parents: 546
diff changeset
  1381
                #'activeHelpKey:' #editMoveOut
525
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1382
                #'enabled:' #enabledStepOut
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1383
                #'labelImage:' #(#ResourceRetriever nil #leftDownIcon)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1384
            )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1385
          ) nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1386
          nil
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1387
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1388
! !
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1389
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1390
!MenuEditor class methodsFor:'resources'!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1391
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1392
linkSubmenuImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1393
    "Generated by the Image Editor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1394
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1395
    ImageEditor openOnClass:self andSelector:#linkSubmenuImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1396
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1397
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1398
    <resource: #image>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1399
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1400
    ^Icon
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1401
        constantNamed:#'MenuEditor linkSubmenuImage'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1402
        ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@ADQDQDQDQDQDQH@D"H"H"H"H"H"K0@RH"H"H"H"H"H/@A????????????<@D@@@@@@@@@@@C0@PL3L0DQDQDQD_@A@3L3LBH"H"H"<@DCL3L3@"H"H"K0@PL3L3L0??????@A@@@@L3L@@@@@<@DQDQDCL3@PLAG0@RH"H"@3L0@3@/@AH"H"H L3L3L0<@G?????<CL3L3L@@P@@@@@@@3L3LO@ADQDQDQDP@CLA<@D"H"H"H"H LBK0@RH"H"H"H"@BH/@B????????????<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b'); colorMap:((OrderedCollection new add:(Color black); add:(Color white); add:(Color grey:66.9978); add:(Color red:100.0 green:0.0 blue:0.0); add:(Color red:0.0 green:100.0 blue:0.0); add:(Color red:0.0 green:0.0 blue:100.0); add:(Color red:0.0 green:100.0 blue:100.0); add:(Color red:100.0 green:100.0 blue:0.0); add:(Color red:100.0 green:0.0 blue:100.0); add:(Color red:49.9962 green:0.0 blue:0.0); add:(Color red:0.0 green:49.9962 blue:0.0); add:(Color red:0.0 green:0.0 blue:49.9962); add:(Color red:0.0 green:49.9962 blue:49.9962); add:(Color red:49.9962 green:49.9962 blue:0.0); add:(Color red:49.9962 green:0.0 blue:49.9962); add:(Color grey:49.9962); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a'); yourself); yourself]!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1403
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1404
menuItemImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1405
    "Generated by the Image Editor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1406
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1407
    ImageEditor openOnClass:self andSelector:#menuItemImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1408
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1409
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1410
    <resource: #image>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1411
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1412
    ^Icon
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1413
        constantNamed:#'MenuEditor menuItemImage'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1414
        ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUQUUUUUUUPUUUUUUU_UUUUUUUPUUUUUUUP@@@@@@@@EUUUUUVAF*****+HF:?+::;@F:.+*?;@F:.+::;@F:.+*:;@F:.+::;@F*****+DK??????A@@@@@@@@UUUUUUUPUUUUUUUXUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUX'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color grey:66.9978)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a'); yourself); yourself]!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1415
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1416
menuSeparatorImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1417
    "Generated by the Image Editor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1418
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1419
    ImageEditor openOnClass:self andSelector:#menuSeparatorImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1420
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1421
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1422
    <resource: #image>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1423
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1424
    ^Icon
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1425
        constantNamed:#'MenuEditor menuSeparatorImage'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1426
        ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUURUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUP@@@@@@@@EUUUUUV@F*****+DF*****+CF?????+@F0@@@@[@F%UUUU[HF*****+@F*****+@K??????N@@@@@@@HUUUUUUUPUUUUUUUPUUUUUUUWUUUUUUUXUUUUUUUPUUUUUUUP'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color grey:66.9978)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a'); yourself); yourself]!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1427
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1428
submenuImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1429
    "Generated by the Image Editor"
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1430
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1431
    ImageEditor openOnClass:self andSelector:#submenuImage
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1432
    "
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1433
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1434
    <resource: #image>
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1435
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1436
    ^Icon
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1437
        constantNamed:#'MenuEditor submenuImage'
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1438
        ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@EUUUUUV@F*****+@F*****+@G??????GD@@@@@C@EUUUUUWLF*****+@F*****+@G??????HD@@@@@C@EUUUUUW@F*****+@F*****+OG??????@D@@@@@C@EUUUUUW@F*****+@F*****+@K??????@@@@@@@@@@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color grey:66.9978)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a'); yourself); yourself]! !
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1439
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1440
!MenuEditor class methodsFor:'slices'!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1441
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1442
slicesItem
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1443
    ^#(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1444
            (Basics     basicsItemSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1445
            (Details    detailsEditSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1446
            (Image      imageEditSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1447
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1448
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1449
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1450
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1451
slicesLink
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1452
    ^#(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1453
            (Basics     basicsLinkSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1454
            (Details    detailsEditSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1455
            (Image      imageEditSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1456
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1457
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1458
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1459
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1460
slicesMenu
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1461
    ^#(
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1462
            (Basics     basicsMenuSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1463
            (Details    detailsEditSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1464
            (Image      imageEditSpec)
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1465
      )
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1466
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1467
!
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1468
3c59244da8c8 dialog headline changed + some cleans
tz
parents: 520
diff changeset
  1469
slicesRootMenu