UIPainter.st
author tz
Tue, 03 Feb 1998 13:51:57 +0100
changeset 564 df1f1e84d94a
parent 547 930b3df19305
child 565 8fdeb11c72fd
permissions -rw-r--r--
add menu added
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
156
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     1
"
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     2
 COPYRIGHT (c) 1995 by eXept Software AG
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     3
              All Rights Reserved
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     4
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     5
 This software is furnished under a license and may be used
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     6
 only in accordance with the terms of that license and with the
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     8
 be provided or otherwise made available to, or used by, any
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     9
 other person.  No title to or ownership of the software is
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    10
 hereby transferred.
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    11
"
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    12
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
    13
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
    14
ToolApplicationModel subclass:#UIPainter
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
    15
	instanceVariableNames:'treeView selectionPanel tabSelection specClass specSelector
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
    16
		specSuperclass aspects layoutCanvas helpCanvas specCanvas
14db1276218c change the spec;
ca
parents: 295
diff changeset
    17
		transcript'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
    18
	classVariableNames:''
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    19
	poolDictionaries:''
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    20
	category:'Interface-UIPainter'
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    21
!
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    22
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
    23
SelectionInTreeView subclass:#TreeView
491
c3af7854dbe8 image instance variables removed + release all widget icons while snap shoting
tz
parents: 490
diff changeset
    24
	instanceVariableNames:'lastDrawnMaster cvsEventsDisabled windowSpec'
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
    25
	classVariableNames:''
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
    26
	poolDictionaries:''
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
    27
	privateIn:UIPainter
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
    28
!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
    29
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    30
!UIPainter class methodsFor:'documentation'!
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    31
156
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    32
copyright
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    33
"
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    34
 COPYRIGHT (c) 1995 by eXept Software AG
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    35
              All Rights Reserved
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    36
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    37
 This software is furnished under a license and may be used
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    38
 only in accordance with the terms of that license and with the
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    39
 inclusion of the above copyright notice.   This software may not
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    40
 be provided or otherwise made available to, or used by, any
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    41
 other person.  No title to or ownership of the software is
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    42
 hereby transferred.
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    43
"
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    44
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    45
!
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    46
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    47
documentation
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    48
"
127
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    49
    GUI-Builder:
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    50
    this class allows the user to build its own applications providing a graphical
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    51
    user interface to buildin components and to define the behavior of the components
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    52
    during runtime. The resulting specifications can be installed as methods on 
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    53
    classes, typically subclasses of an ApplicationModel. These specifications
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    54
    are used by the UIBuilder to generate the application window and its component
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    55
    structues when open the application.
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    56
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    57
    [start with:]
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    58
        UIPainter open
127
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    59
156
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    60
    [author:]
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
    61
        Claus Gittinger, eXept Software AG
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
    62
        Claus Atzkern, eXept Software AG
156
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    63
127
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    64
    [see also:]
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    65
        UIBuilder
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    66
        ApplicationModel
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    67
        UISpecification
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    68
"
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    69
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    70
! !
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    71
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    72
!UIPainter class methodsFor:'instance creation'!
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    73
195
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    74
openOnClass:aClass andSelector:aSelector
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    75
    "open up an interface builder, fetching a spec from aClass
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    76
     via some selector
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    77
    "
195
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    78
    ^ self new openOnClass:aClass andSelector:aSelector
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    79
!
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    80
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    81
painter:aBuilderView
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    82
    "set the painter
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    83
    "
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    84
    |application|
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    85
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    86
    application := self new.
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    87
    application painter:aBuilderView.
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    88
  ^ application open
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    89
! !
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    90
87
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    91
!UIPainter class methodsFor:'ST-80 queries'!
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    92
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    93
preferenceFor:aSymbol
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    94
    "ST-80 compatible; always returns false
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    95
    "
87
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    96
    ^ false
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    97
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    98
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    99
! !
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
   100
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   101
!UIPainter class methodsFor:'accessing'!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   102
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   103
label
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   104
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   105
    ^'GUI Builder'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   106
! !
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   107
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   108
!UIPainter class methodsFor:'help specs'!
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   109
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   110
helpSpec
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   111
    "return a dictionary filled with helpKey -> helptext associations.
295
114befd1c369 add some help text
ca
parents: 287
diff changeset
   112
     These are used by the activeHelp tool."
114befd1c369 add some help text
ca
parents: 287
diff changeset
   113
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   114
    "
295
114befd1c369 add some help text
ca
parents: 287
diff changeset
   115
    UIHelpTool openOnClass:UIPainter    
114befd1c369 add some help text
ca
parents: 287
diff changeset
   116
    "
