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