UIPainter.st
author Claus Gittinger <cg@exept.de>
Sun, 01 Feb 1998 16:16:03 +0100
changeset 542 11be1353d34c
parent 538 3d75219adb32
child 547 930b3df19305
permissions -rw-r--r--
author in doc method
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:]
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
    61
        Claus Gittinger, eXept Software AG
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
    62
        Claus Atzkern, eXept Software AG
156
b332d7117c40 added copyrights
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    63
127
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    64
    [see also:]
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    65
        UIBuilder
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    66
        ApplicationModel
95070ea7ae42 update layout from view
ca
parents: 124
diff changeset
    67
        UISpecification
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    68
"
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    69
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    70
! !
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    71
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    72
!UIPainter class methodsFor:'instance creation'!
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    73
195
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    74
openOnClass:aClass andSelector:aSelector
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    75
    "open up an interface builder, fetching a spec from aClass
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    76
     via some selector
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    77
    "
195
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    78
    ^ self new openOnClass:aClass andSelector:aSelector
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    79
!
350f95af5d9d check before sending selector to class
Claus Gittinger <cg@exept.de>
parents: 194
diff changeset
    80
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    81
painter:aBuilderView
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    82
    "set the painter
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    83
    "
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    84
    |application|
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    85
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    86
    application := self new.
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    87
    application painter:aBuilderView.
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    88
  ^ application open
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    89
! !
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
    90
87
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    91
!UIPainter class methodsFor:'ST-80 queries'!
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    92
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    93
preferenceFor:aSymbol
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    94
    "ST-80 compatible; always returns false
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
    95
    "
87
cc6d70449622 add ST-80 queries
ca
parents: 81
diff changeset
    96
    ^ false
109
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    97
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    98
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
    99
! !
0b53bd128667 *** empty log message ***
ca
parents: 101
diff changeset
   100
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   101
!UIPainter class methodsFor:'accessing'!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   102
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   103
label
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   104
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   105
    ^'GUI Builder'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   106
! !
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   107
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 }"
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   249
        lnSz    "{ Class:SmallInteger }"
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   250
        atBeginOfLine|
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   251
14db1276218c change the spec;
ca
parents: 295
diff changeset
   252
    maxCharactersPerLine < 20 ifFalse:[max := maxCharactersPerLine - 1]
14db1276218c change the spec;
ca
parents: 295
diff changeset
   253
                               ifTrue:[max := 20].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   254
14db1276218c change the spec;
ca
parents: 295
diff changeset
   255
    (size := aString size) <= max ifTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   256
        ^ aString
14db1276218c change the spec;
ca
parents: 295
diff changeset
   257
    ].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   258
    start  := 1.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   259
    lnSz   := 0.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   260
    stream := (String new:size) writeStream.
14db1276218c change the spec;
ca
parents: 295
diff changeset
   261
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   262
    atBeginOfLine := true.
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   263
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   264
    [start <= size] whileTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   265
        (start := aString indexOfNonSeparatorStartingAt:start) == 0 ifTrue:[
14db1276218c change the spec;
ca
parents: 295
diff changeset
   266
            ^ stream contents
14db1276218c change the spec;
ca
parents: 295
diff changeset
   267
        ].
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   268
        (aString at:start) == $\ ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   269
            skipLineFeed ifFalse:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   270
                stream nextPut:$\
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   271
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   272
            start := start + 1.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   273
            stream cr.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   274
            start := start + 1.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   275
            lnSz := 0.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   276
        ] ifFalse:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   277
            (stop := aString indexOfSeparatorStartingAt:start) == 0 ifTrue:[
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   278
                stop := size + 1
368
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
            (aString at:(stop - 1)) == $\ ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   281
                stop := stop - 1
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   282
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   283
            cpySz := stop - start.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   284
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   285
            lnSz == 0 ifFalse:[
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   286
                (lnSz := lnSz + cpySz) >= max ifTrue:[stream cr.    lnSz := cpySz. atBeginOfLine := true. ]
368
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   287
                                             ifFalse:[stream space. lnSz := lnSz + 1]
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   288
            ] ifTrue:[
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   289
                lnSz := cpySz
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   290
            ].
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   291
            stream nextPutAll:aString startingAt:start to:(stop - 1).
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   292
            start := stop.
9e588f397bc9 support of lineFeed character \ in the help text
ca
parents: 366
diff changeset
   293
        ]
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   294
    ].
14db1276218c change the spec;
ca
parents: 295
diff changeset
   295
    ^ stream contents
542
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   296
11be1353d34c author in doc method
Claus Gittinger <cg@exept.de>
parents: 538
diff changeset
   297
    "Modified: / 1.2.1998 / 14:42:56 / cg"
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   298
! !
14db1276218c change the spec;
ca
parents: 295
diff changeset
   299
60
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
   300
