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