UIPainter.st
author Claus Gittinger <cg@exept.de>
Fri, 27 Feb 1998 17:17:22 +0100
changeset 692 0530a994f2c8
parent 685 f8114ec98a82
child 697 ca492fc8390a
permissions -rw-r--r--
removed 'add' menu. name first, then class in hierarchy list
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'
572
ac2a1dd83d28 open tutorial added
tz
parents: 565
diff changeset
   506
              #'layout:' #(#LayoutFrame 340 0 328 0 892 0 853 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)
572
ac2a1dd83d28 open tutorial added
tz
parents: 565
diff changeset
   510
              #'bounds:' #(#Rectangle 340 328 893 854)
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'
572
ac2a1dd83d28 open tutorial added
tz
parents: 565
diff changeset
   527
                    #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 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
572
ac2a1dd83d28 open tutorial added
tz
parents: 565
diff changeset
   667
                                                            #'extent:' #(#Point 179 24)
547
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'
572
ac2a1dd83d28 open tutorial added
tz
parents: 565
diff changeset
   707
                    #'layout:' #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
486
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   737
                #label: 'About'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   738
                #labelImage: #(#ResourceRetriever nil #menuIcon)
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   739
                #submenuChannel: #menuAbout
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   742
                #label: 'File'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   743
                #value: #file
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   744
                #enabled: #enableChannel
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   745
                #submenu: 
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   750
                          #label: 'New'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   751
                          #value: #doNew
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   755
                          #label: '-'
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   758
                          #label: 'Load...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   759
                          #value: #doFromClass
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   763
                          #label: 'Load Subspec...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   764
                          #value: #loadSubspec
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   765
                          #activeHelpKey: #fileLoadSubspec
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   766
                      )
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   767
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   768
                          #label: '-'
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   771
                          #label: 'Save'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   772
                          #value: #doInstallSpec
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   776
                          #label: '-'
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   779
                          #label: 'Define Class And Selector...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   783
                          #label: '-'
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   786
                          #label: 'Create Aspect Methods'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   787
                          #value: #doInstallAspects
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   788
                          #enabled: #hasSpecClass
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   791
                          #label: 'Create Hook Methods'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   792
                          #value: #doInstallHooks
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   796
                          #label: '-'
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   799
                          #label: 'Pick An Interface'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   800
                          #value: #doPickAView
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   801
                          #activeHelpKey: #filePickAnInterface
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   802
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   803
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   804
                          #label: '-'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   805
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   806
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   807
                          #label: 'Show Interface Spec'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   808
                          #value: #doWindowSpec
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   811
                          #label: 'Browse Interface Class'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   812
                          #value: #doBrowseAppClass
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   813
                          #enabled: #hasSpecClass
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   816
                          #label: 'Browse Aspect Methods'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   817
                          #value: #doBrowseAspectMethods
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   821
                          #label: '-'
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   824
                          #label: 'Exit'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   825
                          #value: #closeRequest
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   833
                #label: 'Edit'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   834
                #submenuChannel: #menuEdit
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   837
                #label: 'Align'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   838
                #submenuChannel: #menuAlign
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   839
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   840
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   841
                #label: 'Test'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   842
                #submenu: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   843
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   844
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   845
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   846
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   847
                          #label: 'Start Application'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   848
                          #value: #doStartApplication
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   849
                          #activeHelpKey: #testStartApplication
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   850
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   851
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   852
                          #label: '-'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   853
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   854
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   855
                          #label: 'Geometry Test Mode'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   856
                          #indication: #testMode:
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   857
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   858
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   859
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   860
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   861
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   862
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   863
                #label: 'Settings'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   864
                #submenu: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   865
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   866
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   867
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   868
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   869
                          #label: 'Undo Manager...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   870
                          #value: #openUndoMenu
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   873
                          #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   874
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   875
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   876
                          #label: 'Grid Manager...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   877
                          #value: #gridMenu
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   878
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   879
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   880
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   881
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   882
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   883
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   884
                #label: 'History'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   885
                #submenuChannel: #menuHistory
