UIPainter.st
author tz
Mon, 09 Mar 1998 21:42:44 +0100
changeset 713 f94e58bb44ac
parent 697 ca492fc8390a
child 721 325eba9f37b7
permissions -rw-r--r--
some changes for the docu
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
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   108
!UIPainter class methodsFor:'accessing-defaults'!
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   109
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   110
defaultNameOfCanvas
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   111
    "returns the default name (id) of the application
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   112
    "
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   113
    ^'NewApplication'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   114
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   115
! !
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   116
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   117
!UIPainter class methodsFor:'help specs'!
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   118
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   119
helpSpec
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   120
    "return a dictionary filled with helpKey -> helptext associations.
295
114befd1c369 add some help text
ca
parents: 287
diff changeset
   121
     These are used by the activeHelp tool."
114befd1c369 add some help text
ca
parents: 287
diff changeset
   122
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   123
    "
295
114befd1c369 add some help text
ca
parents: 287
diff changeset
   124
    UIHelpTool openOnClass:UIPainter    
114befd1c369 add some help text
ca
parents: 287
diff changeset
   125
    "
114befd1c369 add some help text
ca
parents: 287
diff changeset
   126
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   127
  ^ super helpSpec addPairsFrom:#(
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   128
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   129
#alignSelectionBottom
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   130
'Aligns the selected widgets to the bottom edge 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
#alignSelectionCenterHor
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   133
'Aligns the selected widgets vertically to the center 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
#alignSelectionCenterVer
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   136
'Aligns the selected widgets horizontally to the center 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
#alignSelectionLeft
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   139
'Aligns the selected widgets to the left 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
#alignSelectionLeftAndRight
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   142
'Aligns the selected widgets to the right and left 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
#alignSelectionRight
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   145
'Aligns the selected widgets to the right 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
#alignSelectionTop
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   148
'Aligns the selected widgets to the top edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   149
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   150
#alignSelectionTopAndBottom
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   151
'Aligns the selected widgets to the top and bottom edge of the dominant widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   152
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   153
#centerSelectionHor
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   154
'Centers the selected widgets horizontally to their contained widget.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   155
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   156
#centerSelectionVer
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   157
'Centers the selected widgets vertically in their contained widget.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   158
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   159
#changePositionDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   160
'Changes the position of the widgets to the bottom.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   161
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   162
#changePositionLeft
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   163
'Changes the position of the widgets to the left.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   164
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   165
#changePositionRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   166
'Changes the position of the widgets to the right.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   167
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   168
#changePositionUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   169
'Changes the position of the widgets to the top.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   170
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   171
#editDimensionCopyExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   172
'Copies the extent of the selected widgets.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   173
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   174
#editDimensionCopyLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   175
'Copies the layout of the selected widgets.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   176
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   177
#editDimensionDefaultExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   178
'Sets the selected widgets to their default extent.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   179
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   180
#editDimensionDefaultHeight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   181
'Sets the selected widgets to their default height.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   182
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   183
#editDimensionDefaultWidth
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   184
'Sets the selected widgets to their default width.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   185
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   186
#editDimensionPasteExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   187
'Sets the extent of the selected widgets to the last copied extent.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   188
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   189
#editDimensionPasteHeight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   190
'Sets the height of the selected widgets to the height of the last copied layout/extent.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   191
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   192
#editDimensionPasteLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   193
'Sets the layout of the selected widgets to the last copied layout.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   194
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   195
#editDimensionPasteWidth
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   196
'Sets the width of the selected widgets to the width of the last copied layout/extent.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   197
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   198
#fileBrowseAspectMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   199
'Opens a System Browser to browse the aspect methods.'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   200
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   201
#fileLoad
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   202
'Opens a dialog to load a window spec from a class.'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   203
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   204
#fileLoadSubspec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   205
'Opens a dialog to load an sub spec from a class.'
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   206
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   207
#fileNew
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   208
'Creates a new window spec.'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   209
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   210
#filePickAnInterface
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   211
'Changes the cursor for moving it over another interface application to load its window spec.'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   212
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   213
#fileSave
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   214
'Saves current window spec on current class and if modified the help spec.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   215
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   216
#fileSaveAs
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   217
'Opens a dialog to select or create a class and selector in order to save current window spec.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   218
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   219
#fileShowWindowSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   220
'Opens a Workspace showing the current window spec.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   221
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   222
#generateAspectMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   223
'Generates aspect methods for defined aspect selectors of the widgets.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   224
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   225
#generateHookMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   226
'Generates startup/release methods. (#closeRequest, #postBuildWith:, #postOpenWith:)'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   227
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   228
#moveWidgetDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   229
'Moves the selected widget one step down.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   230
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   231
#moveWidgetInto
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   232
'Moves the selected widget into next widget as child widget.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   233
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   234
#moveWidgetOut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   235
'Moves the selected widget out of its parent widget.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   236
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   237
#moveWidgetUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   238
'Moves the selected widget one step up.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   239
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   240
#pasteBuffer
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   241
'Pastes the widgets of the clipboard at current mouse position.'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   242
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   243
#pasteWithLayout
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   244
'Pastes the widgets of the clipboard without a changing of their layouts.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   245
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   246
#settingsCanvas
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   247
'Shows or hides the canvas window.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   248
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   249
#settingsGallery
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   250
'Shows or hides the gallery window.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   251
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   252
#settingsGridManager
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   253
'Opens a dialog to show/hide the grid points or to change the distances between them.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   254
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   255
#settingsRedefineAspectMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   256
'Turns on/off the permission of redefinition of the aspect methods.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   257
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   258
#settingsUndoManager
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   259
'Opens a dialog to reverse a certain number of last edit action.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   260
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   261
#spreadSelectionHor
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   262
'Sets the horizontal spaces between the selected widgets as the same.'
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
   263
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   264
#spreadSelectionVer
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   265
'Sets the vertical spaces between the selected widgets as the same.'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   266
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   267
#testGeometryTestMode
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   268
'Turns on/off the geometry test mode in order to define ratios of variable panels.'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   269
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   270
#testStartApplication
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   271
'Starts current application on current window spec.'
194
2b05bd327785 recompute property list when changing view ordering by
ca
parents: 193
diff changeset
   272
