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