!UIPainter class methodsFor:'interface specs'!
7542ab7fbbfe *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 59
diff changeset
   301
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   302
gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   303
    "this window spec was automatically generated by the ST/X UIPainter"
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   304
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   305
    "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
   306
     handle the specification if its corrupted."
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
    "
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   309
     UIPainter new openOnClass:UIPainter andSelector:#gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   310
     UIPainter new openInterface:#gridParametersSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   311
    "
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   312
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   313
    <resource: #canvas>
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   314
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   315
    ^
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   316
     
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   317
       #(#FullSpec
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   318
          #'window:' 
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   319
           #(#WindowSpec
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   320
              #'name:' 'GUI Builder'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   321
              #'layout:' #(#LayoutFrame 44 0 416 0 325 0 613 0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   322
              #'label:' 'GUI Builder'
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   323
              #'min:' #(#Point 10 10)
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   324
              #'max:' #(#Point 1280 1024)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   325
              #'bounds:' #(#Rectangle 44 416 326 614)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   326
              #'usePreferredExtent:' false
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   327
          )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   328
          #'component:' 
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   329
           #(#SpecCollection
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   330
              #'collection:' 
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   331
               #(
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   332
                 #(#FramedBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   333
                    #'name:' 'framedBox'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   334
                    #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   335
                    #'component:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   336
                     #(#SpecCollection
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   337
                        #'collection:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   338
                         #(
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   339
                           #(#CheckBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   340
                              #'name:' 'show'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   341
                              #'layout:' #(#Point 23 24)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   342
                              #'model:' #showGrid
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   343
                              #'label:' 'Show grid'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   344
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   345
                           #(#CheckBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   346
                              #'name:' 'align'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   347
                              #'layout:' #(#Point 23 52)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   348
                              #'model:' #alignToGrid
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   349
                              #'label:' 'Align to Grid'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   350
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   351
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   352
                              #'name:' 'hrzLabel'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   353
                              #'layout:' #(#AlignmentOrigin 148 0 99 0 1 0.5)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   354
                              #'label:' 'Horizontal Pixels:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   355
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   356
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   357
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   358
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   359
                              #'name:' 'hrzField'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   360
                              #'layout:' #(#LayoutFrame 154 0 87 0 207 0 109 0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   361
                              #'model:' #hspace
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   362
                              #'type:' #numberOrNil
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   363
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   364
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   365
                              #'name:' 'vrtLabel'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   366
                              #'layout:' #(#AlignmentOrigin 149 0 124 0 1 0.5)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   367
                              #'label:' 'Vertical Pixels:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   368
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   369
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   370
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   371
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   372
                              #'name:' 'vrtField'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   373
                              #'layout:' #(#LayoutFrame 154 0 112 0 207 0 134 0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   374
                              #'model:' #vspace
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   375
                              #'type:' #numberOrNil
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   376
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   377
                        )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   378
                    )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   379
                    #'label:' 'Grid Parameter'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   380
                    #'labelPosition:' #topLeft
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   381
                )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   382
                 #(#UISubSpecification
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   383
                    #'name:' 'uISubSpecifica1'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   384
                    #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   385
                    #'majorKey:' #ToolApplicationModel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   386
                    #'minorKey:' #windowSpecForCommitWithoutChannels
366
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   387
                )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   388
              )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   389
          )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   390
      )
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   391
!
68b0e0a329a4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   392
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   393
nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   394
    "this window spec was automatically generated by the ST/X UIPainter"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   395
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   396
    "do not manually edit this - the painter/builder may not be able to
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   397
     handle the specification if its corrupted."
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   398
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   399
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   400
     UIPainter new openOnClass:UIPainter andSelector:#nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   401
     UIPainter new openInterface:#nameAndSelectorSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   402
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   403
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   404
    <resource: #canvas>
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   405
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   406
    ^
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   407
     
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   408
       #(#FullSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   409
          #'window:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   410
           #(#WindowSpec
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   411
              #'name:' 'GUI Builder'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   412
              #'layout:' #(#LayoutFrame 238 0 270 0 584 0 429 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   413
              #'label:' 'GUI Builder'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   414
              #'min:' #(#Point 10 10)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   415
              #'max:' #(#Point 1152 900)
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   416
              #'bounds:' #(#Rectangle 238 270 585 430)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   417
              #'usePreferredExtent:' false
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   418
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   419
          #'component:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   420
           #(#SpecCollection
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   421
              #'collection:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   422
               #(
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   423
                 #(#FramedBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   424
                    #'name:' 'framedBox1'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   425
                    #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   426
                    #'component:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   427
                     #(#SpecCollection
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   428
                        #'collection:' 
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   429
                         #(
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   430
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   431
                              #'name:' 'selectorLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   432
                              #'layout:' #(#AlignmentOrigin 77 0.11 39 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   433
                              #'label:' 'Selector:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   434
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   435
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   436
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   437
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   438
                              #'name:' 'methodNameField'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   439
                              #'layout:' #(#LayoutFrame 80 0.11 28 0 14 1.0 50 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   440
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   441
                              #'model:' #methodNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   442
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   443
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   444
                              #'name:' 'classLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   445
                              #'layout:' #(#AlignmentOrigin 77 0.11 64 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   446
                              #'label:' 'Class:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   447
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   448
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   449
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   450
                           #(#InputFieldSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   451
                              #'name:' 'classNameField'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   452
                              #'layout:' #(#LayoutFrame 80 0.11 53 0 14 1.0 75 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   453
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   454
                              #'model:' #classNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   455
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   456
                           #(#LabelSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   457
                              #'name:' 'superClassLabel'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   458
                              #'layout:' #(#AlignmentOrigin 77 0.11 89 0 1 0.5)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   459
                              #'label:' 'Superclass:'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   460
                              #'adjust:' #right
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   461
                              #'resizeForLabel:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   462
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   463
                           #(#ComboBoxSpec
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   464
                              #'name:' 'superclassNameComboBox'
538
3d75219adb32 dialog layout changed
tz
parents: 533
diff changeset
   465
                              #'layout:' #(#LayoutFrame 80 0.11 78 0 14 1.0 100 0)
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   466
                              #'tabable:' true
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   467
                              #'model:' #superclassNameChannel
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   468
                              #'comboList:' #superclassNameDefaults
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   469
                          )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   470
                        )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   471
                    )
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   472
                    #'label:' 'Class and selector for interface'
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   473
                    #'labelPosition:' #topLeft
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   474
                )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   475
                 #(#UISubSpecification
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   476
                    #'name:' 'uISubSpecifica1'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   477
                    #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   478
                    #'majorKey:' #ToolApplicationModel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   479
                    #'minorKey:' #windowSpecForCommitWithoutChannels
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   480
                )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   481
              )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   482
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   483
      )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   484