114befd1c369 add some help text
ca
parents: 287
diff changeset
   117
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   118
  ^ super helpSpec addPairsFrom:#(
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   119
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   120
#accept
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   121
'Writes back changes.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   122
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   123
#alignSelectionBottom
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   124
'Aligns selected widgets to the bottom edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   125
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   126
#alignSelectionCenterHor
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   127
'Aligns selected widgets vertical to the center of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   128
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   129
#alignSelectionCenterVer
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   130
'Aligns selected widgets horizontal to the center of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   131
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   132
#alignSelectionLeft
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   133
'Aligns selected widgets to the left edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   134
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   135
#alignSelectionLeftAndRight
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   136
'Aligns selected widgets to the right and left edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   137
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   138
#alignSelectionRight
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   139
'Aligns selected widgets to the right edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   140
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   141
#alignSelectionTop
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   142
'Aligns selected widgets to the top edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   143
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   144
#alignSelectionTopAndBottom
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   145
'Aligns selected widgets to the top and bottom edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   146
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   147
#cancel
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   148
'Rereads specification and layout.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   149
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   150
#centerSelectionHor
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   151
'Centers widgets horizontal to their top widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   152
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   153
#centerSelectionVer
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   154
'Centers vertical horizontal in contained view.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   155
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   156
#copyExtent
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   157
'Copies extent of the selected widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   158
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   159
#copyLayout
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   160
'Copies layout of the selected widget.'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   161
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   162
#fileLoad
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   163
'Opens dialog to load an interface from a class.'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   164
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   165
#fileLoadSubspec
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   166
'Opens dialog to load an subspec interface from a class.'
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   167
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   168
#fileNew
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   169
'Creates new interface.'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   170
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   171
#filePickAnInterface
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   172
'Changes the cursor for moving it over another view to load its interface.'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   173
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   174
#fileSave
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   175
'Saves current interface.'
295
114befd1c369 add some help text
ca
parents: 287
diff changeset
   176
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   177
#galleryShown
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   178
'Shows or hide gallery view.'
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   179
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   180
#menuAlignment
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   181
'Provides a set of alignment operation on the current selected widgets.'
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   182
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   183
#moveSelectionDown
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   184
'Moves selected widgets down.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   185
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   186
#moveSelectionLeft
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   187
'Moves selected widgets out of parent widget.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   188
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   189
#moveSelectionRight
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   190
'Moves selected widgets into next widget as child.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   191
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   192
#moveSelectionUp
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   193
'Moves selected widgets up.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   194
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   195
#painterShown
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   196
'Shows or hide painter view.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   197
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   198
#pasteBuffer
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   199
'Pastes widgets at current mouse position.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   200
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   201
#pasteExtent
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   202
'Changes extent of all selected widgets to the last copied extent.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   203
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   204
#pasteHeight
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   205
'Changes height of all selected widgets to the last copied extent height.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   206
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   207
#pasteLayout
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   208
'Changes layout of all selected widgets to the last copied layout.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   209
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   210
#pasteWidth
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   211
'Changes width of all selected widgets to the last copied extent width.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   212
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   213
#pasteWithLayout
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   214
'Pastes widgets without changing their layouts.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   215
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   216
#setToDefaultExtent
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   217
'Sets selected widgets to their default extent.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   218
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   219
#setToDefaultHeight
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   220
'Sets selected widgets to their default height.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   221
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   222
#setToDefaultWidth
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   223
'Sets selected widgets to their default width.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   224
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   225
#spreadSelectionHor
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   226
'Sets horizontal spaces between selected widgets as the same.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   227
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   228
#spreadSelectionVer
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   229
'Sets vertical spaces between selected widgets as the same.'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   230
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   231
#testStartApplication
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   232
'Starts current application on loaded interface.'
194
2b05bd327785 recompute property list when changing view ordering by
ca
parents: 193
diff changeset
   233
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   234
)
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   235
! !
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   236
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   237
!UIPainter class methodsFor:'helpers'!
14db1276218c change the spec;
ca
parents: 295
diff changeset
   238
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   239
convertString:aString maxLineSize:maxCharactersPerLine skipLineFeed:skipLineFeed
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   240
    "converts a string to a string collection with maximum characters
14db1276218c change the spec;
ca
parents: 295
diff changeset
   241
     per line
14db1276218c change the spec;
ca
parents: 295
diff changeset
   242
    "
14db1276218c change the spec;
ca
parents: 295
diff changeset
   243
    |stream
14db1276218c change the spec;
ca
parents: 295
diff changeset
   244
        max     "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   245
        size    "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   246
        start   "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   247
        stop    "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   248
        cpySz   "{ Class:SmallInteger }"
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   249
        lnSz    "{ Class:SmallInteger }"
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   250
        atBeginOfLine|
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   251
14db1276218c change the spec;
ca
parents: 295
diff changeset
   252
    maxCharactersPerLine < 20 ifFalse:[max := maxCharactersPerLine - 1]
14db1276218c change the spec;
ca
parents: 295
diff changeset
   253
                               ifTrue:[max := 20].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   254
14db1276218c change the spec;
ca
parents: 295
diff changeset
   255
    (size := aString size) <= max ifTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   256
        ^ aString
14db1276218c change the spec;
ca
parents: 295
diff changeset
   257
    ].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   258
    start  := 1.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   259
    lnSz   := 0.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   260
    stream := (String new:size) writeStream.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   261
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   262
    atBeginOfLine := true.
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   263
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   264
    [start <= size] whileTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   265
        (start := aString indexOfNonSeparatorStartingAt:start) == 0 ifTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   266
            ^ stream contents
14db1276218c change the spec;
ca
parents: 295
diff changeset
   267
        ].
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   268
        (aString at:start) == $\ ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   269
            skipLineFeed ifFalse:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   270
                stream nextPut:$\
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   271
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   272
            start := start + 1.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   273
            stream cr.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   274
            start := start + 1.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   275
            lnSz := 0.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   276
        ] ifFalse:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   277
            (stop := aString indexOfSeparatorStartingAt:start) == 0 ifTrue:[
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   278
                stop := size + 1
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   279
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   280
            (aString at:(stop - 1)) == $\ ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   281
                stop := stop - 1
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   282
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   283
            cpySz := stop - start.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   284
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   285
            lnSz == 0 ifFalse:[
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   286
                (lnSz := lnSz + cpySz) >= max ifTrue:[stream cr.    lnSz := cpySz. atBeginOfLine := true. ]
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   287
                                             ifFalse:[stream space. lnSz := lnSz + 1]
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   288
            ] ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   289
                lnSz := cpySz
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   290
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   291
            stream nextPutAll:aString startingAt:start to:(stop - 1).
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   292
            start := stop.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   293
        ]
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   294
    ].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   295
    ^ stream contents
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   296
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   297
    "Modified: / 1.2.1998 / 14:42:56 / cg"
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   298
! !
14db1276218c change the spec;
ca
parents: 295
diff changeset
   299
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
   300