446
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
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   888
                #label: 'Help'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   889
                #startGroup: #right
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   890
                #submenuChannel: #menuHelp
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   891
            )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   892
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   893
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   894
      )
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   895
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   896
    "Modified: / 27.2.1998 / 16:15:24 / cg"
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   897
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   898
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   899
menuAdd
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   900
    "this window spec was automatically generated by the ST/X MenuEditor"
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   901
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   902
    "do not manually edit this - the builder may not be able to
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   903
     handle the specification if its corrupted."
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   904
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   905
    "
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   906
     MenuEditor new openOnClass:UIPainter andSelector:#menuAdd
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   907
     (Menu new fromLiteralArrayEncoding:(UIPainter menuAdd)) startUp
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   908
    "
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   909
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   910
    <resource: #menu>
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   911
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   912
    ^
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   913
     
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   914
       #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   915
          
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   916
           #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   917
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   918
                #'label:' 'Buttons'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   919
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   920
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   921
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   922
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   923
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   924
                          #'label:' 'Action Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   925
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   926
                          #'argument:' #ActionButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   927
                          #'labelImage:' #(#ResourceRetriever #ActionButtonSpec #icon 'Action Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   928
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   929
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   930
                          #'label:' 'Arrow Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   931
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   932
                          #'argument:' #ArrowButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   933
                          #'labelImage:' #(#ResourceRetriever #ArrowButtonSpec #icon 'Arrow Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   934
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   935
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   936
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   937
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   938
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   939
                          #'label:' 'Toggle'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   940
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   941
                          #'argument:' #ToggleSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   942
                          #'labelImage:' #(#ResourceRetriever #ToggleSpec #icon 'Toggle')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   943
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   944
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   945
                          #'label:' 'Radio Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   946
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   947
                          #'argument:' #RadioButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   948
                          #'labelImage:' #(#ResourceRetriever #RadioButtonSpec #icon 'Radio Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   949
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   950
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   951
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   952
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   953
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   954
                          #'label:' 'Check Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   955
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   956
                          #'argument:' #CheckBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   957
                          #'labelImage:' #(#ResourceRetriever #CheckBoxSpec #icon 'Check Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   958
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   959
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   960
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   961
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   962
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   963
                          #'label:' 'Up Down Button'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   964
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   965
                          #'argument:' #UpDownButtonSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   966
                          #'labelImage:' #(#ResourceRetriever #UpDownButtonSpec #icon 'Up Down Button')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   967
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   968
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   969
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   970
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   971
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   972
                          #'label:' 'Slider'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   973
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   974
                          #'argument:' #SliderSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   975
                          #'labelImage:' #(#ResourceRetriever #SliderSpec #icon 'Slider')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   976
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   977
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   978
                          #'label:' 'Thumb Wheel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   979
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   980
                          #'argument:' #ThumbWheelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   981
                          #'labelImage:' #(#ResourceRetriever #ThumbWheelSpec #icon 'Thumb Wheel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   982
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   983
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   984
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   985
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   986
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   987
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   988
                #'label:' 'Menus'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   989
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   990
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   991
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   992
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   993
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   994
                          #'label:' 'Combo Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   995
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   996
                          #'argument:' #ComboBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   997
                          #'labelImage:' #(#ResourceRetriever #ComboBoxSpec #icon 'Combo Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   998
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   999
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1000
                          #'label:' 'Combo List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1001
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1002
                          #'argument:' #ComboListSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1003
                          #'labelImage:' #(#ResourceRetriever #ComboListSpec #icon 'Combo List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1004
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1005
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1006
                          #'label:' 'PopUp List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1007
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1008
                          #'argument:' #PopUpListSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1009
                          #'labelImage:' #(#ResourceRetriever #ComboListSpec #icon 'PopUp List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1010
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1011
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1012
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1013
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1014
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1015
                          #'label:' 'Tab'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1016
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1017
                          #'argument:' #TabViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1018
                          #'labelImage:' #(#ResourceRetriever #TabViewSpec #icon 'Tab')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1019
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1020
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1021
                          #'label:' 'Note Book'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1022
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1023
                          #'argument:' #NoteBookViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1024
                          #'labelImage:' #(#ResourceRetriever #NoteBookViewSpec #icon 'Note Book')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1025
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1026
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1027
                          #'label:' 'Gallery'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1028
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1029
                          #'argument:' #UIGalleryViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1030
                          #'labelImage:' #(#ResourceRetriever #UIGalleryViewSpec #icon 'Gallery')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1031
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1032
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1033
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1034
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1035
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1036
                          #'label:' 'Menu Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1037
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1038
                          #'argument:' #MenuPanelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1039
                          #'labelImage:' #(#ResourceRetriever #MenuPanelSpec #icon 'Menu Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1040
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1041
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1042
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1043
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1044
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1045
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1046
                #'label:' 'Text Views'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1047
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1048
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1049
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1050
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1051
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1052
                          #'label:' 'Text Editor'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1053
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1054
                          #'argument:' #TextEditorSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1055
                          #'labelImage:' #(#ResourceRetriever #TextEditorSpec #icon 'Text Editor')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1056
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1057
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1058
                          #'label:' 'Input Field'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1059
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1060
                          #'argument:' #InputFieldSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1061
                          #'labelImage:' #(#ResourceRetriever #InputFieldSpec #icon 'Input Field')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1062
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1063
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1064
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1065
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1066
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1067
                          #'label:' 'Label'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1068
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1069
                          #'argument:' #LabelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1070
                          #'labelImage:' #(#ResourceRetriever #LabelSpec #icon 'Label')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1071
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1072
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1073
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1074
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1075
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1076
                          #'label:' 'HTML View'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1077
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1078
                          #'argument:' #HTMLViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1079
                          #'labelImage:' #(#ResourceRetriever #HTMLViewSpec #icon 'HTML View')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1080
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1081
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1082
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1083
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1084
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1085
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1086
                #'label:' 'Lists'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1087
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1088
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1089
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1090
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1091
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1092
                          #'label:' 'List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1093
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1094
                          #'argument:' #SequenceViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1095
                          #'labelImage:' #(#ResourceRetriever #SequenceViewSpec #icon 'List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1096
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1097
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1098
                          #'label:' 'Data Set List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1099
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1100
                          #'argument:' #DataSetSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1101
                          #'labelImage:' #(#ResourceRetriever #DataSetSpec #icon 'Data Set List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1102
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1103
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1104
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1105
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1106
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1107
                          #'label:' 'Tree List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1108
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1109
                          #'argument:' #SelectionInTreeViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1110
                          #'labelImage:' #(#ResourceRetriever #SelectionInTreeViewSpec #icon 'Tree List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1111
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1112
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1113
                          #'label:' 'File Tree List'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1114
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1115
                          #'argument:' #FileSelectionTreeSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1116
                          #'labelImage:' #(#ResourceRetriever #FileSelectionTreeSpec #icon 'File Tree List')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1117
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1118
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1119
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1120
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1121
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1122
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1123
                #'label:' 'Boxes'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1124
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1125
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1126
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1127
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1128
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1129
                          #'label:' 'Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1130
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1131
                          #'argument:' #ViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1132
                          #'labelImage:' #(#ResourceRetriever #ViewSpec #icon 'Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1133
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1134
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1135
                          #'label:' 'Framed Box'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1136
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1137
                          #'argument:' #FramedBoxSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1138
                          #'labelImage:' #(#ResourceRetriever #FramedBoxSpec #icon 'Framed Box')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1139
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1140
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1141
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1142
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1143
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1144
                          #'label:' 'Horizontal Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1145
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1146
                          #'argument:' #HorizontalPanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1147
                          #'labelImage:' #(#ResourceRetriever #HorizontalPanelViewSpec #icon 'Horizontal Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1148
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1149
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1150
                          #'label:' 'Vertical Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1151
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1152
                          #'argument:' #VerticalPanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1153
                          #'labelImage:' #(#ResourceRetriever #VerticalPanelViewSpec #icon 'Vertical Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1154
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1155
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1156
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1157
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1158
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1159
                          #'label:' 'Area Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1160
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1161
                          #'argument:' #PanelViewSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1162
                          #'labelImage:' #(#ResourceRetriever #PanelViewSpec #icon 'Area Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1163
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1164
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1165
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1166
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1167
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1168
                          #'label:' 'Variable Horizontal Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1169
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1170
                          #'argument:' #VariableHorizontalPanelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1171
                          #'labelImage:' #(#ResourceRetriever #VariableHorizontalPanelSpec #icon 'Variable Horizontal Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1172
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1173
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1174
                          #'label:' 'Variable Vertical Panel'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1175
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1176
                          #'argument:' #VariableVerticalPanelSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1177
                          #'labelImage:' #(#ResourceRetriever #VariableVerticalPanelSpec #icon 'Variable Vertical Panel')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1178
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1179
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1180
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1181
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1182
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1183
             #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1184
                #'label:' 'Misc'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1185
                #'submenu:' 
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1186
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1187
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1188
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1189
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1190
                          #'label:' 'Arbitrary Component'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1191
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1192
                          #'argument:' #ArbitraryComponentSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1193
                          #'labelImage:' #(#ResourceRetriever #ArbitraryComponentSpec #icon 'Arbitrary Component')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1194
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1195
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1196
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1197
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1198
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1199
                          #'label:' 'Sub Specification'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1200
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1201
                          #'argument:' #UISubSpecification
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1202
                          #'labelImage:' #(#ResourceRetriever #ArbitraryComponentSpec #icon 'Sub Specification')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1203
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1204
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1205
                          #'label:' 'Sub Canvas'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1206
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1207
                          #'argument:' #SubCanvasSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1208
                          #'labelImage:' #(#ResourceRetriever #SubCanvasSpec #icon 'Sub Canvas')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1209
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1210
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1211
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1212
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1213
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1214
                          #'label:' 'Progress Indicator'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1215
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1216
                          #'argument:' #ProgressIndicatorSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1217
                          #'labelImage:' #(#ResourceRetriever #ProgressIndicatorSpec #icon 'Progress Indicator')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1218
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1219
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1220
                          #'label:' '-'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1221
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1222
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1223
                          #'label:' 'Divider'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1224
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1225
                          #'argument:' #DividerSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1226
                          #'labelImage:' #(#ResourceRetriever #DividerSpec #icon 'Divider')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1227
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1228
                       #(#MenuItem
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1229
                          #'label:' 'Region'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1230
                          #'value:' #'addWidget:'
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1231
                          #'argument:' #RegionSpec
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1232
                          #'labelImage:' #(#ResourceRetriever #RegionSpec #icon 'Region')
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1233
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1234
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1235
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1236
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1237
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1238
          ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1239
          nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1240
      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1241
