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