!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   485
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   486
windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   487
    "this window spec was automatically generated by the ST/X UIPainter"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   488
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   489
    "do not manually edit this - the painter/builder may not be able to
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   490
     handle the specification if its corrupted."
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   491
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   492
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   493
     UIPainter new openOnClass:UIPainter andSelector:#windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   494
     UIPainter new openInterface:#windowSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   495
    "
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   496
    "UIPainter open"
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   497
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   498
    <resource: #canvas>
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   499
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   500
    ^
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   501
     
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   502
       #(#FullSpec
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   503
          #'window:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   504
           #(#WindowSpec
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   505
              #'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
   506
              #'layout:' #(#LayoutFrame 18 0 64 0 570 0 589 0)
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   507
              #'label:' 'Tree-View'
282
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   508
              #'min:' #(#Point 10 10)
bb88d92ae887 checkin from browser
ca
parents: 281
diff changeset
   509
              #'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
   510
              #'bounds:' #(#Rectangle 18 64 571 590)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   511
              #'menu:' #menu
375
b43507f222ce checkin from browser
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
   512
              #'usePreferredExtent:' false
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   513
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   514
          #'component:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   515
           #(#SpecCollection
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   516
              #'collection:' 
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   517
               #(
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   518
                 #(#MenuPanelSpec
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   519
                    #'name:' 'menuToolbarView'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   520
                    #'layout:' #(#LayoutFrame -1 0.0 0 0 -1 1.0 32 0)
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   521
                    #'tabable:' true
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   522
                    #'menu:' #menuToolbar
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   523
                    #'showSeparatingLines:' true
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   524
                )
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   525
                 #(#VariableVerticalPanelSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   526
                    #'name:' 'vpanel'
448
9f115893b4df info bar added
tz
parents: 447
diff changeset
   527
                    #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -22 1.0)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   528
                    #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   529
                     #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   530
                        #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   531
                         #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   532
                           #(#VariableHorizontalPanelSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   533
                              #'name:' 'hpanel'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   534
                              #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   535
                               #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   536
                                  #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   537
                                   #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   538
                                     #(#ArbitraryComponentSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   539
                                        #'name:' 'treeView'
375
b43507f222ce checkin from browser
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
   540
                                        #'tabable:' true
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   541
                                        #'menu:' #menuEdit
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   542
                                        #'hasHorizontalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   543
                                        #'hasVerticalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   544
                                        #'miniScrollerHorizontal:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   545
                                        #'miniScrollerVertical:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   546
                                        #'component:' #treeView
14db1276218c change the spec;
ca
parents: 295
diff changeset
   547
                                        #'hasBorder:' false
14db1276218c change the spec;
ca
parents: 295
diff changeset
   548
                                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   549
                                     #(#ViewSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   550
                                        #'name:' 'specHolderView'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   551
                                        #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   552
                                         #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   553
                                            #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   554
                                             #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   555
                                               #(#NoteBookViewSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   556
                                                  #'name:' 'noteBook'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   557
                                                  #'layout:' #(#LayoutFrame 0 0.0 26 0.0 0 1.0 -30 1.0)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   558
                                                  #'enableChannel:' #enableChannel
14db1276218c change the spec;
ca
parents: 295
diff changeset
   559
                                                  #'tabable:' true
345
c4d8f4c74c26 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 344
diff changeset
   560
                                                  #'model:' #tabModel
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   561
                                                  #'menu:' #tabList
345
c4d8f4c74c26 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 344
diff changeset
   562
                                                  #'style:' #(#FontDescription #helvetica #medium #roman 10)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   563
                                                  #'canvas:' #noteBookView
14db1276218c change the spec;
ca
parents: 295
diff changeset
   564
                                              )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   565
                                               #(#HorizontalPanelViewSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   566
                                                  #'name:' 'modifyPanel'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   567
                                                  #'layout:' #(#LayoutFrame 0 0.0 -30 1.0 0 1.0 0 1.0)
14db1276218c change the spec;
ca
parents: 295
diff changeset
   568
                                                  #'component:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   569
                                                   #(#SpecCollection
14db1276218c change the spec;
ca
parents: 295
diff changeset
   570
                                                      #'collection:' 
14db1276218c change the spec;
ca
parents: 295
diff changeset
   571
                                                       #(
14db1276218c change the spec;
ca
parents: 295
diff changeset
   572
                                                         #(#ActionButtonSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   573
                                                            #'name:' 'cancelButton'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   574
                                                            #'activeHelpKey:' #cancel
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   575
                                                            #'label:' 'Cancel'
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   576
                                                            #'tabable:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   577
                                                            #'model:' #cancel
14db1276218c change the spec;
ca
parents: 295
diff changeset
   578
                                                            #'enableChannel:' #modifiedChannel
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   579
                                                            #'extent:' #(#Point 79 24)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   580
                                                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   581
                                                         #(#ActionButtonSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   582
                                                            #'name:' 'acceptButton'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   583
                                                            #'activeHelpKey:' #accept
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   584
                                                            #'label:' 'OK'
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   585
                                                            #'tabable:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   586
                                                            #'model:' #accept
14db1276218c change the spec;
ca
parents: 295
diff changeset
   587
                                                            #'enableChannel:' #modifiedChannel
527
6dc446339dc2 dialog styles revised
tz
parents: 518
diff changeset
   588
                                                            #'extent:' #(#Point 79 24)
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   589
                                                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   590
                                                      )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   591
                                                  )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   592
                                                  #'horizontalLayout:' #fitSpace