!UIPainter class methodsFor:'interface specs'!
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
   301
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   302
gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   303
    "this window spec was automatically generated by the ST/X UIPainter"
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   304
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   305
    "do not manually edit this - the painter/builder may not be able to
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   306
     handle the specification if its corrupted."
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   307
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   308
    "
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   309
     UIPainter new openOnClass:UIPainter andSelector:#gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   310
     UIPainter new openInterface:#gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   311
    "
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   312
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   313
    <resource: #canvas>
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   314
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   315
    ^
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   316
     
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   317
       #(#FullSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   318
          #'window:' 
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   319
           #(#WindowSpec
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   320
              #'name:' 'GUI Builder'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   321
              #'layout:' #(#LayoutFrame 44 0 416 0 325 0 613 0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   322
              #'label:' 'GUI Builder'
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   323
              #'min:' #(#Point 10 10)
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   324
              #'max:' #(#Point 1280 1024)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   325
              #'bounds:' #(#Rectangle 44 416 326 614)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   326
              #'usePreferredExtent:' false
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   327
          )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   328
          #'component:' 
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   329
           #(#SpecCollection
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   330
              #'collection:' 
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   331
               #(
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   332
                 #(#FramedBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   333
                    #'name:' 'framedBox'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   334
                    #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   335
                    #'component:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   336
                     #(#SpecCollection
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   337
                        #'collection:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   338
                         #(
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   339
                           #(#CheckBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   340
                              #'name:' 'show'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   341
                              #'layout:' #(#Point 23 24)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   342
                              #'model:' #showGrid
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   343
                              #'label:' 'Show grid'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   344
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   345
                           #(#CheckBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   346
                              #'name:' 'align'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   347
                              #'layout:' #(#Point 23 52)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   348
                              #'model:' #alignToGrid
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   349
                              #'label:' 'Align to Grid'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   350
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   351
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   352
                              #'name:' 'hrzLabel'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   353
                              #'layout:' #(#AlignmentOrigin 148 0 99 0 1 0.5)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   354
                              #'label:' 'Horizontal Pixels:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   355
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   356
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   357
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   358
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   359
                              #'name:' 'hrzField'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   360
                              #'layout:' #(#LayoutFrame 154 0 87 0 207 0 109 0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   361
                              #'model:' #hspace
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   362
                              #'type:' #numberOrNil
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   363
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   364
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   365
                              #'name:' 'vrtLabel'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   366
                              #'layout:' #(#AlignmentOrigin 149 0 124 0 1 0.5)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   367
                              #'label:' 'Vertical Pixels:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   368
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   369
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   370
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   371
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   372
                              #'name:' 'vrtField'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   373
                              #'layout:' #(#LayoutFrame 154 0 112 0 207 0 134 0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   374
                              #'model:' #vspace
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   375
                              #'type:' #numberOrNil
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   376
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   377
                        )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   378
                    )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   379
                    #'label:' 'Grid Parameter'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   380
                    #'labelPosition:' #topLeft
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   381
                )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   382
                 #(#UISubSpecification
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   383
                    #'name:' 'uISubSpecifica1'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   384
                    #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   385
                    #'majorKey:' #ToolApplicationModel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   386
                    #'minorKey:' #windowSpecForCommitWithoutChannels
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   387
                )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   388
              )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   389
          )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   390
      )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   391
!
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   392
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   393
nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   394
    "this window spec was automatically generated by the ST/X UIPainter"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   395
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   396
    "do not manually edit this - the painter/builder may not be able to
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   397
     handle the specification if its corrupted."
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   398
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   399
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   400
     UIPainter new openOnClass:UIPainter andSelector:#nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   401
     UIPainter new openInterface:#nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   402
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   403
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   404
    <resource: #canvas>
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   405
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   406
    ^
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   407
     
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   408
       #(#FullSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   409
          #'window:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   410
           #(#WindowSpec
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   411
              #'name:' 'GUI Builder'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   412
              #'layout:' #(#LayoutFrame 238 0 270 0 584 0 429 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   413
              #'label:' 'GUI Builder'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   414
              #'min:' #(#Point 10 10)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   415
              #'max:' #(#Point 1152 900)
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   416
              #'bounds:' #(#Rectangle 238 270 585 430)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   417
              #'usePreferredExtent:' false
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   418
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   419
          #'component:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   420
           #(#SpecCollection
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   421
              #'collection:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   422
               #(
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   423
                 #(#FramedBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   424
                    #'name:' 'framedBox1'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   425
                    #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   426
                    #'component:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   427
                     #(#SpecCollection
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   428
                        #'collection:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   429
                         #(
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   430
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   431
                              #'name:' 'selectorLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   432
                              #'layout:' #(#AlignmentOrigin 77 0.11 39 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   433
                              #'label:' 'Selector:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   434
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   435
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   436
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   437
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   438
                              #'name:' 'methodNameField'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   439
                              #'layout:' #(#LayoutFrame 80 0.11 28 0 14 1.0 50 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   440
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   441
                              #'model:' #methodNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   442
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   443
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   444
                              #'name:' 'classLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   445
                              #'layout:' #(#AlignmentOrigin 77 0.11 64 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   446
                              #'label:' 'Class:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   447
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   448
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   449
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   450
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   451
                              #'name:' 'classNameField'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   452
                              #'layout:' #(#LayoutFrame 80 0.11 53 0 14 1.0 75 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   453
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   454
                              #'model:' #classNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   455
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   456
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   457
                              #'name:' 'superClassLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   458
                              #'layout:' #(#AlignmentOrigin 77 0.11 89 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   459
                              #'label:' 'Superclass:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   460
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   461
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   462
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   463
                           #(#ComboBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   464
                              #'name:' 'superclassNameComboBox'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   465
                              #'layout:' #(#LayoutFrame 80 0.11 78 0 14 1.0 100 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   466
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   467
                              #'model:' #superclassNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   468
                              #'comboList:' #superclassNameDefaults
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   469
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   470
                        )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   471
                    )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   472
                    #'label:' 'Class and selector for interface'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   473
                    #'labelPosition:' #topLeft
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   474
                )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   475
                 #(#UISubSpecification
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   476
                    #'name:' 'uISubSpecifica1'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   477
                    #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   478
                    #'majorKey:' #ToolApplicationModel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   479
                    #'minorKey:' #windowSpecForCommitWithoutChannels
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   480
                )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   481
              )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   482
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   483
      )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   484
!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   485
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   486
windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   487
    "this window spec was automatically generated by the ST/X UIPainter"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   488
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   489
    "do not manually edit this - the painter/builder may not be able to
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   490
     handle the specification if its corrupted."
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   491
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   492
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   493
     UIPainter new openOnClass:UIPainter andSelector:#windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   494
     UIPainter new openInterface:#windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   495
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   496
    "UIPainter open"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   497
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   498
    <resource: #canvas>
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   499
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   500
    ^
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   501
     
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   502
       #(#FullSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   503
          #'window:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   504
           #(#WindowSpec
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   505
              #'name:' 'Tree-View'
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   506
              #'layout:' #(#LayoutFrame 6 0 391 0 558 0 916 0)
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   507
              #'label:' 'Tree-View'
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   508
              #'min:' #(#Point 10 10)
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   509
              #'max:' #(#Point 1160 870)
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   510
              #'bounds:' #(#Rectangle 6 391 559 917)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   511
              #'menu:' #menu
