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