193
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   273
)
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   274
! !
450d9e5c6f4a checkin from browser
ca
parents: 187
diff changeset
   275
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   276
!UIPainter class methodsFor:'helpers'!
14db1276218c change the spec;
ca
parents: 295
diff changeset
   277
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   278
convertString:aString maxLineSize:maxCharactersPerLine skipLineFeed:skipLineFeed
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   279
    "converts a string to a string collection with maximum characters
14db1276218c change the spec;
ca
parents: 295
diff changeset
   280
     per line
14db1276218c change the spec;
ca
parents: 295
diff changeset
   281
    "
14db1276218c change the spec;
ca
parents: 295
diff changeset
   282
    |stream
14db1276218c change the spec;
ca
parents: 295
diff changeset
   283
        max     "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   284
        size    "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   285
        start   "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   286
        stop    "{ Class:SmallInteger }"
14db1276218c change the spec;
ca
parents: 295
diff changeset
   287
        cpySz   "{ Class:SmallInteger }"
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   288
        lnSz    "{ Class:SmallInteger }"
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   289
        atBeginOfLine|
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   290
14db1276218c change the spec;
ca
parents: 295
diff changeset
   291
    maxCharactersPerLine < 20 ifFalse:[max := maxCharactersPerLine - 1]
14db1276218c change the spec;
ca
parents: 295
diff changeset
   292
                               ifTrue:[max := 20].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   293
14db1276218c change the spec;
ca
parents: 295
diff changeset
   294
    (size := aString size) <= max ifTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   295
        ^ aString
14db1276218c change the spec;
ca
parents: 295
diff changeset
   296
    ].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   297
    start  := 1.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   298
    lnSz   := 0.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   299
    stream := (String new:size) writeStream.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   300
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   301
    atBeginOfLine := true.
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   302
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   303
    [start <= size] whileTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   304
        (start := aString indexOfNonSeparatorStartingAt:start) == 0 ifTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   305
            ^ stream contents
14db1276218c change the spec;
ca
parents: 295
diff changeset
   306
        ].
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   307
        (aString at:start) == $\ ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   308
            skipLineFeed ifFalse:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   309
                stream nextPut:$\
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   310
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   311
            start := start + 1.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   312
            stream cr.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   313
            start := start + 1.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   314
            lnSz := 0.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   315
        ] ifFalse:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   316
            (stop := aString indexOfSeparatorStartingAt:start) == 0 ifTrue:[
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   317
                stop := size + 1
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   318
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   319
            (aString at:(stop - 1)) == $\ ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   320
                stop := stop - 1
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   321
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   322
            cpySz := stop - start.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   323
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   324
            lnSz == 0 ifFalse:[
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   325
                (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
   326
                                             ifFalse:[stream space. lnSz := lnSz + 1]
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   327
            ] ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   328
                lnSz := cpySz
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   329
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   330
            stream nextPutAll:aString startingAt:start to:(stop - 1).
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   331
            start := stop.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   332
        ]
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   333
    ].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   334
    ^ stream contents
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   335
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   336
    "Modified: / 1.2.1998 / 14:42:56 / cg"
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   337
! !
14db1276218c change the spec;
ca
parents: 295
diff changeset
   338
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
   339