14db1276218c change the spec;
ca
parents: 295
diff changeset
   593
                                                  #'verticalLayout:' #fitSpace
14db1276218c change the spec;
ca
parents: 295
diff changeset
   594
                                                  #'horizontalSpace:' 3
14db1276218c change the spec;
ca
parents: 295
diff changeset
   595
                                                  #'verticalSpace:' 3
14db1276218c change the spec;
ca
parents: 295
diff changeset
   596
                                              )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   597
                                               #(#HorizontalPanelViewSpec
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   598
                                                  #'name:' 'panelViewButtons'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   599
                                                  #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 24 0)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   600
                                                  #'component:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   601
                                                   #(#SpecCollection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   602
                                                      #'collection:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   603
                                                       #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   604
                                                         #(#ArrowButtonSpec
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   605
                                                            #'name:' 'moveLeft'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   606
                                                            #'activeHelpKey:' #moveSelectionLeft
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   607
                                                            #'tabable:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   608
                                                            #'model:' #moveSelectionLeft
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   609
                                                            #'enableChannel:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   610
                                                            #'isTriggerOnDown:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   611
                                                            #'direction:' #left
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   612
                                                            #'extent:' #(#Point 22 22)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   613
                                                        )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   614
                                                         #(#ArrowButtonSpec
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   615
                                                            #'name:' 'moveRight'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   616
                                                            #'activeHelpKey:' #moveSelectionRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   617
                                                            #'model:' #moveSelectionRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   618
                                                            #'enableChannel:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   619
                                                            #'isTriggerOnDown:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   620
                                                            #'direction:' #right
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   621
                                                            #'extent:' #(#Point 22 22)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   622
                                                        )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   623
                                                         #(#ArrowButtonSpec
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   624
                                                            #'name:' 'moveDown'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   625
                                                            #'activeHelpKey:' #moveSelectionDown
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   626
                                                            #'model:' #moveSelectionDown
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   627
                                                            #'enableChannel:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   628
                                                            #'isTriggerOnDown:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   629
                                                            #'direction:' #down
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   630
                                                            #'extent:' #(#Point 22 22)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   631
                                                        )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   632
                                                         #(#ArrowButtonSpec
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   633
                                                            #'name:' 'moveUp'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   634
                                                            #'activeHelpKey:' #moveSelectionUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   635
                                                            #'model:' #moveSelectionUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   636
                                                            #'enableChannel:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   637
                                                            #'isTriggerOnDown:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   638
                                                            #'direction:' #up
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   639
                                                            #'extent:' #(#Point 22 22)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   640
                                                        )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   641
                                                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   642
                                                  )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   643
                                                  #'level:' 1
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   644
                                                  #'horizontalLayout:' #left
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   645
                                                  #'verticalLayout:' #fit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   646
                                                  #'horizontalSpace:' 4
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   647
                                                  #'verticalSpace:' 4
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   648
                                              )
297
14db1276218c change the spec;
ca
parents: 295
diff changeset
   649
                                            )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   650
                                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   651
                                        #'borderWidth:' 1
14db1276218c change the spec;
ca
parents: 295
diff changeset
   652
                                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   653
                                  )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   654
                              )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   655
                              #'level:' 1
14db1276218c change the spec;
ca
parents: 295
diff changeset
   656
                              #'handles:' #(#Any 0.329435 1.0)
14db1276218c change the spec;
ca
parents: 295
diff changeset
   657
                          )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   658
                           #(#TextEditorSpec
14db1276218c change the spec;
ca
parents: 295
diff changeset
   659
                              #'name:' 'Transcript'
14db1276218c change the spec;
ca
parents: 295
diff changeset
   660
                              #'hasHorizontalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   661
                              #'hasVerticalScrollBar:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   662
                              #'miniScrollerHorizontal:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   663
                              #'miniScrollerVertical:' true
14db1276218c change the spec;
ca
parents: 295
diff changeset
   664
                          )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   665
                        )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   666
                    )
14db1276218c change the spec;
ca
parents: 295
diff changeset
   667
                    #'handles:' #(#Any 0.880597 1.0)
14db1276218c change the spec;
ca
parents: 295
diff changeset
   668
                )
486
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   669
                 #(#UISubSpecification
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   670
                    #'name:' 'infoBarSubSpec'
2a1024483349 info bar as subSpec to class ToolApplicationModel moved
tz
parents: 482
diff changeset
   671
                    #'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
   672
                    #'majorKey:' #ToolApplicationModel
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   673
                    #'minorKey:' #windowSpecForInfoBarWithClock
448
9f115893b4df info bar added
tz
parents: 447
diff changeset
   674
                )
222
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   675
              )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   676
          )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   677
      )
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   678
! !
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   679
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   680
!UIPainter class methodsFor:'menu specs'!
dd2688307d90 added treeView; change specs
ca
parents: 217
diff changeset
   681
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   682
menu
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   683
    "this window spec was automatically generated by the ST/X MenuEditor"
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   684
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   685
    "do not manually edit this - the builder may not be able to
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   686
     handle the specification if its corrupted."
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   687
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   688
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   689
     MenuEditor new openOnClass:UIPainter andSelector:#menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   690
     (Menu new fromLiteralArrayEncoding:(UIPainter menu)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   691
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   692
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   693
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   694
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   695
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   696
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   697
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   698
          
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:' 'About'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   702
                #'labelImage:' #(#ResourceRetriever nil #icon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   703
                #'submenuChannel:' #menuAbout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   704
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   705
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   706
                #'label:' 'File'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   707
                #'value:' #file
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   708
                #'enabled:' #enableChannel
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   709
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   710
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   711
                    
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:' 'New'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   715
                          #'value:' #doNew
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   716
                          #'activeHelpKey:' #fileNew
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   717
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   718
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   719
                          #'label:' '-'
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
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   722
                          #'label:' 'Load...'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   723
                          #'value:' #doFromClass
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   724
                          #'activeHelpKey:' #fileLoad
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   725
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   726
                       #(#MenuItem
533
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   727
                          #'label:' 'Load Subspec...'
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   728
                          #'value:' #loadSubspec
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   729
                          #'activeHelpKey:' #fileLoadSubspec
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   730
                      )
