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