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