dde823aeca4c supports loading of subspecs
tz
parents: 527
diff changeset
   731
                       #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   732
                          #'label:' '-'
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
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   735
                          #'label:' 'Save'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   736
                          #'value:' #doInstallSpec
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   737
                          #'activeHelpKey:' #fileSave
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   738
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   739
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   740
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   741
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   742
                       #(#MenuItem
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   743
                          #'label:' 'Define Class And Selector...'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   744
                          #'value:' #defineClassAndSelector
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   745
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   746
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   747
                          #'label:' '-'
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 Aspect Methods'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   751
                          #'value:' #doInstallAspects
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   752
                          #'enabled:' #hasSpecClass
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:' 'Create Hook Methods'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   756
                          #'value:' #doInstallHooks
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   757
                          #'enabled:' #hasSpecClass
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   758
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   759
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   760
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   761
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   762
                       #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   763
                          #'label:' 'Pick An Interface'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   764
                          #'value:' #doPickAView
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   765
                          #'activeHelpKey:' #filePickAnInterface
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   766
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   767
                       #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   768
                          #'label:' '-'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   769
                      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   770
                       #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   771
                          #'label:' 'Show Interface Spec'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   772
                          #'value:' #doWindowSpec
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
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   775
                          #'label:' 'Browse Interface Class'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   776
                          #'value:' #doBrowseAppClass
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   777
                          #'enabled:' #hasSpecClass
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:' 'Browse Aspect Methods'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   781
                          #'value:' #doBrowseAspectMethods
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   782
                          #'enabled:' #hasSpecClass
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   783
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   784
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   785
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   786
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   787
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   788
                          #'label:' 'Exit'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   789
                          #'value:' #closeRequest
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   790
                          #'activeHelpKey:' #fileExit
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   791
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   792
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   793
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   794
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   795
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   796
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   797
                #'label:' 'Edit'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   798
                #'submenuChannel:' #menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   799
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   800
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   801
                #'label:' 'Align'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   802
                #'submenuChannel:' #menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   803
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   804
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   805
                #'label:' 'Test'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   806
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   807
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   808
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   809
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   810
                       #(#MenuItem
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   811
                          #'label:' 'Start Application'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   812
                          #'value:' #doStartApplication
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   813
                          #'activeHelpKey:' #testStartApplication
466
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   814
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   815
                       #(#MenuItem
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   816
                          #'label:' '-'
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   817
                      )
daba7254ed49 no separate help saves
tz
parents: 453
diff changeset
   818
                       #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   819
                          #'label:' 'Geometry Test Mode'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   820
                          #'indication:' #'testMode:'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   821
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   822
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   823
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   824
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   825
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   826
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   827
                #'label:' 'Settings'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   828
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   829
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   830
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   831
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   832
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   833
                          #'label:' 'Undo Manager'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   834
                          #'value:' #openUndoMenu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   835
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   836
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   837
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   838
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   839
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   840
                          #'label:' 'Grid Manager'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   841
                          #'value:' #gridMenu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   842
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   843
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   844
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   845
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   846
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   847
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   848
                #'label:' 'History'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   849
                #'submenuChannel:' #menuHistory
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   850
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   851
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   852
                #'label:' 'Help'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   853
                #'submenuChannel:' #menuHelp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   854
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
   855
             #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   856
                #'label:' ''
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   857
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   858
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   859
                #'label:' 'Gallery'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   860
                #'indication:' #galleryShown
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   861
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   862
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   863
                #'label:' 'Canvas'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   864
                #'indication:' #painterShown
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   865
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   866
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   867
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   868
      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   869
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   870
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   871
menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   872
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   873
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   874
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   875
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   876
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   877
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   878
     MenuEditor new openOnClass:UIPainter andSelector:#menuAlign
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   879
     (Menu new fromLiteralArrayEncoding:(UIPainter menuAlign)) startUp
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   880
    "
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   881
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   882
    <resource: #menu>
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   883
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   884
    ^
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   885
     
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   886
       #(#Menu
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   887
          
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   888
           #(
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
   889
             #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   890
                #'label:' 'Align Left'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   891
                #'value:' #alignSelectionLeft
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   892
                #'activeHelpKey:' #alignSelectionLeft
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   893
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   894
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignL 'Align Left')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   895
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   896
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   897
                #'label:' 'Align Right'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   898
                #'value:' #alignSelectionRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   899
                #'activeHelpKey:' #alignSelectionRight
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   900
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   901
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignR 'Align Right')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   902
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   903
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   904
                #'label:' 'Align Left & Right'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   905
                #'value:' #alignSelectionLeftAndRight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   906
                #'activeHelpKey:' #alignSelectionLeftAndRight
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   907
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   908
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignLR 'Align Left & Right')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   909
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   910
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   911
                #'label:' 'Align top'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   912
                #'value:' #alignSelectionTop
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   913
                #'activeHelpKey:' #alignSelectionTop
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   914
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   915
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignT 'Align top')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   916
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   917
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   918
                #'label:' 'Align Bottom'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   919
                #'value:' #alignSelectionBottom
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   920
                #'activeHelpKey:' #alignSelectionBottom
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   921
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   922
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignB 'Align Bottom')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   923
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   924
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   925
                #'label:' 'Align Top & Bottom'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   926
                #'value:' #alignSelectionTopAndBottom
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   927
                #'activeHelpKey:' #alignSelectionTopAndBottom
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   928
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   929
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignTB 'Align Top & Bottom')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   930
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   931
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   932
                #'label:' 'Align Centered Horizontal'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   933
                #'value:' #alignSelectionCenterHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   934
                #'activeHelpKey:' #alignSelectionCenterHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   935
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   936
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterH 'Align Centered Horizontal')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   937
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   938
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   939
                #'label:' 'Align Centered Vertical'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   940
                #'value:' #alignSelectionCenterVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   941
                #'activeHelpKey:' #alignSelectionCenterVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   942
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   943
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterV 'Align Centered Vertical')
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   944
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   945
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   946
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   947
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   948
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   949
                #'label:' 'Spread Horizontal'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   950
                #'value:' #spreadSelectionHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   951
                #'activeHelpKey:' #spreadSelectionHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   952
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   953
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   954
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   955
                #'label:' 'Spread Vertical'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   956
                #'value:' #spreadSelectionVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   957
                #'activeHelpKey:' #spreadSelectionVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   958
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   959
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   960
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   961
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   962
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   963
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   964
                #'label:' 'Center Horizontal In Frame'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   965
                #'value:' #centerSelectionHor
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   966
                #'activeHelpKey:' #centerSelectionHor
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   967
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   968
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   969
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   970
                #'label:' 'Center Vertical In Frame'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   971
                #'value:' #centerSelectionVer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   972
                #'activeHelpKey:' #centerSelectionVer
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   973
                #'enabled:' #hasSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   974
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   975
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   976
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   977
      )