!UIPainter class methodsFor:'interface specs'!
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
   340
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   341
gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   342
    "this window spec was automatically generated by the ST/X UIPainter"
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   343
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   344
    "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
   345
     handle the specification if its corrupted."
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   346
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   347
    "
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   348
     UIPainter new openOnClass:UIPainter andSelector:#gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   349
     UIPainter new openInterface:#gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   350
    "
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   351
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   352
    <resource: #canvas>
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   353
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   354
    ^
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   355
     
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   356
       #(#FullSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   357
          #window: 
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   358
           #(#WindowSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   359
              #name: 'GUI Painter'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   360
              #layout: #(#LayoutFrame 171 0 570 0 452 0 767 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   361
              #label: 'GUI Painter'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   362
              #min: #(#Point 10 10)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   363
              #max: #(#Point 1280 1024)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   364
              #bounds: #(#Rectangle 171 570 453 768)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   365
              #usePreferredExtent: false
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   366
          )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   367
          #component: 
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   368
           #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   369
              #collection: 
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   370
               #(
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   371
                 #(#FramedBoxSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   372
                    #name: 'FramedBox'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   373
                    #layout: #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   374
                    #component: 
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   375
                     #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   376
                        #collection: 
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   377
                         #(
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   378
                           #(#CheckBoxSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   379
                              #name: 'ShowGridCheckBox'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   380
                              #layout: #(#Point 23 24)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   381
                              #model: #showGrid
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   382
                              #label: 'Show Grid'
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   383
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   384
                           #(#CheckBoxSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   385
                              #name: 'AlignCheckBox'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   386
                              #layout: #(#Point 23 52)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   387
                              #model: #alignToGrid
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   388
                              #label: 'Align to Grid'
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   389
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   390
                           #(#LabelSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   391
                              #name: 'HorizontalPixelsLabel'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   392
                              #layout: #(#AlignmentOrigin 148 0 99 0 1 0.5)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   393
                              #label: 'Horizontal Pixels:'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   394
                              #adjust: #right
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   395
                              #resizeForLabel: true
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   396
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   397
                           #(#InputFieldSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   398
                              #name: 'HorizontalPixelsField'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   399
                              #layout: #(#LayoutFrame 154 0 87 0 207 0 109 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   400
                              #model: #hspace
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   401
                              #type: #numberOrNil
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   402
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   403
                           #(#LabelSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   404
                              #name: 'VerticalPixelsLabel'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   405
                              #layout: #(#AlignmentOrigin 149 0 124 0 1 0.5)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   406
                              #label: 'Vertical Pixels:'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   407
                              #adjust: #right
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   408
                              #resizeForLabel: true
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   409
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   410
                           #(#InputFieldSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   411
                              #name: 'VerticalPixelsField'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   412
                              #layout: #(#LayoutFrame 154 0 112 0 207 0 134 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   413
                              #model: #vspace
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   414
                              #type: #numberOrNil
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   415
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   416
                        )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   417
                    )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   418
                    #label: 'Grid Parameter'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   419
                    #labelPosition: #topLeft
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   420
                )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   421
                 #(#UISubSpecification
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   422
                    #name: 'CommitButtonsSubSpecView'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   423
                    #layout: #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   424
                    #majorKey: #ToolApplicationModel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   425
                    #minorKey: #windowSpecForCommitWithoutChannels
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   426
                )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   427
              )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   428
          )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   429
      )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   430
