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