495
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   978
f356a6636eef disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents: 491
diff changeset
   979
    "Modified: / 27.1.1998 / 21:27:33 / cg"
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   980
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   981
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   982
menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   983
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   984
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   985
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   986
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   987
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   988
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   989
     MenuEditor new openOnClass:UIPainter andSelector:#menuEdit
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   990
     (Menu new fromLiteralArrayEncoding:(UIPainter menuEdit)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   991
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   992
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   993
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   994
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   995
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   996
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   997
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   998
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
   999
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1000
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1001
                #'label:' 'Cut'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1002
                #'value:' #deleteSelection
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1003
                #'activeHelpKey:' #editCut
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1004
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1005
                #'shortcutKeyCharacter:' #Cut
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1006
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1007
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1008
                #'label:' 'Copy'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1009
                #'value:' #copySelection
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1010
                #'activeHelpKey:' #editCopy
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1011
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1012
                #'shortcutKeyCharacter:' #Copy
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1013
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1014
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1015
                #'label:' 'Paste'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1016
                #'nameKey:' #paste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1017
                #'value:' #paste
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1018
                #'activeHelpKey:' #editPaste
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1019
                #'enabled:' #canPaste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1020
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1021
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1022
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1023
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1024
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1025
                          #'label:' 'Paste'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1026
                          #'value:' #pasteBuffer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1027
                          #'activeHelpKey:' #pasteBuffer
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1028
                          #'shortcutKeyCharacter:' #Paste
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1029
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1030
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1031
                          #'label:' 'Keep Layout'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1032
                          #'value:' #pasteWithLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1033
                          #'activeHelpKey:' #pasteWithLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1034
                          #'enabled:' #canKeepLayoutInSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1035
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1036
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1037
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1038
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1039
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1040
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1041
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1042
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1043
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1044
                #'label:' 'Undo'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1045
                #'nameKey:' #undo
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1046
                #'value:' #undoLast
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1047
                #'activeHelpKey:' #editUndo
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1048
                #'enabled:' #hasUndoHistory
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1049
                #'shortcutKeyCharacter:' #Cmdu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1050
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1051
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1052
                #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1053
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1054
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1055
                #'label:' 'Align'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1056
                #'submenuChannel:' #menuAlign
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1057
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1058
             #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1059
                #'label:' 'Move'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1060
                #'submenuChannel:' #menuMove
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1061
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1062
             #(#MenuItem
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1063
                #'label:' 'Dimension'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1064
                #'value:' #dimension
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1065
                #'enabled:' #hasSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1066
                #'submenu:' 
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1067
                 #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1068
                    
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1069
                     #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1070
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1071
                          #'label:' 'Default Extent'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1072
                          #'value:' #setToDefaultExtent
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1073
                          #'activeHelpKey:' #setToDefaultExtent
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1074
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1075
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1076
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1077
                          #'label:' 'Default Width'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1078
                          #'value:' #setToDefaultWidth
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1079
                          #'activeHelpKey:' #setToDefaultWidth
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1080
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1081
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1082
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1083
                          #'label:' 'Default Height'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1084
                          #'value:' #setToDefaultHeight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1085
                          #'activeHelpKey:' #setToDefaultHeight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1086
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1087
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1088
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1089
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1090
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1091
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1092
                          #'label:' 'Copy Extent'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1093
                          #'value:' #copyExtent
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1094
                          #'activeHelpKey:' #copyExtent
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1095
                          #'enabled:' #hasSingleSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1096
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1097
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1098
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1099
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1100
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1101
                          #'label:' 'Paste Extent'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1102
                          #'value:' #pasteExtent
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1103
                          #'activeHelpKey:' #pasteExtent
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1104
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1105
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1106
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1107
                          #'label:' 'Paste Width'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1108
                          #'value:' #pasteWidth
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1109
                          #'activeHelpKey:' #pasteWidth
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1110
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1111
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1112
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1113
                          #'label:' 'Paste Height'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1114
                          #'value:' #pasteHeight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1115
                          #'activeHelpKey:' #pasteHeight
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1116
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1117
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1118
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1119
                          #'label:' '-'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1120
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1121
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1122
                          #'label:' 'Copy Layout'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1123
                          #'value:' #copyLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1124
                          #'activeHelpKey:' #copyLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1125
                          #'enabled:' #hasSingleSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1126
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1127
                       #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1128
                          #'label:' 'Paste Layout'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1129
                          #'value:' #pasteLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1130
                          #'activeHelpKey:' #pasteLayout
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1131
                          #'enabled:' #canMoveOrAlignSelection
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1132
                      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1133
                    ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1134
                    nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1135
                )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1136
            )
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1137
          ) nil
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1138
          nil
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1139
      )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1140