!
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   431
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   432
nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   433
    "this window spec was automatically generated by the ST/X UIPainter"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   434
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   435
    "do not manually edit this - the painter/builder may not be able to
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   436
     handle the specification if its corrupted."
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   437
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   438
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   439
     UIPainter new openOnClass:UIPainter andSelector:#nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   440
     UIPainter new openInterface:#nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   441
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   442
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   443
    <resource: #canvas>
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   444
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   445
    ^
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   446
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   447
       #(#FullSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   448
          #'window:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   449
           #(#WindowSpec
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   450
              #'name:' 'GUI Builder'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   451
              #'layout:' #(#LayoutFrame 238 0 270 0 584 0 429 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   452
              #'label:' 'GUI Builder'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   453
              #'min:' #(#Point 10 10)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   454
              #'max:' #(#Point 1152 900)
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   455
              #'bounds:' #(#Rectangle 238 270 585 430)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   456
              #'usePreferredExtent:' false
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   457
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   458
          #'component:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   459
           #(#SpecCollection
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   460
              #'collection:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   461
               #(
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   462
                 #(#FramedBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   463
                    #'name:' 'framedBox1'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   464
                    #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   465
                    #'component:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   466
                     #(#SpecCollection
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   467
                        #'collection:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   468
                         #(
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   469
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   470
                              #'name:' 'selectorLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   471
                              #'layout:' #(#AlignmentOrigin 77 0.11 39 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   472
                              #'label:' 'Selector:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   473
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   474
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   475
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   476
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   477
                              #'name:' 'methodNameField'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   478
                              #'layout:' #(#LayoutFrame 80 0.11 28 0 14 1.0 50 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   479
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   480
                              #'model:' #methodNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   481
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   482
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   483
                              #'name:' 'classLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   484
                              #'layout:' #(#AlignmentOrigin 77 0.11 64 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   485
                              #'label:' 'Class:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   486
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   487
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   488
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   489
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   490
                              #'name:' 'classNameField'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   491
                              #'layout:' #(#LayoutFrame 80 0.11 53 0 14 1.0 75 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   492
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   493
                              #'model:' #classNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   494
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   495
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   496
                              #'name:' 'superClassLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   497
                              #'layout:' #(#AlignmentOrigin 77 0.11 89 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   498
                              #'label:' 'Superclass:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   499
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   500
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   501
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   502
                           #(#ComboBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   503
                              #'name:' 'superclassNameComboBox'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   504
                              #'layout:' #(#LayoutFrame 80 0.11 78 0 14 1.0 100 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   505
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   506
                              #'model:' #superclassNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   507
                              #'comboList:' #superclassNameDefaults
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   508
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   509
                        )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   510
                    )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   511
                    #'label:' 'Define Class And Selector'
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   512
                    #'labelPosition:' #topLeft
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   513
                )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   514
                 #(#UISubSpecification
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   515
                    #'name:' 'uISubSpecifica1'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   516
                    #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   517
                    #'majorKey:' #ToolApplicationModel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   518
                    #'minorKey:' #windowSpecForCommitWithoutChannels
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   519
                )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   520
              )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   521
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   522
      )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   523
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   524
!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   525
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   526
windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   527
    "this window spec was automatically generated by the ST/X UIPainter"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   528
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   529
    "do not manually edit this - the painter/builder may not be able to
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   530
     handle the specification if its corrupted."
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   531
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   532
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   533
     UIPainter new openOnClass:UIPainter andSelector:#windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   534
     UIPainter new openInterface:#windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   535
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   536
    "UIPainter open"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   537
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   538
    <resource: #canvas>
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   539
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   540
    ^
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   541
     
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   542
       #(#FullSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   543
          #window: 
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   544
           #(#WindowSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   545
              #name: 'GUI Painter'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   546
              #layout: #(#LayoutFrame 282 0 281 0 834 0 818 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   547
              #label: 'GUI Painter'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   548
              #min: #(#Point 10 10)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   549
              #max: #(#Point 1160 870)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   550
              #bounds: #(#Rectangle 282 281 835 819)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   551
              #menu: #menu
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   552
              #usePreferredExtent: false
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   553
          )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   554
          #component: 
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   555
           #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   556
              #collection: 
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   557
               #(
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   558
                 #(#MenuPanelSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   559
                    #name: 'menuToolbarView'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   560
                    #layout: #(#LayoutFrame -1 0.0 0 0 -1 1.0 32 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   561
                    #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   562
                    #menu: #menuToolbar
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   563
                )
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   564
                 #(#VariableVerticalPanelSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   565
                    #name: 'vpanel'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   566
                    #layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   567
                    #component: 
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   568
                     #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   569
                        #collection: 
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   570
                         #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   571
                           #(#VariableHorizontalPanelSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   572
                              #name: 'hpanel'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   573
                              #component: 
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   574
                               #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   575
                                  #collection: 
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   576
                                   #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   577
                                     #(#ArbitraryComponentSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   578
                                        #name: 'treeView'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   579
                                        #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   580
                                        #menu: #menuEdit
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   581
                                        #hasHorizontalScrollBar: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   582
                                        #hasVerticalScrollBar: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   583
                                        #miniScrollerHorizontal: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   584
                                        #miniScrollerVertical: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   585
                                        #component: #treeView
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   586
                                        #hasBorder: false
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   587
                                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   588
                                     #(#ViewSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   589
                                        #name: 'specHolderView'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   590
                                        #component: 
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   591
                                         #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   592
                                            #collection: 
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   593
                                             #(
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   594
                                               #(#MenuPanelSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   595
                                                  #name: 'menuToolbar2View'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   596
                                                  #layout: #(#LayoutFrame -1 0.0 -2 0 -1 1.0 30 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   597
                                                  #enableChannel: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   598
                                                  #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   599
                                                  #menu: #menuToolbar2
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   600
                                              )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   601
                                               #(#NoteBookViewSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   602
                                                  #name: 'noteBook'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   603
                                                  #layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -30 1.0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   604
                                                  #enableChannel: #enableChannel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   605
                                                  #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   606
                                                  #model: #tabModel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   607
                                                  #menu: #tabList
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   608
                                                  #style: #(#FontDescription #helvetica #medium #roman 10)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   609
                                                  #canvas: #noteBookView
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   610
                                              )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   611
                                               #(#HorizontalPanelViewSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   612
                                                  #name: 'horizontalPanelView1'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   613
                                                  #layout: #(#LayoutFrame -128 1 -1 0 0 1.0 31 0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   614
                                                  #component: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   615
                                                   #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   616
                                                      #collection: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   617
                                                       #(
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   618
                                                         #(#ArrowButtonSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   619
                                                            #name: 'MoveLeftButton'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   620
                                                            #activeHelpKey: #changePositionLeft
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   621
                                                            #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   622
                                                            #model: #moveSelectionLeft
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   623
                                                            #enableChannel: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   624
                                                            #isTriggerOnDown: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   625
                                                            #direction: #left
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   626
                                                            #extent: #(#Point 32 32)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   627
                                                        )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   628
                                                         #(#ArrowButtonSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   629
                                                            #name: 'MoveRightButton'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   630
                                                            #activeHelpKey: #changePositionRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   631
                                                            #model: #moveSelectionRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   632
                                                            #enableChannel: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   633
                                                            #isTriggerOnDown: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   634
                                                            #direction: #right
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   635
                                                            #extent: #(#Point 32 32)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   636
                                                        )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   637
                                                         #(#ArrowButtonSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   638
                                                            #name: 'MoveDownButton'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   639
                                                            #activeHelpKey: #changePositionDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   640
                                                            #model: #moveSelectionDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   641
                                                            #enableChannel: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   642
                                                            #isTriggerOnDown: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   643
                                                            #direction: #down
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   644
                                                            #extent: #(#Point 32 32)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   645
                                                        )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   646
                                                         #(#ArrowButtonSpec
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   647
                                                            #name: 'MoveUpButton'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   648
                                                            #activeHelpKey: #changePositionUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   649
                                                            #model: #moveSelectionUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   650
                                                            #enableChannel: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   651
                                                            #isTriggerOnDown: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   652
                                                            #direction: #up
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   653
                                                            #extent: #(#Point 32 32)
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   654
                                                        )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   655
                                                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   656
                                                  )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   657
                                                  #horizontalLayout: #fit
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   658
                                                  #verticalLayout: #fit
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   659
                                                  #horizontalSpace: 0
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   660
                                                  #verticalSpace: 0
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   661
                                              )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   662
                                               #(#HorizontalPanelViewSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   663
                                                  #name: 'modifyPanel'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   664
                                                  #layout: #(#LayoutFrame 0 0.0 -30 1.0 0 1.0 0 1.0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   665
                                                  #component: 
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   666
                                                   #(#SpecCollection
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   667
                                                      #collection: 
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
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   670
                                                            #name: 'cancelButton'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   671
                                                            #activeHelpKey: #cancel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   672
                                                            #label: 'Cancel'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   673
                                                            #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   674
                                                            #model: #cancel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   675
                                                            #enableChannel: #modifiedChannel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   676
                                                            #extent: #(#Point 183 24)