375
b43507f222ce checkin from browser
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
   512
              #'usePreferredExtent:' false
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   513
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   514
          #'component:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   515
           #(#SpecCollection
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   516
              #'collection:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   517
               #(
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   518
                 #(#MenuPanelSpec
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   519
                    #'name:' 'menuToolbarView'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   520
                    #'layout:' #(#LayoutFrame -1 0.0 0 0 -1 1.0 32 0)
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   521
                    #'tabable:' true
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   522
                    #'menu:' #menuToolbar
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   523
                    #'showSeparatingLines:' true
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   524
                )
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   525
                 #(#VariableVerticalPanelSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   526
                    #'name:' 'vpanel'
448
9f115893b4df info bar added
tz
parents: 447
diff changeset
   527
                    #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -22 1.0)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   528
                    #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   529
                     #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   530
                        #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   531
                         #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   532
                           #(#VariableHorizontalPanelSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   533
                              #'name:' 'hpanel'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   534
                              #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   535
                               #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   536
                                  #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   537
                                   #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   538
                                     #(#ArbitraryComponentSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   539
                                        #'name:' 'treeView'
375
b43507f222ce checkin from browser
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
   540
                                        #'tabable:' true
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   541
                                        #'menu:' #menuEdit
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   542
                                        #'hasHorizontalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   543
                                        #'hasVerticalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   544
                                        #'miniScrollerHorizontal:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   545
                                        #'miniScrollerVertical:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   546
                                        #'component:' #treeView
14db1276218c change the spec;
ca
parents: 295
diff changeset
   547
                                        #'hasBorder:' false
14db1276218c change the spec;
ca
parents: 295
diff changeset
   548
                                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   549
                                     #(#ViewSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   550
                                        #'name:' 'specHolderView'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   551
                                        #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   552
                                         #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   553
                                            #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   554
                                             #(
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   555
                                               #(#ViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   556
                                                  #'name:' 'View'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   557
                                                  #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 28 0)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   558
                                                  #'component:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   559
                                                   #(#SpecCollection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   560
                                                      #'collection:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   561
                                                       #(
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   562
                                                         #(#HorizontalPanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   563
                                                            #'name:' 'panelViewButtons'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   564
                                                            #'layout:' #(#LayoutFrame 0 0.0 2 0 0 0.5 26 0)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   565
                                                            #'component:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   566
                                                             #(#SpecCollection
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   567
                                                                #'collection:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   568
                                                                 #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   569
                                                                   #(#CheckBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   570
                                                                      #'name:' 'checkBox1'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   571
                                                                      #'model:' #galleryShown
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   572
                                                                      #'label:' 'Gallery'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   573
                                                                      #'extent:' #(#Point 82 22)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   574
                                                                  )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   575
                                                                   #(#CheckBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   576
                                                                      #'name:' 'checkBox2'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   577
                                                                      #'model:' #painterShown
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   578
                                                                      #'label:' 'Canvas'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   579
                                                                      #'extent:' #(#Point 119 22)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   580
                                                                  )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   581
                                                                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   582
                                                            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   583
                                                            #'horizontalLayout:' #left
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   584
                                                            #'verticalLayout:' #top
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   585
                                                            #'horizontalSpace:' 4
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   586
                                                            #'verticalSpace:' 4
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   587
                                                        )
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   588
                                                         #(#HorizontalPanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   589
                                                            #'name:' 'horizontalPanelView1'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   590
                                                            #'layout:' #(#LayoutFrame 0 0.5 2 0 0 1.0 26 0)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   591
                                                            #'component:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   592
                                                             #(#SpecCollection
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   593
                                                                #'collection:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   594
                                                                 #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   595
                                                                   #(#ArrowButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   596
                                                                      #'name:' 'arrowButton1'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   597
                                                                      #'activeHelpKey:' #moveSelectionLeft
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   598
                                                                      #'tabable:' true
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   599
                                                                      #'model:' #moveSelectionLeft
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   600
                                                                      #'enableChannel:' #canMoveOrAlignSelection
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   601
                                                                      #'isTriggerOnDown:' true
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   602
                                                                      #'direction:' #left
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   603
                                                                      #'extent:' #(#Point 22 22)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   604
                                                                  )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   605
                                                                   #(#ArrowButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   606
                                                                      #'name:' 'arrowButton2'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   607
                                                                      #'activeHelpKey:' #moveSelectionRight
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   608
                                                                      #'model:' #moveSelectionRight
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   609
                                                                      #'enableChannel:' #canMoveOrAlignSelection
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   610
                                                                      #'isTriggerOnDown:' true
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   611
                                                                      #'direction:' #right
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   612
                                                                      #'extent:' #(#Point 22 22)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   613
                                                                  )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   614
                                                                   #(#ArrowButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   615
                                                                      #'name:' 'arrowButton3'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   616
                                                                      #'activeHelpKey:' #moveSelectionDown
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   617
                                                                      #'model:' #moveSelectionDown
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   618
                                                                      #'enableChannel:' #canMoveOrAlignSelection
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   619
                                                                      #'isTriggerOnDown:' true
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   620
                                                                      #'direction:' #down
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   621
                                                                      #'extent:' #(#Point 22 22)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   622
                                                                  )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   623
                                                                   #(#ArrowButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   624
                                                                      #'name:' 'arrowButton4'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   625
                                                                      #'activeHelpKey:' #moveSelectionUp
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   626
                                                                      #'model:' #moveSelectionUp
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   627
                                                                      #'enableChannel:' #canMoveOrAlignSelection
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   628
                                                                      #'isTriggerOnDown:' true
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   629
                                                                      #'direction:' #up
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   630
                                                                      #'extent:' #(#Point 22 22)
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   631
                                                                  )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   632
                                                                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   633
                                                            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   634
                                                            #'horizontalLayout:' #right
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   635
                                                            #'verticalLayout:' #top
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   636
                                                            #'horizontalSpace:' 4
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   637
                                                            #'verticalSpace:' 4
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   638
                                                        )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   639
                                                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   640
                                                  )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   641
                                                  #'level:' 1
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   642
                                              )
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   643
                                               #(#NoteBookViewSpec
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   644
                                                  #'name:' 'noteBook'
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   645
                                                  #'layout:' #(#LayoutFrame 0 0.0 29 0.0 0 1.0 -30 1.0)
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   646
                                                  #'enableChannel:' #enableChannel
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   647
                                                  #'tabable:' true
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   648
                                                  #'model:' #tabModel
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   649
                                                  #'menu:' #tabList
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   650
                                                  #'style:' #(#FontDescription #helvetica #medium #roman 10)
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   651
                                                  #'canvas:' #noteBookView
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   652
                                              )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   653
                                               #(#HorizontalPanelViewSpec
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   654
                                                  #'name:' 'modifyPanel'
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   655
                                                  #'layout:' #(#LayoutFrame 0 0.0 -30 1.0 0 1.0 0 1.0)
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   656
                                                  #'component:' 
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   657
                                                   #(#SpecCollection
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   658
                                                      #'collection:' 
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   659
                                                       #(
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   660
                                                         #(#ActionButtonSpec
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   661
                                                            #'name:' 'cancelButton'
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   662
                                                            #'activeHelpKey:' #cancel
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   663
                                                            #'label:' 'Cancel'
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   664
                                                            #'tabable:' true
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   665
                                                            #'model:' #cancel
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   666
                                                            #'enableChannel:' #modifiedChannel
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   667
                                                            #'extent:' #(#Point 179 24)
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   668
                                                        )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   669
                                                         #(#ActionButtonSpec
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   670
                                                            #'name:' 'acceptButton'
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   671
                                                            #'activeHelpKey:' #accept
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   672
                                                            #'label:' 'OK'
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   673
                                                            #'tabable:' true
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   674
                                                            #'model:' #accept
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   675
                                                            #'enableChannel:' #modifiedChannel
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   676
                                                            #'extent:' #(#Point 180 24)
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   677
                                                        )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   678
                                                      )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   679
                                                  )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   680
                                                  #'horizontalLayout:' #fitSpace
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   681
                                                  #'verticalLayout:' #fitSpace
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   682
                                                  #'horizontalSpace:' 3
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   683
                                                  #'verticalSpace:' 3
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   684
                                              )
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   685
                                            )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   686
                                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   687
                                        #'borderWidth:' 1