!
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
  1242
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1243
menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1244
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1245
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1246
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1247
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1248
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1249
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1250
     MenuEditor new openOnClass:UIPainter andSelector:#menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1251
     (Menu new fromLiteralArrayEncoding:(UIPainter menuAlign)) startUp
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1252
    "
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1253
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1254
    <resource: #menu>
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1255
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1256
    ^
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1257
     
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1258
       #(#Menu
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1259
          
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1260
           #(
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1261
             #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1262
                #'label:' 'Align Left'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1263
                #'value:' #alignSelectionLeft
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1264
                #'activeHelpKey:' #alignSelectionLeft
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1265
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1266
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignL 'Align Left')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1267
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1268
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1269
                #'label:' 'Align Right'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1270
                #'value:' #alignSelectionRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1271
                #'activeHelpKey:' #alignSelectionRight
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1272
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1273
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignR 'Align Right')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1274
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1275
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1276
                #'label:' 'Align Left & Right'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1277
                #'value:' #alignSelectionLeftAndRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1278
                #'activeHelpKey:' #alignSelectionLeftAndRight
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1279
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1280
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignLR 'Align Left & Right')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1281
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1282
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1283
                #'label:' 'Align top'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1284
                #'value:' #alignSelectionTop
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1285
                #'activeHelpKey:' #alignSelectionTop
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1286
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1287
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignT 'Align top')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1288
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1289
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1290
                #'label:' 'Align Bottom'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1291
                #'value:' #alignSelectionBottom
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1292
                #'activeHelpKey:' #alignSelectionBottom
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1293
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1294
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignB 'Align Bottom')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1295
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1296
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1297
                #'label:' 'Align Top & Bottom'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1298
                #'value:' #alignSelectionTopAndBottom
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1299
                #'activeHelpKey:' #alignSelectionTopAndBottom
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1300
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1301
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignTB 'Align Top & Bottom')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1302
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1303
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1304
                #'label:' 'Align Centered Horizontal'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1305
                #'value:' #alignSelectionCenterHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1306
                #'activeHelpKey:' #alignSelectionCenterHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1307
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1308
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterH 'Align Centered Horizontal')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1309
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1310
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1311
                #'label:' 'Align Centered Vertical'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1312
                #'value:' #alignSelectionCenterVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1313
                #'activeHelpKey:' #alignSelectionCenterVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1314
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1315
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterV 'Align Centered Vertical')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1316
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1317
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1318
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1319
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1320
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1321
                #'label:' 'Spread Horizontal'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1322
                #'value:' #spreadSelectionHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1323
                #'activeHelpKey:' #spreadSelectionHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1324
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1325
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1326
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1327
                #'label:' 'Spread Vertical'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1328
                #'value:' #spreadSelectionVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1329
                #'activeHelpKey:' #spreadSelectionVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1330
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1331
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1332
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1333
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1334
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1335
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1336
                #'label:' 'Center Horizontal In Frame'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1337
                #'value:' #centerSelectionHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1338
                #'activeHelpKey:' #centerSelectionHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1339
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1340
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1341
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1342
                #'label:' 'Center Vertical In Frame'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1343
                #'value:' #centerSelectionVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1344
                #'activeHelpKey:' #centerSelectionVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1345
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1346
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1347
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1348
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1349
      )
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1350
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
  1351
    "Modified: / 27.1.1998 / 21:27:33 / cg"
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1352
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1353
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1354
menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1355
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1356
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1357
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1358
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1359
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1360
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1361
     MenuEditor new openOnClass:UIPainter andSelector:#menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1362
     (Menu new fromLiteralArrayEncoding:(UIPainter menuEdit)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1363
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1364
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1365
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1366
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1367
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1368
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1369
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1370
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1371
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1372
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1373
                #'label:' 'Cut'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1374
                #'value:' #deleteSelection
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1375
                #'activeHelpKey:' #editCut
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1376
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1377
                #'shortcutKeyCharacter:' #Cut
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1378
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1379
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1380
                #'label:' 'Copy'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1381
                #'value:' #copySelection
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1382
                #'activeHelpKey:' #editCopy
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1383
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1384
                #'shortcutKeyCharacter:' #Copy
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1385
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1386
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1387
                #'label:' 'Paste'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1388
                #'nameKey:' #paste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1389
                #'value:' #paste
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1390
                #'activeHelpKey:' #editPaste
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1391
                #'enabled:' #canPaste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1392
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1393
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1394
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1395
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1396
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1397
                          #'label:' 'Paste'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1398
                          #'value:' #pasteBuffer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1399
                          #'activeHelpKey:' #pasteBuffer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1400
                          #'shortcutKeyCharacter:' #Paste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1401
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1402
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1403
                          #'label:' 'Keep Layout'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1404
                          #'value:' #pasteWithLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1405
                          #'activeHelpKey:' #pasteWithLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1406
                          #'enabled:' #canKeepLayoutInSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1407
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1408
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1409
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1410
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1411
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1412
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1413
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1414
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1415
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1416
                #'label:' 'Undo'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1417
                #'nameKey:' #undo
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1418
                #'value:' #undoLast
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1419
                #'activeHelpKey:' #editUndo
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1420
                #'enabled:' #hasUndoHistory
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1421
                #'shortcutKeyCharacter:' #Cmdu