547
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
                                                         #(#ActionButtonSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   679
                                                            #name: 'acceptButton'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   680
                                                            #activeHelpKey: #accept
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   681
                                                            #label: 'OK'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   682
                                                            #tabable: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   683
                                                            #model: #accept
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   684
                                                            #enableChannel: #modifiedChannel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   685
                                                            #extent: #(#Point 183 24)
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   686
                                                        )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   687
                                                      )
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   688
                                                  )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   689
                                                  #horizontalLayout: #fitSpace
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   690
                                                  #verticalLayout: #fitSpace
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   691
                                                  #horizontalSpace: 3
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   692
                                                  #verticalSpace: 3
547
930b3df19305 help menu item aligned to the right
tz
parents: 542
diff changeset
   693
                                              )
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   694
                                            )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   695
                                        )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   696
                                        #borderWidth: 1
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   697
                                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   698
                                  )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   699
                              )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   700
                              #level: 1
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   701
                              #handles: #(#Any 0.318264 1.0)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   702
                          )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   703
                           #(#TextEditorSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   704
                              #name: 'Transcript'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   705
                              #hasHorizontalScrollBar: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   706
                              #hasVerticalScrollBar: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   707
                              #miniScrollerHorizontal: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   708
                              #miniScrollerVertical: true
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   709
                          )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   710
                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   711
                    )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   712
                    #handles: #(#Any 0.880597 1.0)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   713
                )
486
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   714
                 #(#UISubSpecification
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   715
                    #name: 'infoBarSubSpec'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   716
                    #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   717
                    #majorKey: #ToolApplicationModel
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   718
                    #minorKey: #windowSpecForInfoBar
448
9f115893b4df info bar added
tz
parents: 447
diff changeset
   719
                )
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   720
              )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   721
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   722
      )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   723
! !
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   724
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   725
!UIPainter class methodsFor:'menu specs'!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   726
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   727
menu
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   728
    "this window spec was automatically generated by the ST/X MenuEditor"
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   729
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   730
    "do not manually edit this - the builder may not be able to
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   731
     handle the specification if its corrupted."
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   732
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   733
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   734
     MenuEditor new openOnClass:UIPainter andSelector:#menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   735
     (Menu new fromLiteralArrayEncoding:(UIPainter menu)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   736
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   737
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   738
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   739
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   740
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   741
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   742
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   743
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   744
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   745
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   746
                #label: 'About'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   747
                #labelImage: #(#ResourceRetriever nil #menuIcon)
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   748
                #submenuChannel: #menuAbout
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   749
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   750
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   751
                #label: 'File'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   752
                #enabled: #enableChannel
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   753
                #submenu: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   754
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   755
                    
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: 'New'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   759
                          #value: #doNew
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   760
                          #activeHelpKey: #fileNew
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: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   764
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   765
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   766
                          #label: 'Load...'
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   767
                          #value: #doLoad
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   768
                          #activeHelpKey: #fileLoad
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: 'Load Subspec...'
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   772
                          #value: #doLoadSubspec
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   773
                          #activeHelpKey: #fileLoadSubspec
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   774
                      )
dde823aeca4c supports loading of subspecs
tz
parents: 527
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: 'Save'
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   780
                          #value: #doSave
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   781
                          #activeHelpKey: #fileSave
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   782
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   783
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   784
                          #label: 'Save As...'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   785
                          #value: #doSaveAs
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   786
                          #activeHelpKey: #fileSaveAs
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   787
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   788
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   789
                          #label: 'Define Class And Selector...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   790
                          #value: #defineClassAndSelector
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   791
                          #activeHelpKey: #fileSaveAs
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   792
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   793
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   794
                          #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   795
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   796
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   797
                          #label: 'Pick A Window Spec...'
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   798
                          #value: #doPickAView
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   799
                          #activeHelpKey: #filePickAnInterface
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   800
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   801
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   802
                          #label: '-'
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   803
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   804
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   805
                          #label: 'Show Window Spec'
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   806
                          #value: #doWindowSpec
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   807
                          #activeHelpKey: #fileShowWindowSpec
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   808
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   809
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   810
                          #label: 'Browse Class'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   811
                          #value: #doBrowseClass
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   812
                          #activeHelpKey: #fileBrowseClass