!
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1141
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1142
menuMove
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1143
    "this window spec was automatically generated by the ST/X MenuEditor"
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1144
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1145
    "do not manually edit this - the builder may not be able to
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1146
     handle the specification if its corrupted."
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1147
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1148
    "
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1149
     MenuEditor new openOnClass:UIPainter andSelector:#menuMove
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1150
     (Menu new fromLiteralArrayEncoding:(UIPainter menuMove)) startUp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1151
    "
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1152
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1153
    <resource: #menu>
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1154
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1155
    ^
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1156
     
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1157
       #(#Menu
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1158
          
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1159
           #(
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1160
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1161
                #'label:' 'Move Up'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1162
                #'value:' #doStepUp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1163
                #'activeHelpKey:' #moveSelectionUp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1164
                #'enabled:' #canMoveOrAlignSelection
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1165
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #upIcon 'Move Up')
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1166
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1167
             #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1168
                #'label:' 'Move Down'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1169
                #'value:' #doStepDown
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1170
                #'activeHelpKey:' #moveSelectionDown
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1171
                #'enabled:' #canMoveOrAlignSelection
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1172
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #downIcon 'Move Down')
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1173
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1174
             #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1175
                #'label:' 'Move In'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1176
                #'value:' #doStepIn
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1177
                #'activeHelpKey:' #moveSelectionRight
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1178
                #'enabled:' #canMoveSelectionIntoContainer
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1179
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #downRightIcon 'Move In')
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1180
            )
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1181
             #(#MenuItem
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1182
                #'label:' 'Move Out'
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1183
                #'value:' #doStepOut
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1184
                #'activeHelpKey:' #moveSelectionLeft
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1185
                #'enabled:' #canMoveSelectionOutOfContainer
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1186
                #'labelImage:' #(#ResourceRetriever #ToolApplicationModel #leftDownIcon 'Move Out')
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1187
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1188
          ) nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1189
          nil
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1190
      )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1191
!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1192
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1193
menuToolbar
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1194
    "this window spec was automatically generated by the ST/X MenuEditor"
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1195
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1196
    "do not manually edit this - the builder may not be able to
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1197
     handle the specification if its corrupted."
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1198
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1199
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1200
     MenuEditor new openOnClass:UIPainter andSelector:#menuToolbar
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1201
     (Menu new fromLiteralArrayEncoding:(UIPainter menuToolbar)) startUp
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1202
    "
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1203
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1204
    <resource: #menu>
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1205
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1206
    ^
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1207
     
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1208
       #(#Menu
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1209
          
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1210
           #(
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1211
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1212
                #'label:' 'Start'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1213
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1214
                #'value:' #doStartApplication
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1215
                #'activeHelpKey:' #testStartApplication
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1216
                #'labelImage:' #(#ResourceRetriever nil #startIcon)
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1217
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1218
             #(#MenuItem
518
435dcb241555 single lines in tool bar removed
tz
parents: 513
diff changeset
  1219
                #'label:' ''
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1220
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1221
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1222
                #'label:' 'New'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1223
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1224
                #'value:' #doNew
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1225
                #'activeHelpKey:' #fileNew
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1226
                #'labelImage:' #(#ResourceRetriever nil #newIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1227
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1228
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1229
                #'label:' 'Load'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1230
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1231
                #'value:' #doFromClass
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1232
                #'activeHelpKey:' #fileLoad
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1233
                #'labelImage:' #(#ResourceRetriever nil #loadIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1234
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1235
             #(#MenuItem
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1236
                #'label:' 'Save'
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1237
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1238
                #'value:' #doInstallSpec
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1239
                #'activeHelpKey:' #fileSave
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1240
                #'labelImage:' #(#ResourceRetriever nil #saveIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1241
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1242
             #(#MenuItem
518
435dcb241555 single lines in tool bar removed
tz
parents: 513
diff changeset
  1243
                #'label:' ''
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1244
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1245
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1246
                #'label:' 'Move Up'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1247
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1248
                #'value:' #doStepUp
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1249
                #'activeHelpKey:' #moveSelectionUp
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1250
                #'enabled:' #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1251
                #'labelImage:' #(#ResourceRetriever nil #upIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1252
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1253
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1254
                #'label:' 'Move Down'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1255
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1256
                #'value:' #doStepDown
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1257
                #'activeHelpKey:' #moveSelectionDown
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1258
                #'enabled:' #canMoveOrAlignSelection
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1259
                #'labelImage:' #(#ResourceRetriever nil #downIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1260
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1261
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1262
                #'label:' 'Move In'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1263
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1264
                #'value:' #doStepIn
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1265
                #'activeHelpKey:' #moveSelectionRight
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1266
                #'enabled:' #canMoveSelectionIntoContainer
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1267
                #'labelImage:' #(#ResourceRetriever nil #downRightIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1268
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1269
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1270
                #'label:' 'Move Out'
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1271
                #'isButton:' true
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1272
                #'value:' #doStepOut
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1273
                #'activeHelpKey:' #moveSelectionLeft
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1274
                #'enabled:' #canMoveSelectionOutOfContainer
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1275
                #'labelImage:' #(#ResourceRetriever nil #leftDownIcon)
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1276
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1277
             #(#MenuItem
