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