14db1276218c change the spec;
ca
parents: 295
diff changeset
   688
                                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   689
                                  )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   690
                              )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   691
                              #'level:' 1
14db1276218c change the spec;
ca
parents: 295
diff changeset
   692
                              #'handles:' #(#Any 0.329435 1.0)
14db1276218c change the spec;
ca
parents: 295
diff changeset
   693
                          )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   694
                           #(#TextEditorSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   695
                              #'name:' 'Transcript'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   696
                              #'hasHorizontalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   697
                              #'hasVerticalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   698
                              #'miniScrollerHorizontal:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   699
                              #'miniScrollerVertical:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   700
                          )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   701
                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   702
                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   703
                    #'handles:' #(#Any 0.880597 1.0)
14db1276218c change the spec;
ca
parents: 295
diff changeset
   704
                )
486
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   705
                 #(#UISubSpecification
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   706
                    #'name:' 'infoBarSubSpec'
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   707
                    #'layout:' #(#LayoutFrame 0 0.0 -22 1 0 1.0 0 1.0)
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   708
                    #'majorKey:' #ToolApplicationModel
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   709
                    #'minorKey:' #windowSpecForInfoBarWithClock
448
9f115893b4df info bar added
tz
parents: 447
diff changeset
   710
                )
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   711
              )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   712
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   713
      )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   714