518
435dcb241555 single lines in tool bar removed
tz
parents: 513
diff changeset
  1278
                #'label:' ''
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1279
            )
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1280
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1281
                #'label:' 'Align left'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1282
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1283
                #'value:' #alignSelectionLeft
287
1ecabfd468dc HelpTool is seperated like LayoutTool
ca
parents: 282
diff changeset
  1284
                #'activeHelpKey:' #alignSelectionLeft
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1285
                #'labelImage:' #(#ResourceRetriever nil #iconAlignL)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1286
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1287
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1288
                #'label:' 'Align right'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1289
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1290
                #'value:' #alignSelectionRight
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1291
                #'activeHelpKey:' #alignSelectionRight
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1292
                #'labelImage:' #(#ResourceRetriever nil #iconAlignR)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1293
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1294
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1295
                #'label:' 'Align left & right'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1296
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1297
                #'value:' #alignSelectionLeftAndRight
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1298
                #'activeHelpKey:' #alignSelectionLeftAndRight
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1299
                #'labelImage:' #(#ResourceRetriever nil #iconAlignLR)
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1300
            )
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1301
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1302
                #'label:' 'Align top'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1303
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1304
                #'value:' #alignSelectionTop
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1305
                #'activeHelpKey:' #alignSelectionTop
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1306
                #'labelImage:' #(#ResourceRetriever nil #iconAlignT)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1307
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1308
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1309
                #'label:' 'Align bottom'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1310
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1311
                #'value:' #alignSelectionBottom
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1312
                #'activeHelpKey:' #alignSelectionBottom
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1313
                #'labelImage:' #(#ResourceRetriever nil #iconAlignB)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1314
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1315
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1316
                #'label:' 'Align top & bottom'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1317
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1318
                #'value:' #alignSelectionTopAndBottom
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1319
                #'activeHelpKey:' #alignSelectionTopAndBottom
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1320
                #'labelImage:' #(#ResourceRetriever nil #iconAlignTB)
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1321
            )
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1322
             #(#MenuItem
518
435dcb241555 single lines in tool bar removed
tz
parents: 513
diff changeset
  1323
                #'label:' ''
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1324
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1325
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1326
                #'label:' 'Align centered horizontal'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1327
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1328
                #'value:' #alignSelectionCenterHor
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1329
                #'activeHelpKey:' #alignSelectionCenterHor
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1330
                #'labelImage:' #(#ResourceRetriever nil #iconAlignCenterH)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1331
            )
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1332
             #(#MenuItem
498
43a78c5f806c help texts added
tz
parents: 496
diff changeset
  1333
                #'label:' 'Align centered vertical'
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1334
                #'isButton:' true
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1335
                #'value:' #alignSelectionCenterVer
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1336
                #'activeHelpKey:' #alignSelectionCenterVer
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1337
                #'labelImage:' #(#ResourceRetriever nil #iconAlignCenterV)
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1338
            )
437
6317d2f08662 button style added
tz
parents: 394
diff changeset
  1339
          ) nil
217
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1340
          nil
354ba46948b4 access MenuEditor for specs
ca
parents: 206
diff changeset
  1341
      )
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1342
! !
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1343
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1344
!UIPainter class methodsFor:'resources'!
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1345
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1346
iconAlignB
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1347
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1348
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1349
    ImageEditor openOnClass:self andSelector:#iconAlignB
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1350
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1351
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1352
    <resource: #image>
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1353
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1354
    ^Icon
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1355
        constantNamed:#'UIPainter iconAlignB'
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1356
        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
  1357
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1358
iconAlignCenterH
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1359
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1360
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1361
    ImageEditor openOnClass:self andSelector:#iconAlignCenterH
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1362
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1363
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1364
    <resource: #image>
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1365
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1366
    ^Icon
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1367
        constantNamed:#'UIPainter iconAlignCenterH'
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1368
        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
  1369
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1370
iconAlignCenterV
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1371
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1372
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1373
    ImageEditor openOnClass:self andSelector:#iconAlignCenterV
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1374
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1375
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1376
    <resource: #image>
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1377
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1378
    ^Icon
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1379
        constantNamed:#'UIPainter iconAlignCenterV'
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1380
        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
  1381
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1382
iconAlignL
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1383
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1384
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1385
    ImageEditor openOnClass:self andSelector:#iconAlignL
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1386
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1387
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1388
    <resource: #image>
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1389
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1390
    ^Icon
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1391
        constantNamed:#'UIPainter iconAlignL'
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1392
        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
  1393
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1394
iconAlignLR
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1395
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1396
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1397
    ImageEditor openOnClass:self andSelector:#iconAlignLR
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1398
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1399
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1400
    <resource: #image>
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1401
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1402
    ^Icon
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1403
        constantNamed:#'UIPainter iconAlignLR'
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1404
        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
  1405
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1406
iconAlignR
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1407
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1408
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1409
    ImageEditor openOnClass:self andSelector:#iconAlignR
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1410
    "
446
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1411
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1412
    <resource: #image>
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1413
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1414
    ^Icon
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1415
        constantNamed:#'UIPainter iconAlignR'
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1416
        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
  1417
b513a621a7a4 new toolbar + other features added
tz
parents: 440
diff changeset
  1418
iconAlignT
490
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1419
    "Generated by the Image Editor"
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1420
    "
c0e98d01e2d4 new icon method format applied
tz
parents: 486
diff changeset
  1421
    ImageEditor openOnClass:self andSelector:#iconAlignT