692
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
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   818
                          #activeHelpKey: #fileBrowseAspectMethods
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   819
                          #enabled: #hasSpecClass
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   820
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   821
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   822
                          #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   823
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   824
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   825
                          #label: 'Exit'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   826
                          #value: #closeRequest
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   827
                          #activeHelpKey: #fileExit
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   828
                      )
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
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   831
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   832
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   833
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   834
                #label: 'Edit'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   835
                #submenuChannel: #menuEdit
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   836
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   837
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   838
                #label: 'Align'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   839
                #submenuChannel: #menuAlign
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   840
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   841
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   842
                #label: 'Generate'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   843
                #submenu: 
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   844
                 #(#Menu
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   845
                    
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   846
                     #(
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   847
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   848
                          #label: 'Aspect Methods'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   849
                          #value: #doInstallAspects
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   850
                          #activeHelpKey: #generateAspectMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   851
                          #enabled: #hasSpecClass
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   852
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   853
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   854
                          #label: '-'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   855
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   856
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   857
                          #label: 'Hook Methods'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   858
                          #value: #doInstallHooks
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   859
                          #activeHelpKey: #generateHookMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   860
                          #enabled: #hasSpecClass
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   861
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   862
                    ) nil
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   863
                    nil
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   864
                )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   865
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   866
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   867
                #label: 'Test'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   868
                #submenu: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   869
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   870
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   871
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   872
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   873
                          #label: 'Start Application'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   874
                          #value: #doStartApplication
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   875
                          #activeHelpKey: #testStartApplication
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   876
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   877
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   878
                          #label: '-'
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   879
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   880
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   881
                          #label: 'Geometry Test Mode'
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   882
                          #activeHelpKey: #testGeometryTestMode
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   883
                          #indication: #testMode:
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   884
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   885
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   886
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   887
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   888
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   889
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   890
                #label: 'Settings'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   891
                #submenu: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   892
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   893
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   894
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   895
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   896
                          #label: 'Canvas'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   897
                          #activeHelpKey: #settingsCanvas
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   898
                          #indication: #painterShown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   899
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   900
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   901
                          #label: 'Gallery'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   902
                          #activeHelpKey: #settingsGallery
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   903
                          #indication: #galleryShown
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   904
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   905
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   906
                          #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   907
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   908
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   909
                          #label: 'Undo Manager...'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   910
                          #value: #openUndoMenu
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   911
                          #activeHelpKey: #settingsUndoManager
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   912
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   913
                       #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   914
                          #label: 'Grid Manager...'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   915
                          #value: #gridMenu
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   916
                          #activeHelpKey: #settingsGridManager
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   917
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   918
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   919
                          #label: '-'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   920
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   921
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   922
                          #label: 'Redefine Aspect Methods'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   923
                          #activeHelpKey: #settingsRedefineAspectMethods
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   924
                          #enabled: #hasSpecClass
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   925
                          #indication: #doRedefineMethods:
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   926
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   927
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   928
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   929
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   930
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   931
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   932
                #label: 'History'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   933
                #submenuChannel: #menuHistory
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   934
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   935
             #(#MenuItem
692
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   936
                #label: 'Help'
0530a994f2c8 removed 'add' menu.
Claus Gittinger <cg@exept.de>
parents: 685
diff changeset
   937
                #startGroup: #right
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   938
                #submenu: 
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   939
                 #(#Menu
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   940
                    
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   941
                     #(
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   942
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   943
                          #label: 'Documentation'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   944
                          #translateLabel: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   945
                          #value: #openDocumentation
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   946
                          #activeHelpKey: #helpTutorial
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   947
                          #enabled: #valueOfHavingDocumentation
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   948
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   949
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   950
                          #label: 'Examples'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   951
                          #translateLabel: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   952
                          #value: #openExamples
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   953
                          #activeHelpKey: #helpTutorial
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   954
                          #enabled: #valueOfHavingExamples
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   955
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   956
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   957
                          #label: '-'
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   958
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   959
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   960
                          #label: 'Show Help Texts'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   961
                          #translateLabel: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   962
                          #activeHelpKey: #helpShowHelp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   963
                          #indication: #showHelp:
564
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   964
                      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   965
                    ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   966
                    nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   967
                )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   968
            )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   969
          ) nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   970
          nil
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   971
      )
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   972
!
df1f1e84d94a add menu added
tz
parents: 547
diff changeset
   973
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   974
menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   975
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   976
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   977
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   978
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   979
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   980
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   981
     MenuEditor new openOnClass:UIPainter andSelector:#menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   982
     (Menu new fromLiteralArrayEncoding:(UIPainter menuAlign)) startUp
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   983
    "
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   984
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   985
    <resource: #menu>
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   986
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   987
    ^
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   988
     
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   989
       #(#Menu
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   990
          
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   991
           #(
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   992
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   993
                #label: 'Left'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   994
                #value: #alignSelectionLeft
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   995
                #activeHelpKey: #alignSelectionLeft
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   996
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
   997
                #labelImage: #(#ResourceRetriever #UIPainter #iconAlignL 'Left')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   998
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   999
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1000
                #label: 'Right'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1001
                #value: #alignSelectionRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1002
                #activeHelpKey: #alignSelectionRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1003
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1004
                #labelImage: #(#ResourceRetriever #UIPainter #iconAlignR 'Right')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1005
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1006
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1007
                #label: 'Left & Right'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1008
                #value: #alignSelectionLeftAndRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1009
                #activeHelpKey: #alignSelectionLeftAndRight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1010
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1011
                #labelImage: #(#ResourceRetriever #UIPainter #iconAlignLR 'Left & Right')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1012
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1013
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1014
                #label: 'Top'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1015
                #value: #alignSelectionTop
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1016
                #activeHelpKey: #alignSelectionTop
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1017
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1018
                #labelImage: #(#ResourceRetriever #UIPainter #iconAlignT 'Top')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1019
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1020
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1021
                #label: 'Bottom'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1022
                #value: #alignSelectionBottom
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1023
                #activeHelpKey: #alignSelectionBottom
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1024
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1025
                #labelImage: #(#ResourceRetriever #UIPainter #iconAlignB 'Bottom')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1026
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1027
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1028
                #label: 'Top & Bottom'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1029
                #value: #alignSelectionTopAndBottom
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1030
                #activeHelpKey: #alignSelectionTopAndBottom
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1031
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1032
                #labelImage: #(#ResourceRetriever #UIPainter #iconAlignTB 'Top & Bottom')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1033
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1034
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1035
                #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1036
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1037
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1038
                #label: 'Centered Horizontal'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1039
                #value: #alignSelectionCenterHor
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1040
                #activeHelpKey: #alignSelectionCenterHor
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1041
                #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1042
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1043
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1044
                #label: 'Centered Vertical'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1045
                #value: #alignSelectionCenterVer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1046
                #activeHelpKey: #alignSelectionCenterVer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1047
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1048
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1049
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1050
                #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1051
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1052
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1053
                #label: 'Center Horizontal In Frame'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1054
                #value: #centerSelectionHor
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1055
                #activeHelpKey: #centerSelectionHor
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1056
                #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1057
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1058
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1059
                #label: 'Center Vertical In Frame'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1060
                #value: #centerSelectionVer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1061
                #activeHelpKey: #centerSelectionVer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1062
                #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1063
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1064
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1065
                #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1066
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1067
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1068
                #label: 'Spread Horizontal'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1069
                #value: #spreadSelectionHor
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1070
                #activeHelpKey: #spreadSelectionHor
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1071
                #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1072
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1073
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1074
                #label: 'Spread Vertical'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1075
                #value: #spreadSelectionVer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1076
                #activeHelpKey: #spreadSelectionVer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1077
                #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1078
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1079
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1080
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1081
      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1082
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1083
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1084
menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1085
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1086
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1087
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1088
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1089
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1090
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1091
     MenuEditor new openOnClass:UIPainter andSelector:#menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1092
     (Menu new fromLiteralArrayEncoding:(UIPainter menuEdit)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1093
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1094
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1095
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1096
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1097
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1098
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1099
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1100
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1101
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1102
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1103
                #label: 'Undo'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1104
                #nameKey: #undo
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1105
                #value: #undoLast
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1106
                #activeHelpKey: #editUndo
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1107
                #enabled: #hasUndoHistory
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1108
                #shortcutKeyCharacter: #Cmdu
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1109
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1110
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1111
                #label: '-'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1112
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1113
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1114
                #label: 'Cut'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1115
                #value: #cutSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1116
                #activeHelpKey: #editCut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1117
                #enabled: #valueOfCanCut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1118
                #shortcutKeyCharacter: #Cut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1119
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1120
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1121
                #label: 'Copy'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1122
                #value: #copySelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1123
                #activeHelpKey: #editCopy
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1124
                #enabled: #valueOfCanCopy
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1125
                #shortcutKeyCharacter: #Copy
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1126
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1127
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1128
                #label: 'Paste'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1129
                #value: #pasteBuffer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1130
                #activeHelpKey: #pasteBuffer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1131
                #enabled: #valueOfCanPaste
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1132
                #shortcutKeyCharacter: #Paste
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1133
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1134
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1135
                #label: 'Delete'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1136
                #value: #deleteSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1137
                #enabled: #valueOfCanCut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1138
                #shortcutKeyCharacter: #Delete
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1139
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1140
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1141
                #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1142
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1143
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1144
                #label: 'Paste With Layout'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1145
                #value: #pasteWithLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1146
                #activeHelpKey: #pasteWithLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1147
                #enabled: #canKeepLayoutInSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1148
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1149
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1150
                #label: '-'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1151
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1152
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1153
                #label: 'Move'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1154
                #submenuChannel: #menuMove
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1155
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1156
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1157
                #label: 'Dimension'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1158
                #enabled: #hasSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1159
                #submenu: 
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1160
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1161
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1162
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1163
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1164
                          #label: 'Default Extent'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1165
                          #value: #setToDefaultExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1166
                          #activeHelpKey: #editDimensionDefaultExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1167
                          #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1168
                      )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1169
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1170
                          #label: 'Default Width'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1171
                          #value: #setToDefaultWidth
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1172
                          #activeHelpKey: #editDimensionDefaultWidth
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1173
                          #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1174
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1175
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1176
                          #label: 'Default Height'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1177
                          #value: #setToDefaultHeight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1178
                          #activeHelpKey: #editDimensionDefaultHeight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1179
                          #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1180
                      )
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1181
                       #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1182
                          #label: '-'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1183
                      )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1184
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1185
                          #label: 'Copy Layout'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1186
                          #value: #copyLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1187
                          #activeHelpKey: #editDimensionCopyLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1188
                          #enabled: #hasSingleSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1189
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1190
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1191
                          #label: 'Copy Extent'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1192
                          #value: #copyExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1193
                          #activeHelpKey: #editDimensionCopyExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1194
                          #enabled: #hasSingleSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1195
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1196
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1197
                          #label: '-'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1198
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1199
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1200
                          #label: 'Paste Layout'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1201
                          #value: #pasteLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1202
                          #activeHelpKey: #editDimensionPasteLayout
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1203
                          #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1204
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1205
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1206
                          #label: 'Paste Extent'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1207
                          #value: #pasteExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1208
                          #activeHelpKey: #editDimensionPasteExtent
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1209
                          #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1210
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1211
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1212
                          #label: 'Paste Width'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1213
                          #value: #pasteWidth
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1214
                          #activeHelpKey: #editDimensionPasteWidth
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1215
                          #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1216
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1217
                       #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1218
                          #label: 'Paste Height'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1219
                          #value: #pasteHeight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1220
                          #activeHelpKey: #editDimensionPasteHeight
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1221
                          #enabled: #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1222
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1223
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1224
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1225
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1226
            )
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1227
          ) nil
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1228
          nil
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1229
      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1230
!
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1231
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1232
menuMove
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1233
    "this window spec was automatically generated by the ST/X MenuEditor"
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1234
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1235
    "do not manually edit this - the builder may not be able to
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1236
     handle the specification if its corrupted."
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1237
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1238
    "
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1239
     MenuEditor new openOnClass:UIPainter andSelector:#menuMove
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1240
     (Menu new fromLiteralArrayEncoding:(UIPainter menuMove)) startUp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1241
    "
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1242
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1243
    <resource: #menu>
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1244
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1245
    ^
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1246
     
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1247
       #(#Menu
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1248
          
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1249
           #(
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1250
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1251
                #label: 'Up'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1252
                #value: #doStepUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1253
                #activeHelpKey: #moveWidgetUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1254
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1255
                #labelImage: #(#ResourceRetriever #ToolApplicationModel #upIcon 'Up')
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1256
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1257
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1258
                #label: 'Down'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1259
                #value: #doStepDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1260
                #activeHelpKey: #moveWidgetDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1261
                #enabled: #canMoveOrAlignSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1262
                #labelImage: #(#ResourceRetriever #ToolApplicationModel #downIcon 'Down')
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1263
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1264
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1265
                #label: 'Into'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1266
                #value: #doStepIn
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1267
                #activeHelpKey: #moveWidgetInto
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1268
                #enabled: #canMoveSelectionIntoContainer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1269
                #labelImage: #(#ResourceRetriever #ToolApplicationModel #downRightIcon 'Into')
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1270
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1271
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1272
                #label: 'Out'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1273
                #value: #doStepOut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1274
                #activeHelpKey: #moveWidgetOut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1275
                #enabled: #canMoveSelectionOutOfContainer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1276
                #labelImage: #(#ResourceRetriever #ToolApplicationModel #leftDownIcon 'Out')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1277
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1278
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1279
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1280
      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1281
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1282
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1283
menuToolbar
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1284
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1285
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1286
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1287
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1288
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1289
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1290
     MenuEditor new openOnClass:UIPainter andSelector:#menuToolbar
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1291
     (Menu new fromLiteralArrayEncoding:(UIPainter menuToolbar)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1292
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1293
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1294
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1295
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1296
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1297
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1298
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1299
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1300
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1301
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1302
                #label: 'Start'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1303
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1304
                #value: #doStartApplication
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1305
                #activeHelpKey: #testStartApplication
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1306
                #labelImage: #(#ResourceRetriever nil #startIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1307
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1308
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1309
                #label: ''
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1310
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1311
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1312
                #label: 'New'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1313
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1314
                #value: #doNew
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1315
                #activeHelpKey: #fileNew
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1316
                #labelImage: #(#ResourceRetriever nil #newIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1317
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1318
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1319
                #label: 'Load'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1320
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1321
                #value: #doLoad
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1322
                #activeHelpKey: #fileLoad
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1323
                #labelImage: #(#ResourceRetriever nil #loadIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1324
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1325
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1326
                #label: 'Save'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1327
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1328
                #value: #doSave
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1329
                #activeHelpKey: #fileSave
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1330
                #labelImage: #(#ResourceRetriever nil #saveIcon)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1331
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1332
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1333
                #label: ''
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1334
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1335
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1336
                #label: 'Cut'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1337
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1338
                #value: #cutSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1339
                #activeHelpKey: #editCut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1340
                #enabled: #valueOfCanCut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1341
                #labelImage: #(#ResourceRetriever nil #cutIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1342
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1343
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1344
                #label: 'Copy'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1345
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1346
                #value: #copySelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1347
                #activeHelpKey: #editCopy
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1348
                #enabled: #valueOfCanCopy
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1349
                #labelImage: #(#ResourceRetriever nil #copyIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1350
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1351
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1352
                #label: 'Paste'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1353
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1354
                #value: #pasteBuffer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1355
                #activeHelpKey: #editPaste
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1356
                #enabled: #valueOfCanPaste
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1357
                #labelImage: #(#ResourceRetriever nil #pasteIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1358
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1359
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1360
                #label: 'Delete'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1361
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1362
                #value: #deleteSelection
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1363
                #activeHelpKey: #editDelete
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1364
                #enabled: #valueOfCanCut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1365
                #labelImage: #(#ResourceRetriever nil #deleteIcon)
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1366
            )
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1367
             #(#MenuItem
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1368
                #label: ''
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1369
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1370
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1371
                #label: 'Move Up'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1372
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1373
                #value: #doStepUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1374
                #activeHelpKey: #moveWidgetUp
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1375
                #enabled: #canChangeOrderInContainer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1376
                #labelImage: #(#ResourceRetriever nil #upIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1377
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1378
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1379
                #label: 'Move Down'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1380
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1381
                #value: #doStepDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1382
                #activeHelpKey: #moveWidgetDown
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1383
                #enabled: #canChangeOrderInContainer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1384
                #labelImage: #(#ResourceRetriever nil #downIcon)
446
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
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1387
                #label: 'Move Into'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1388
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1389
                #value: #doStepIn
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1390
                #activeHelpKey: #moveWidgetInto
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1391
                #enabled: #canMoveSelectionIntoContainer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1392
                #labelImage: #(#ResourceRetriever nil #downRightIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1393
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1394
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1395
                #label: 'Move Out'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1396
                #isButton: true
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1397
                #value: #doStepOut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1398
                #activeHelpKey: #moveWidgetOut
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1399
                #enabled: #canMoveSelectionOutOfContainer
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1400
                #labelImage: #(#ResourceRetriever nil #leftDownIcon)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1401
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1402
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1403
                #label: ''
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1404
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1405
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1406
                #label: 'Canvas'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1407
                #activeHelpKey: #settingsCanvas
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1408
                #indication: #painterShown
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1409
            )
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1410
             #(#MenuItem
713
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1411
                #label: 'Gallery'
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1412
                #activeHelpKey: #settingsGallery
f94e58bb44ac some changes for the docu
tz
parents: 697
diff changeset
  1413
                #indication: #galleryShown
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1414
            )
713