! !
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   715
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   716
!UIPainter class methodsFor:'menu specs'!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   717
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   718
menu
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   719
    "this window spec was automatically generated by the ST/X MenuEditor"
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   720
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   721
    "do not manually edit this - the builder may not be able to
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   722
     handle the specification if its corrupted."
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   723
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   724
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   725
     MenuEditor new openOnClass:UIPainter andSelector:#menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   726
     (Menu new fromLiteralArrayEncoding:(UIPainter menu)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   727
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   728
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   729
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   730
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   731
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   732
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   733
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   734
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   735
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   736
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   737
                #'label:' 'About'
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   738
                #'labelImage:' #(#ResourceRetriever nil #menuIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   739
                #'submenuChannel:' #menuAbout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   740
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   741
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   742
                #'label:' 'File'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   743
                #'value:' #file
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   744
                #'enabled:' #enableChannel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   745
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   746
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   747
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   748
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   749
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   750
                          #'label:' 'New'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   751
                          #'value:' #doNew
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   752
                          #'activeHelpKey:' #fileNew
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   753
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   754
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   755
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   756
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   757
                       #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   758
                          #'label:' 'Load...'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   759
                          #'value:' #doFromClass
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   760
                          #'activeHelpKey:' #fileLoad
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   761
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   762
                       #(#MenuItem
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   763
                          #'label:' 'Load Subspec...'
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   764
                          #'value:' #loadSubspec
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   765
                          #'activeHelpKey:' #fileLoadSubspec
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   766
                      )
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   767
                       #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   768
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   769
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   770
                       #(#MenuItem
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   771
                          #'label:' 'Save'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   772
                          #'value:' #doInstallSpec
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   773
                          #'activeHelpKey:' #fileSave
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   774
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   775
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   776
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   777
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   778
                       #(#MenuItem
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   779
                          #'label:' 'Define Class And Selector...'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   780
                          #'value:' #defineClassAndSelector
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   781
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   782
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   783
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   784
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   785
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   786
                          #'label:' 'Create Aspect Methods'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   787
                          #'value:' #doInstallAspects
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   788
                          #'enabled:' #hasSpecClass
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   789
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   790
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   791
                          #'label:' 'Create Hook Methods'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   792
                          #'value:' #doInstallHooks
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   793
                          #'enabled:' #hasSpecClass
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   794
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   795
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   796
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   797
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   798
                       #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   799
                          #'label:' 'Pick An Interface'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   800
                          #'value:' #doPickAView
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   801
                          #'activeHelpKey:' #filePickAnInterface
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   802
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   803
                       #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   804
                          #'label:' '-'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   805
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   806
                       #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   807
                          #'label:' 'Show Interface Spec'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   808
                          #'value:' #doWindowSpec
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   809
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   810
                       #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   811
                          #'label:' 'Browse Interface Class'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   812
                          #'value:' #doBrowseAppClass
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   813
                          #'enabled:' #hasSpecClass
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   814
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   815
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   816
                          #'label:' 'Browse Aspect Methods'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   817
                          #'value:' #doBrowseAspectMethods
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   818
                          #'enabled:' #hasSpecClass
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   819
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   820
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   821
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   822
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   823
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   824
                          #'label:' 'Exit'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   825
                          #'value:' #closeRequest
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   826
                          #'activeHelpKey:' #fileExit
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   827
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   828
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   829
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   830
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   831
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   832
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   833
                #'label:' 'Edit'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   834
                #'submenuChannel:' #menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   835
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   836
             #(#MenuItem
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   837
                #'label:' 'Add'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   838
                #'submenuChannel:' #menuAdd
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   839
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   840
             #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   841
                #'label:' 'Align'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   842
                #'submenuChannel:' #menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   843
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   844
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   845
                #'label:' 'Test'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   846
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   847
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   848
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   849
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   850
                       #(#MenuItem
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   851
                          #'label:' 'Start Application'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   852
                          #'value:' #doStartApplication
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   853
                          #'activeHelpKey:' #testStartApplication
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   854
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   855
                       #(#MenuItem
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   856
                          #'label:' '-'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   857
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   858
                       #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   859
                          #'label:' 'Geometry Test Mode'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   860
                          #'indication:' #'testMode:'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   861
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   862
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   863
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   864
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   865
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   866
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   867
                #'label:' 'Settings'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   868
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   869
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   870
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   871
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   872
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   873
                          #'label:' 'Undo Manager'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   874
                          #'value:' #openUndoMenu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   875
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   876
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   877
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   878
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   879
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   880
                          #'label:' 'Grid Manager'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   881
                          #'value:' #gridMenu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   882
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   883
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   884
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   885
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   886
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   887
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   888
                #'label:' 'History'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   889
                #'submenuChannel:' #menuHistory
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   890
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   891
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   892
                #'label:' 'Help'
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   893
                #'startGroup:' #right
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   894
                #'submenuChannel:' #menuHelp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   895
            )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   896
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   897
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   898
      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   899
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   900
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   901
menuAdd
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   902
    "this window spec was automatically generated by the ST/X MenuEditor"
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   903
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   904
    "do not manually edit this - the builder may not be able to
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   905
     handle the specification if its corrupted."
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   906
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   907
    "
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   908
     MenuEditor new openOnClass:UIPainter andSelector:#menuAdd
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   909
     (Menu new fromLiteralArrayEncoding:(UIPainter menuAdd)) startUp
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   910
    "
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   911
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   912
    <resource: #menu>
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   913
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   914
    ^
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   915
     
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   916
       #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   917
          
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   918
           #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   919
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   920
                #'label:' 'Buttons'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   921
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   922
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   923
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   924
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   925
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   926
                          #'label:' 'Action Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   927
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   928
                          #'argument:' #ActionButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   929
                          #'labelImage:' #(#ResourceRetriever #ActionButtonSpec #icon 'Action Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   930
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   931
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   932
                          #'label:' 'Arrow Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   933
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   934
                          #'argument:' #ArrowButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   935
                          #'labelImage:' #(#ResourceRetriever #ArrowButtonSpec #icon 'Arrow Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   936
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   937
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   938
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   939
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   940
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   941
                          #'label:' 'Toggle'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   942
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   943
                          #'argument:' #ToggleSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   944
                          #'labelImage:' #(#ResourceRetriever #ToggleSpec #icon 'Toggle')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   945
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   946
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   947
                          #'label:' 'Radio Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   948
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   949
                          #'argument:' #RadioButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   950
                          #'labelImage:' #(#ResourceRetriever #RadioButtonSpec #icon 'Radio Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   951
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   952
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   953
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   954
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   955
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   956
                          #'label:' 'Check Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   957
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   958
                          #'argument:' #CheckBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   959
                          #'labelImage:' #(#ResourceRetriever #CheckBoxSpec #icon 'Check Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   960
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   961
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   962
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   963
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   964
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   965
                          #'label:' 'Up Down Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   966
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   967
                          #'argument:' #UpDownButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   968
                          #'labelImage:' #(#ResourceRetriever #UpDownButtonSpec #icon 'Up Down Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   969
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   970
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   971
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   972
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   973
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   974
                          #'label:' 'Slider'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   975
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   976
                          #'argument:' #SliderSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   977
                          #'labelImage:' #(#ResourceRetriever #SliderSpec #icon 'Slider')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   978
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   979
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   980
                          #'label:' 'Thumb Wheel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   981
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   982
                          #'argument:' #ThumbWheelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   983
                          #'labelImage:' #(#ResourceRetriever #ThumbWheelSpec #icon 'Thumb Wheel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   984
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   985
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   986
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   987
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   988
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   989
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   990
                #'label:' 'Menus'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   991
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   992
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   993
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   994
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   995
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   996
                          #'label:' 'Combo Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   997
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   998
                          #'argument:' #ComboBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   999
                          #'labelImage:' #(#ResourceRetriever #ComboBoxSpec #icon 'Combo Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1000
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1001
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1002
                          #'label:' 'Combo List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1003
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1004
                          #'argument:' #ComboListSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1005
                          #'labelImage:' #(#ResourceRetriever #ComboListSpec #icon 'Combo List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1006
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1007
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1008
                          #'label:' 'PopUp List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1009
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1010
                          #'argument:' #PopUpListSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1011
                          #'labelImage:' #(#ResourceRetriever #ComboListSpec #icon 'PopUp List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1012
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1013
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1014
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1015
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1016
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1017
                          #'label:' 'Tab'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1018
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1019
                          #'argument:' #TabViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1020
                          #'labelImage:' #(#ResourceRetriever #TabViewSpec #icon 'Tab')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1021
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1022
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1023
                          #'label:' 'Note Book'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1024
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1025
                          #'argument:' #NoteBookViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1026
                          #'labelImage:' #(#ResourceRetriever #NoteBookViewSpec #icon 'Note Book')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1027
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1028
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1029
                          #'label:' 'Gallery'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1030
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1031
                          #'argument:' #UIGalleryViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1032
                          #'labelImage:' #(#ResourceRetriever #UIGalleryViewSpec #icon 'Gallery')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1033
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1034
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1035
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1036
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1037
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1038
                          #'label:' 'Menu Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1039
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1040
                          #'argument:' #MenuPanelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1041
                          #'labelImage:' #(#ResourceRetriever #MenuPanelSpec #icon 'Menu Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1042
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1043
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1044
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1045
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1046
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1047
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1048
                #'label:' 'Text Views'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1049
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1050
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1051
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1052
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1053
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1054
                          #'label:' 'Text Editor'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1055
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1056
                          #'argument:' #TextEditorSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1057
                          #'labelImage:' #(#ResourceRetriever #TextEditorSpec #icon 'Text Editor')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1058
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1059
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1060
                          #'label:' 'Input Field'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1061
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1062
                          #'argument:' #InputFieldSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1063
                          #'labelImage:' #(#ResourceRetriever #InputFieldSpec #icon 'Input Field')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1064
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1065
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1066
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1067
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1068
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1069
                          #'label:' 'Label'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1070
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1071
                          #'argument:' #LabelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1072
                          #'labelImage:' #(#ResourceRetriever #LabelSpec #icon 'Label')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1073
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1074
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1075
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1076
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1077
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1078
                          #'label:' 'HTML View'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1079
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1080
                          #'argument:' #HTMLViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1081
                          #'labelImage:' #(#ResourceRetriever #HTMLViewSpec #icon 'HTML View')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1082
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1083
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1084
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1085
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1086
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1087
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1088
                #'label:' 'Lists'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1089
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1090
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1091
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1092
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1093
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1094
                          #'label:' 'List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1095
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1096
                          #'argument:' #SequenceViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1097
                          #'labelImage:' #(#ResourceRetriever #SequenceViewSpec #icon 'List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1098
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1099
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1100
                          #'label:' 'Data Set List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1101
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1102
                          #'argument:' #DataSetSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1103
                          #'labelImage:' #(#ResourceRetriever #DataSetSpec #icon 'Data Set List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1104
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1105
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1106
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1107
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1108
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1109
                          #'label:' 'Tree List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1110
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1111
                          #'argument:' #SelectionInTreeViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1112
                          #'labelImage:' #(#ResourceRetriever #SelectionInTreeViewSpec #icon 'Tree List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1113
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1114
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1115
                          #'label:' 'File Tree List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1116
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1117
                          #'argument:' #FileSelectionTreeSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1118
                          #'labelImage:' #(#ResourceRetriever #FileSelectionTreeSpec #icon 'File Tree List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1119
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1120
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1121
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1122
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1123
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1124
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1125
                #'label:' 'Boxes'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1126
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1127
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1128
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1129
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1130
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1131
                          #'label:' 'Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1132
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1133
                          #'argument:' #ViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1134
                          #'labelImage:' #(#ResourceRetriever #ViewSpec #icon 'Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1135
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1136
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1137
                          #'label:' 'Framed Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1138
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1139
                          #'argument:' #FramedBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1140
                          #'labelImage:' #(#ResourceRetriever #FramedBoxSpec #icon 'Framed Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1141
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1142
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1143
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1144
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1145
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1146
                          #'label:' 'Horizontal Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1147
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1148
                          #'argument:' #HorizontalPanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1149
                          #'labelImage:' #(#ResourceRetriever #HorizontalPanelViewSpec #icon 'Horizontal Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1150
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1151
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1152
                          #'label:' 'Vertical Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1153
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1154
                          #'argument:' #VerticalPanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1155
                          #'labelImage:' #(#ResourceRetriever #VerticalPanelViewSpec #icon 'Vertical Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1156
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1157
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1158
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1159
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1160
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1161
                          #'label:' 'Area Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1162
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1163
                          #'argument:' #PanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1164
                          #'labelImage:' #(#ResourceRetriever #PanelViewSpec #icon 'Area Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1165
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1166
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1167
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1168
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1169
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1170
                          #'label:' 'Variable Horizontal Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1171
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1172
                          #'argument:' #VariableHorizontalPanelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1173
                          #'labelImage:' #(#ResourceRetriever #VariableHorizontalPanelSpec #icon 'Variable Horizontal Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1174
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1175
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1176
                          #'label:' 'Variable Vertical Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1177
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1178
                          #'argument:' #VariableVerticalPanelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1179
                          #'labelImage:' #(#ResourceRetriever #VariableVerticalPanelSpec #icon 'Variable Vertical Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1180
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1181
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1182
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1183
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1184
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1185
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1186
                #'label:' 'Misc'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1187
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1188
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1189
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1190
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1191
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1192
                          #'label:' 'Arbitrary Component'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1193
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1194
                          #'argument:' #ArbitraryComponentSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1195
                          #'labelImage:' #(#ResourceRetriever #ArbitraryComponentSpec #icon 'Arbitrary Component')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1196
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1197
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1198
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1199
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1200
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1201
                          #'label:' 'Sub Specification'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1202
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1203
                          #'argument:' #UISubSpecification
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1204
                          #'labelImage:' #(#ResourceRetriever #ArbitraryComponentSpec #icon 'Sub Specification')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1205
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1206
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1207
                          #'label:' 'Sub Canvas'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1208
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1209
                          #'argument:' #SubCanvasSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1210
                          #'labelImage:' #(#ResourceRetriever #SubCanvasSpec #icon 'Sub Canvas')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1211
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1212
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1213
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1214
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1215
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1216
                          #'label:' 'Progress Indicator'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1217
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1218
                          #'argument:' #ProgressIndicatorSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1219
                          #'labelImage:' #(#ResourceRetriever #ProgressIndicatorSpec #icon 'Progress Indicator')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1220
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1221
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1222
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1223
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1224
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1225
                          #'label:' 'Divider'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1226
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1227
                          #'argument:' #DividerSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1228
                          #'labelImage:' #(#ResourceRetriever #DividerSpec #icon 'Divider')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1229
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1230
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1231
                          #'label:' 'Region'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1232
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1233
                          #'argument:' #RegionSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1234
                          #'labelImage:' #(#ResourceRetriever #RegionSpec #icon 'Region')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1235
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1236
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1237
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1238
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1239
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1240
          ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1241
          nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1242
      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1243
!
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1244
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1245
menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1246
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1247
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1248
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1249
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1250
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1251
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1252
     MenuEditor new openOnClass:UIPainter andSelector:#menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1253
     (Menu new fromLiteralArrayEncoding:(UIPainter menuAlign)) startUp
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1254
    "
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1255
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1256
    <resource: #menu>
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1257
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1258
    ^
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1259
     
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1260
       #(#Menu
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1261
          
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1262
           #(
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1263
             #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1264
                #'label:' 'Align Left'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1265
                #'value:' #alignSelectionLeft
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1266
                #'activeHelpKey:' #alignSelectionLeft
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1267
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1268
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignL 'Align Left')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1269
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1270
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1271
                #'label:' 'Align Right'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1272
                #'value:' #alignSelectionRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1273
                #'activeHelpKey:' #alignSelectionRight
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1274
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1275
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignR 'Align Right')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1276
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1277
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1278
                #'label:' 'Align Left & Right'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1279
                #'value:' #alignSelectionLeftAndRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1280
                #'activeHelpKey:' #alignSelectionLeftAndRight
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1281
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1282
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignLR 'Align Left & Right')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1283
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1284
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1285
                #'label:' 'Align top'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1286
                #'value:' #alignSelectionTop
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1287
                #'activeHelpKey:' #alignSelectionTop
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1288
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1289
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignT 'Align top')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1290
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1291
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1292
                #'label:' 'Align Bottom'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1293
                #'value:' #alignSelectionBottom
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1294
                #'activeHelpKey:' #alignSelectionBottom
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1295
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1296
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignB 'Align Bottom')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1297
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1298
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1299
                #'label:' 'Align Top & Bottom'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1300
                #'value:' #alignSelectionTopAndBottom
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1301
                #'activeHelpKey:' #alignSelectionTopAndBottom
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1302
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1303
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignTB 'Align Top & Bottom')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1304
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1305
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1306
                #'label:' 'Align Centered Horizontal'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1307
                #'value:' #alignSelectionCenterHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1308
                #'activeHelpKey:' #alignSelectionCenterHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1309
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1310
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterH 'Align Centered Horizontal')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1311
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1312
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1313
                #'label:' 'Align Centered Vertical'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1314
                #'value:' #alignSelectionCenterVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1315
                #'activeHelpKey:' #alignSelectionCenterVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1316
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1317
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterV 'Align Centered Vertical')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1318
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1319
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1320
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1321
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1322
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1323
                #'label:' 'Spread Horizontal'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1324
                #'value:' #spreadSelectionHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1325
                #'activeHelpKey:' #spreadSelectionHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1326
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1327
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1328
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1329
                #'label:' 'Spread Vertical'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1330
                #'value:' #spreadSelectionVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1331
                #'activeHelpKey:' #spreadSelectionVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1332
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1333
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1334
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1335
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1336
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1337
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1338
                #'label:' 'Center Horizontal In Frame'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1339
                #'value:' #centerSelectionHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1340
                #'activeHelpKey:' #centerSelectionHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1341
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1342
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1343
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1344
                #'label:' 'Center Vertical In Frame'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1345
                #'value:' #centerSelectionVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1346
                #'activeHelpKey:' #centerSelectionVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1347
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1348
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1349
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1350
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1351
      )
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1352
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1353
    "Modified: / 27.1.1998 / 21:27:33 / cg"
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1354
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1355
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1356
menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1357
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1358
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1359
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1360
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1361
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1362
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1363
     MenuEditor new openOnClass:UIPainter andSelector:#menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1364
     (Menu new fromLiteralArrayEncoding:(UIPainter menuEdit)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1365
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1366
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1367
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1368
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1369
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1370
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1371
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1372
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1373
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1374
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1375
                #'label:' 'Cut'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1376
                #'value:' #deleteSelection
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1377
                #'activeHelpKey:' #editCut
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1378
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1379
                #'shortcutKeyCharacter:' #Cut
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1380
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1381
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1382
                #'label:' 'Copy'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1383
                #'value:' #copySelection
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1384
                #'activeHelpKey:' #editCopy
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1385
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1386
                #'shortcutKeyCharacter:' #Copy
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1387
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1388
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1389
                #'label:' 'Paste'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1390
                #'nameKey:' #paste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1391
                #'value:' #paste
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1392
                #'activeHelpKey:' #editPaste
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1393
                #'enabled:' #canPaste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1394
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1395
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1396
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1397
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1398
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1399
                          #'label:' 'Paste'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1400
                          #'value:' #pasteBuffer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1401
                          #'activeHelpKey:' #pasteBuffer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1402
                          #'shortcutKeyCharacter:' #Paste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1403
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1404
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1405
                          #'label:' 'Keep Layout'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1406
                          #'value:' #pasteWithLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1407
                          #'activeHelpKey:' #pasteWithLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1408
                          #'enabled:' #canKeepLayoutInSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1409
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1410
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1411
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1412
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1413
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1414
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1415
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1416
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1417
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1418
                #'label:' 'Undo'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1419
                #'nameKey:' #undo
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1420
                #'value:' #undoLast
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1421
                #'activeHelpKey:' #editUndo
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1422
                #'enabled:' #hasUndoHistory
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1423
                #'shortcutKeyCharacter:' #Cmdu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1424
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1425
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1426
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1427
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1428
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1429
                #'label:' 'Align'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1430
                #'submenuChannel:' #menuAlign
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1431
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1432
             #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1433
                #'label:' 'Move'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1434
                #'submenuChannel:' #menuMove
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1435
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset