UIPropertyView.st
author ca
Wed, 21 May 1997 12:41:01 +0200
changeset 111 c6699a14d3d9
parent 90 c18809a425d0
child 122 c6f7d7881634
permissions -rw-r--r--
tools
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
     1
ApplicationModel subclass:#UIPropertyView
111
ca
parents: 90
diff changeset
     2
	instanceVariableNames:'window specClass aspects modified modifiedHolder'
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
     3
	classVariableNames:''
7276365d9311 intitial checkin
ca
parents:
diff changeset
     4
	poolDictionaries:''
7276365d9311 intitial checkin
ca
parents:
diff changeset
     5
	category:'Interface-UIPainter'
7276365d9311 intitial checkin
ca
parents:
diff changeset
     6
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
     7
111
ca
parents: 90
diff changeset
     8
UIPropertyView subclass:#Dimension
ca
parents: 90
diff changeset
     9
	instanceVariableNames:'noteBook forView selection layoutTypes'
ca
parents: 90
diff changeset
    10
	classVariableNames:''
ca
parents: 90
diff changeset
    11
	poolDictionaries:''
ca
parents: 90
diff changeset
    12
	privateIn:UIPropertyView
ca
parents: 90
diff changeset
    13
!
ca
parents: 90
diff changeset
    14
ca
parents: 90
diff changeset
    15
UIPropertyView subclass:#Specification
ca
parents: 90
diff changeset
    16
	instanceVariableNames:'specEdited specChannel'
ca
parents: 90
diff changeset
    17
	classVariableNames:''
ca
parents: 90
diff changeset
    18
	poolDictionaries:''
ca
parents: 90
diff changeset
    19
	privateIn:UIPropertyView
ca
parents: 90
diff changeset
    20
!
ca
parents: 90
diff changeset
    21
ca
parents: 90
diff changeset
    22
!UIPropertyView class methodsFor:'documentation'!
ca
parents: 90
diff changeset
    23
ca
parents: 90
diff changeset
    24
documentation
ca
parents: 90
diff changeset
    25
"
ca
parents: 90
diff changeset
    26
    provides tools to the UIPainter accessing and manipulation
ca
parents: 90
diff changeset
    27
    properties and/or layouts.
ca
parents: 90
diff changeset
    28
"
ca
parents: 90
diff changeset
    29
ca
parents: 90
diff changeset
    30
! !
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    31
7276365d9311 intitial checkin
ca
parents:
diff changeset
    32
!UIPropertyView class methodsFor:'instance creation'!
7276365d9311 intitial checkin
ca
parents:
diff changeset
    33
111
ca
parents: 90
diff changeset
    34
for:aTool in:aTopview
ca
parents: 90
diff changeset
    35
    |cls appl|
ca
parents: 90
diff changeset
    36
ca
parents: 90
diff changeset
    37
    cls := Smalltalk classNamed:(self name asString, '::', aTool asString).
ca
parents: 90
diff changeset
    38
    appl := cls new.
ca
parents: 90
diff changeset
    39
    appl origin:0.0@0.0 corner:1.0@1.0 in:aTopview.
ca
parents: 90
diff changeset
    40
  ^ appl
ca
parents: 90
diff changeset
    41
!
ca
parents: 90
diff changeset
    42
ca
parents: 90
diff changeset
    43
in:aTopview
ca
parents: 90
diff changeset
    44
    |appl|
ca
parents: 90
diff changeset
    45
ca
parents: 90
diff changeset
    46
    appl := self new.
ca
parents: 90
diff changeset
    47
    appl origin:0.0@0.0 corner:1.0@1.0 in:aTopview.
ca
parents: 90
diff changeset
    48
  ^ appl
ca
parents: 90
diff changeset
    49
! !
ca
parents: 90
diff changeset
    50
ca
parents: 90
diff changeset
    51
!UIPropertyView methodsFor:'accessing'!
ca
parents: 90
diff changeset
    52
ca
parents: 90
diff changeset
    53
buildFromSpec:aSpec
ca
parents: 90
diff changeset
    54
    |state subViews backGroundColor|
ca
parents: 90
diff changeset
    55
ca
parents: 90
diff changeset
    56
    aSpec ~= specClass ifTrue:[
ca
parents: 90
diff changeset
    57
        window destroySubViews.
ca
parents: 90
diff changeset
    58
ca
parents: 90
diff changeset
    59
        aSpec notNil ifTrue:[
ca
parents: 90
diff changeset
    60
            builder buildFromSpec:aSpec in:window.
ca
parents: 90
diff changeset
    61
            window allViewBackground:(self viewBackground).
ca
parents: 90
diff changeset
    62
            window realizeAllSubViews
ca
parents: 90
diff changeset
    63
        ]
ca
parents: 90
diff changeset
    64
    ].
ca
parents: 90
diff changeset
    65
    specClass := aSpec.
ca
parents: 90
diff changeset
    66
    self modified:false
ca
parents: 90
diff changeset
    67
        
ca
parents: 90
diff changeset
    68
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    69
111
ca
parents: 90
diff changeset
    70
modified
ca
parents: 90
diff changeset
    71
    "returns modifying state
ca
parents: 90
diff changeset
    72
    "
ca
parents: 90
diff changeset
    73
    ^ modified
ca
parents: 90
diff changeset
    74
!
ca
parents: 90
diff changeset
    75
ca
parents: 90
diff changeset
    76
modified:aState
ca
parents: 90
diff changeset
    77
    "set modifying state
ca
parents: 90
diff changeset
    78
    "
ca
parents: 90
diff changeset
    79
    modified := aState.
ca
parents: 90
diff changeset
    80
ca
parents: 90
diff changeset
    81
    modifiedHolder notNil ifTrue:[
ca
parents: 90
diff changeset
    82
        modifiedHolder value ~~ modified ifTrue:[
ca
parents: 90
diff changeset
    83
            modifiedHolder value:modified
ca
parents: 90
diff changeset
    84
        ]
ca
parents: 90
diff changeset
    85
    ]
ca
parents: 90
diff changeset
    86
!
ca
parents: 90
diff changeset
    87
ca
parents: 90
diff changeset
    88
modifiedHolder
ca
parents: 90
diff changeset
    89
    "returns the value holder set to true in case of modifying attributes
ca
parents: 90
diff changeset
    90
    "
ca
parents: 90
diff changeset
    91
    ^ modifiedHolder
ca
parents: 90
diff changeset
    92
!
ca
parents: 90
diff changeset
    93
ca
parents: 90
diff changeset
    94
modifiedHolder:aValueHolder
ca
parents: 90
diff changeset
    95
    "set the value holder set to true in case of modifying attributes
ca
parents: 90
diff changeset
    96
    "
ca
parents: 90
diff changeset
    97
    modifiedHolder notNil ifTrue:[
ca
parents: 90
diff changeset
    98
        modifiedHolder removeDependent:self. 
ca
parents: 90
diff changeset
    99
    ].
ca
parents: 90
diff changeset
   100
ca
parents: 90
diff changeset
   101
    (modifiedHolder := aValueHolder) notNil ifTrue:[
ca
parents: 90
diff changeset
   102
        modifiedHolder addDependent:self.
ca
parents: 90
diff changeset
   103
        modifiedHolder setValue:modified.
ca
parents: 90
diff changeset
   104
    ].
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   105
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
   106
111
ca
parents: 90
diff changeset
   107
!UIPropertyView methodsFor:'accessing hierarchy'!
ca
parents: 90
diff changeset
   108
ca
parents: 90
diff changeset
   109
lower
ca
parents: 90
diff changeset
   110
    "bring window to back
ca
parents: 90
diff changeset
   111
    "
ca
parents: 90
diff changeset
   112
    self window back
ca
parents: 90
diff changeset
   113
!
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   114
111
ca
parents: 90
diff changeset
   115
raise
ca
parents: 90
diff changeset
   116
    "bring window to front
ca
parents: 90
diff changeset
   117
    "
ca
parents: 90
diff changeset
   118
    self window raise
ca
parents: 90
diff changeset
   119
!
ca
parents: 90
diff changeset
   120
ca
parents: 90
diff changeset
   121
viewBackground
ca
parents: 90
diff changeset
   122
    ^ window viewBackground
ca
parents: 90
diff changeset
   123
!
ca
parents: 90
diff changeset
   124
ca
parents: 90
diff changeset
   125
viewBackground:aColor
ca
parents: 90
diff changeset
   126
    window viewBackground:aColor
ca
parents: 90
diff changeset
   127
!
ca
parents: 90
diff changeset
   128
ca
parents: 90
diff changeset
   129
window
ca
parents: 90
diff changeset
   130
    "returns window application is running in
ca
parents: 90
diff changeset
   131
    "
ca
parents: 90
diff changeset
   132
    ^ window
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   133
! !
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   134
111
ca
parents: 90
diff changeset
   135
!UIPropertyView methodsFor:'bindings'!
ca
parents: 90
diff changeset
   136
ca
parents: 90
diff changeset
   137
aspectFor:aKey
ca
parents: 90
diff changeset
   138
    "returns aspect for a key or nil
ca
parents: 90
diff changeset
   139
    "
ca
parents: 90
diff changeset
   140
    aspects notNil ifTrue:[
ca
parents: 90
diff changeset
   141
        ^ aspects at:aKey ifAbsent:nil
ca
parents: 90
diff changeset
   142
    ].
ca
parents: 90
diff changeset
   143
    ^ super aspectFor:aKey
ca
parents: 90
diff changeset
   144
ca
parents: 90
diff changeset
   145
!
ca
parents: 90
diff changeset
   146
ca
parents: 90
diff changeset
   147
aspects
ca
parents: 90
diff changeset
   148
    "returned monitored aspects
ca
parents: 90
diff changeset
   149
    "
ca
parents: 90
diff changeset
   150
    ^ aspects
ca
parents: 90
diff changeset
   151
!
ca
parents: 90
diff changeset
   152
ca
parents: 90
diff changeset
   153
aspects:aListOfAspects
ca
parents: 90
diff changeset
   154
    "set aspects to be monitored
ca
parents: 90
diff changeset
   155
    "
ca
parents: 90
diff changeset
   156
    (aspects := aListOfAspects) notNil ifTrue:[
ca
parents: 90
diff changeset
   157
        aspects do:[:el | el addDependent:self ].
ca
parents: 90
diff changeset
   158
    ].
ca
parents: 90
diff changeset
   159
    self modified:false.
ca
parents: 90
diff changeset
   160
! !
ca
parents: 90
diff changeset
   161
ca
parents: 90
diff changeset
   162
!UIPropertyView methodsFor:'change & update'!
ca
parents: 90
diff changeset
   163
ca
parents: 90
diff changeset
   164
update:something with:someArgument from:someone
ca
parents: 90
diff changeset
   165
    "any attribute changed its state in the current specification
ca
parents: 90
diff changeset
   166
    "
ca
parents: 90
diff changeset
   167
    someone == modifiedHolder ifTrue:[
ca
parents: 90
diff changeset
   168
        modified := modifiedHolder value
ca
parents: 90
diff changeset
   169
    ] ifFalse:[
ca
parents: 90
diff changeset
   170
        self modified:true
ca
parents: 90
diff changeset
   171
    ]
ca
parents: 90
diff changeset
   172
! !
ca
parents: 90
diff changeset
   173
ca
parents: 90
diff changeset
   174
!UIPropertyView methodsFor:'initialization'!
ca
parents: 90
diff changeset
   175
ca
parents: 90
diff changeset
   176
closeRequest
ca
parents: 90
diff changeset
   177
    modifiedHolder notNil ifTrue:[
ca
parents: 90
diff changeset
   178
        modifiedHolder removeDependent:self. 
ca
parents: 90
diff changeset
   179
        modifiedHolder := nil.
ca
parents: 90
diff changeset
   180
    ].
ca
parents: 90
diff changeset
   181
ca
parents: 90
diff changeset
   182
    super closeRequest
ca
parents: 90
diff changeset
   183
ca
parents: 90
diff changeset
   184
ca
parents: 90
diff changeset
   185
!
ca
parents: 90
diff changeset
   186
ca
parents: 90
diff changeset
   187
initialize
ca
parents: 90
diff changeset
   188
    super initialize.
ca
parents: 90
diff changeset
   189
    modified := false.
ca
parents: 90
diff changeset
   190
!
ca
parents: 90
diff changeset
   191
ca
parents: 90
diff changeset
   192
origin:anOrigin corner:aCorner in:aTopview
ca
parents: 90
diff changeset
   193
    window := SimpleView origin:anOrigin corner:aCorner in:aTopview
ca
parents: 90
diff changeset
   194
ca
parents: 90
diff changeset
   195
! !
ca
parents: 90
diff changeset
   196
ca
parents: 90
diff changeset
   197
!UIPropertyView::Dimension class methodsFor:'interface specs'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   198
7276365d9311 intitial checkin
ca
parents:
diff changeset
   199
specificationAlignmentOrigin
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   200
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   201
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   202
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   203
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   204
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   205
    "
111
ca
parents: 90
diff changeset
   206
     UIPainter new openOnClass:UIPropertyView::Dimension andSelector:#specificationAlignmentOrigin
ca
parents: 90
diff changeset
   207
     UIPropertyView::Dimension new openInterface:#specificationAlignmentOrigin
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   208
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   209
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   210
    <resource: #canvas>
7276365d9311 intitial checkin
ca
parents:
diff changeset
   211
7276365d9311 intitial checkin
ca
parents:
diff changeset
   212
    ^
111
ca
parents: 90
diff changeset
   213
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   214
       #(#FullSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   215
          #'window:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   216
           #(#WindowSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   217
              #'name:' 'uIPainterView'
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   218
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
7276365d9311 intitial checkin
ca
parents:
diff changeset
   219
              #'label:' 'unnamed'
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   220
              #'bounds:' #(#Rectangle 0 0 250 365)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   221
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   222
          #'component:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   223
           #(#SpecCollection
7276365d9311 intitial checkin
ca
parents:
diff changeset
   224
              #'collection:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   225
               #(
7276365d9311 intitial checkin
ca
parents:
diff changeset
   226
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   227
                    #'name:' 'label2'
111
ca
parents: 90
diff changeset
   228
                    #'layout:' #(#AlignmentOrigin 49 0 68 0 1 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   229
                    #'label:' 'top'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   230
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   231
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   232
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   233
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   234
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   235
                    #'name:' 'label3'
111
ca
parents: 90
diff changeset
   236
                    #'layout:' #(#Point 58 13)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   237
                    #'label:' 'relative'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   238
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   239
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   240
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   241
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   242
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   243
                    #'name:' 'label4'
111
ca
parents: 90
diff changeset
   244
                    #'layout:' #(#Point 154 14)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   245
                    #'label:' 'offset'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   246
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   247
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   248
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   249
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   250
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   251
                    #'name:' 'label5'
111
ca
parents: 90
diff changeset
   252
                    #'layout:' #(#AlignmentOrigin 63 0 140 0 1 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   253
                    #'label:' 'align H'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   254
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   255
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   256
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   257
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   258
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   259
                    #'name:' 'label6'
111
ca
parents: 90
diff changeset
   260
                    #'layout:' #(#AlignmentOrigin 63 0 166 0 1 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   261
                    #'label:' 'align V'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   262
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   263
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   264
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   265
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   266
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   267
                    #'name:' 'editField1'
111
ca
parents: 90
diff changeset
   268
                    #'layout:' #(#LayoutFrame 58 0 41 0 115 0 59 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   269
                    #'model:' #leftFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   270
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   271
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   272
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   273
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   274
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   275
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   276
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   277
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   278
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   279
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   280
                    #'name:' 'editField2'
111
ca
parents: 90
diff changeset
   281
                    #'layout:' #(#LayoutFrame 58 0 68 0 115 0 86 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   282
                    #'model:' #topFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   283
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   284
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   285
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   286
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   287
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   288
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   289
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   290
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   291
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   292
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   293
                    #'name:' 'editField5'
111
ca
parents: 90
diff changeset
   294
                    #'layout:' #(#LayoutFrame 68 0 140 0 125 0 158 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   295
                    #'model:' #leftAlignmentFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   296
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   297
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   298
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   299
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   300
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   301
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   302
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   303
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   304
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   305
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   306
                    #'name:' 'editField6'
111
ca
parents: 90
diff changeset
   307
                    #'layout:' #(#LayoutFrame 68 0 166 0 125 0 184 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   308
                    #'model:' #topAlignmentFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   309
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   310
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   311
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   312
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   313
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   314
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   315
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   316
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   317
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   318
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   319
                    #'name:' 'editField3'
111
ca
parents: 90
diff changeset
   320
                    #'layout:' #(#LayoutFrame 154 0 41 0 212 0 59 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   321
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   322
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   323
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   324
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   325
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   326
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   327
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   328
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   329
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   330
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   331
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   332
                    #'name:' 'editField4'
111
ca
parents: 90
diff changeset
   333
                    #'layout:' #(#LayoutFrame 154 0 68 0 212 0 86 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   334
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   335
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   336
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   337
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   338
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   339
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   340
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   341
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   342
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   343
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   344
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   345
                    #'name:' 'button1'
111
ca
parents: 90
diff changeset
   346
                    #'layout:' #(#LayoutFrame 119 0 41 0 138 0 59 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   347
                    #'label:' ''
7276365d9311 intitial checkin
ca
parents:
diff changeset
   348
                    #'model:' #makeRelativeLeft
111
ca
parents: 90
diff changeset
   349
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   350
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   351
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   352
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   353
                    #'name:' 'button2'
111
ca
parents: 90
diff changeset
   354
                    #'layout:' #(#LayoutFrame 119 0 68 0 138 0 86 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   355
                    #'label:' ''
7276365d9311 intitial checkin
ca
parents:
diff changeset
   356
                    #'model:' #makeRelativeTop
111
ca
parents: 90
diff changeset
   357
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   358
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   359
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   360
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   361
                    #'name:' 'button3'
111
ca
parents: 90
diff changeset
   362
                    #'layout:' #(#LayoutFrame 217 0 41 0 236 0 59 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   363
                    #'label:' ''
7276365d9311 intitial checkin
ca
parents:
diff changeset
   364
                    #'model:' #makeOffsetLeft
111
ca
parents: 90
diff changeset
   365
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   366
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   367
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   368
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   369
                    #'name:' 'button4'
111
ca
parents: 90
diff changeset
   370
                    #'layout:' #(#LayoutFrame 217 0 68 0 236 0 86 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   371
                    #'label:' ''
7276365d9311 intitial checkin
ca
parents:
diff changeset
   372
                    #'model:' #makeOffsetTop
111
ca
parents: 90
diff changeset
   373
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   374
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   375
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   376
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   377
                    #'name:' 'button8'
111
ca
parents: 90
diff changeset
   378
                    #'layout:' #(#LayoutFrame 119 0 102 0 138 0 120 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   379
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   380
                    #'model:' #makeRelativeLeftTop
111
ca
parents: 90
diff changeset
   381
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   382
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   383
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   384
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   385
                    #'name:' 'button9'
111
ca
parents: 90
diff changeset
   386
                    #'layout:' #(#LayoutFrame 217 0 102 0 236 0 120 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   387
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   388
                    #'model:' #makeOffsetLeftTop
111
ca
parents: 90
diff changeset
   389
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   390
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   391
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   392
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   393
                    #'name:' 'label7'
111
ca
parents: 90
diff changeset
   394
                    #'layout:' #(#AlignmentOrigin 49 0 102 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   395
                    #'label:' 'all'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   396
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   397
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   398
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   399
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   400
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   401
                    #'name:' 'label1'
111
ca
parents: 90
diff changeset
   402
                    #'layout:' #(#AlignmentOrigin 49 0 41 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   403
                    #'label:' 'left'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   404
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   405
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   406
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   407
                )
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   408
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   409
                    #'name:' 'separator1'
111
ca
parents: 90
diff changeset
   410
                    #'layout:' #(#Rectangle 154 142 203 153)
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   411
                    #'orientation:' #horizontal
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   412
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   413
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   414
                    #'name:' 'separator2'
111
ca
parents: 90
diff changeset
   415
                    #'layout:' #(#Rectangle 154 173 203 184)
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   416
                    #'orientation:' #horizontal
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   417
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   418
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   419
                    #'name:' 'separator3'
111
ca
parents: 90
diff changeset
   420
                    #'layout:' #(#Rectangle 145 152 155 173)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   421
                    #'orientation:' #vertical
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   422
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   423
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   424
                    #'name:' 'separator4'
111
ca
parents: 90
diff changeset
   425
                    #'layout:' #(#Rectangle 203 152 213 173)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   426
                    #'orientation:' #vertical
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   427
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   428
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   429
                    #'name:' 'alignBR'
111
ca
parents: 90
diff changeset
   430
                    #'layout:' #(#Rectangle 201 172 213 184)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   431
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   432
                    #'model:' #makeAlignBottomRight
111
ca
parents: 90
diff changeset
   433
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   434
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   435
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   436
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   437
                    #'name:' 'alignTL'
111
ca
parents: 90
diff changeset
   438
                    #'layout:' #(#Rectangle 145 141 157 153)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   439
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   440
                    #'model:' #makeAlignTopLeft
111
ca
parents: 90
diff changeset
   441
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   442
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   443
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   444
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   445
                    #'name:' 'alignTR'
111
ca
parents: 90
diff changeset
   446
                    #'layout:' #(#Rectangle 201 141 213 153)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   447
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   448
                    #'model:' #makeAlignTopRight
111
ca
parents: 90
diff changeset
   449
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   450
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   451
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   452
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   453
                    #'name:' 'alignBL'
111
ca
parents: 90
diff changeset
   454
                    #'layout:' #(#Rectangle 145 171 157 183)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   455
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   456
                    #'model:' #makeAlignBottomLeft
111
ca
parents: 90
diff changeset
   457
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   458
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   459
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   460
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   461
                    #'name:' 'alignTC'
111
ca
parents: 90
diff changeset
   462
                    #'layout:' #(#Rectangle 173 141 185 153)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   463
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   464
                    #'model:' #makeAlignTopCenter
111
ca
parents: 90
diff changeset
   465
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   466
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   467
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   468
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   469
                    #'name:' 'alignBC'
111
ca
parents: 90
diff changeset
   470
                    #'layout:' #(#Rectangle 173 172 185 184)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   471
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   472
                    #'model:' #makeAlignBottomCenter
111
ca
parents: 90
diff changeset
   473
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   474
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   475
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   476
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   477
                    #'name:' 'alignLC'
111
ca
parents: 90
diff changeset
   478
                    #'layout:' #(#Rectangle 145 156 157 168)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   479
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   480
                    #'model:' #makeAlignLeftCenter
111
ca
parents: 90
diff changeset
   481
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   482
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   483
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   484
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   485
                    #'name:' 'alignRC'
111
ca
parents: 90
diff changeset
   486
                    #'layout:' #(#Rectangle 201 156 213 168)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   487
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   488
                    #'model:' #makeAlignRightCenter
111
ca
parents: 90
diff changeset
   489
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   490
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   491
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   492
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   493
                    #'name:' 'alignC'
111
ca
parents: 90
diff changeset
   494
                    #'layout:' #(#Rectangle 173 156 185 168)
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   495
                    #'label:' ''
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   496
                    #'model:' #makeAlignCenter
111
ca
parents: 90
diff changeset
   497
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   498
                    #'autoRepeat:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   499
                )
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   500
              )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   501
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   502
      )
111
ca
parents: 90
diff changeset
   503
ca
parents: 90
diff changeset
   504
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   505
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
   506
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   507
specificationExtent
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   508
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   509
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   510
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   511
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   512
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   513
    "
111
ca
parents: 90
diff changeset
   514
     UIPainter new openOnClass:UIPropertyView::Dimension andSelector:#specificationExtent
ca
parents: 90
diff changeset
   515
     UIPropertyView::Dimension new openInterface:#specificationExtent
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   516
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   517
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   518
    <resource: #canvas>
7276365d9311 intitial checkin
ca
parents:
diff changeset
   519
7276365d9311 intitial checkin
ca
parents:
diff changeset
   520
    ^
111
ca
parents: 90
diff changeset
   521
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   522
       #(#FullSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   523
          #'window:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   524
           #(#WindowSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   525
              #'name:' 'uIPainterView'
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   526
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
7276365d9311 intitial checkin
ca
parents:
diff changeset
   527
              #'label:' 'unnamed'
111
ca
parents: 90
diff changeset
   528
              #'bounds:' #(#Rectangle 0 0 224 251)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   529
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   530
          #'component:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   531
           #(#SpecCollection
7276365d9311 intitial checkin
ca
parents:
diff changeset
   532
              #'collection:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   533
               #(
7276365d9311 intitial checkin
ca
parents:
diff changeset
   534
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   535
                    #'name:' 'label1'
111
ca
parents: 90
diff changeset
   536
                    #'layout:' #(#AlignmentOrigin 99 0 45 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   537
                    #'label:' 'horizontal:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   538
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   539
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   540
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   541
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   542
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   543
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   544
                    #'name:' 'label2'
111
ca
parents: 90
diff changeset
   545
                    #'layout:' #(#AlignmentOrigin 99 0 72 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   546
                    #'label:' 'vertical:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   547
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   548
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   549
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   550
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   551
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   552
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   553
                    #'name:' 'editField1'
111
ca
parents: 90
diff changeset
   554
                    #'layout:' #(#LayoutFrame 104 0 45 0 197 0 63 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   555
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   556
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   557
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   558
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   559
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   560
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   561
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   562
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   563
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   564
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   565
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   566
                    #'name:' 'editField2'
111
ca
parents: 90
diff changeset
   567
                    #'layout:' #(#LayoutFrame 104 0 72 0 197 0 90 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   568
                    #'model:' #rightOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   569
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   570
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   571
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   572
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   573
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   574
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   575
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   576
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   577
                )
111
ca
parents: 90
diff changeset
   578
                 #(#LabelSpec
ca
parents: 90
diff changeset
   579
                    #'name:' 'extentLabel'
ca
parents: 90
diff changeset
   580
                    #'layout:' #(#LayoutFrame 9 0 20 0 63 0 37 0)
ca
parents: 90
diff changeset
   581
                    #'label:' 'Extent:'
ca
parents: 90
diff changeset
   582
                    #'level:' 0
ca
parents: 90
diff changeset
   583
                    #'adjust:' #center
ca
parents: 90
diff changeset
   584
                    #'hasCharacterOrientedLabel:' true
ca
parents: 90
diff changeset
   585
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   586
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   587
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   588
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   589
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   590
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   591
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   592
specificationLayoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   593
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   594
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   595
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   596
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   597
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   598
    "
111
ca
parents: 90
diff changeset
   599
     UIPainter new openOnClass:UIPropertyView::Dimension andSelector:#specificationLayoutFrame
ca
parents: 90
diff changeset
   600
     UIPropertyView::Dimension new openInterface:#specificationLayoutFrame
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   601
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   602
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   603
    <resource: #canvas>
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   604
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   605
    ^
111
ca
parents: 90
diff changeset
   606
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   607
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   608
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   609
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   610
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   611
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   612
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   613
              #'bounds:' #(#Rectangle 0 0 238 291)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   614
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   615
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   616
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   617
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   618
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   619
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   620
                    #'name:' 'label left'
111
ca
parents: 90
diff changeset
   621
                    #'layout:' #(#AlignmentOrigin 60 0 43 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   622
                    #'label:' 'left'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   623
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   624
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   625
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   626
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   627
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   628
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   629
                    #'name:' 'label top'
111
ca
parents: 90
diff changeset
   630
                    #'layout:' #(#AlignmentOrigin 60 0 71 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   631
                    #'label:' 'top'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   632
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   633
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   634
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   635
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   636
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   637
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   638
                    #'name:' 'label right'
111
ca
parents: 90
diff changeset
   639
                    #'layout:' #(#AlignmentOrigin 60 0 99 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   640
                    #'label:' 'right'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   641
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   642
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   643
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   644
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   645
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   646
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   647
                    #'name:' 'label bottom'
111
ca
parents: 90
diff changeset
   648
                    #'layout:' #(#AlignmentOrigin 60 0 127 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   649
                    #'label:' 'bottom'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   650
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   651
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   652
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   653
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   654
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   655
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   656
                    #'name:' 'label relative'
111
ca
parents: 90
diff changeset
   657
                    #'layout:' #(#Point 65 14)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   658
                    #'label:' 'relative'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   659
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   660
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   661
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   662
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   663
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   664
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   665
                    #'name:' 'label offset'
111
ca
parents: 90
diff changeset
   666
                    #'layout:' #(#Point 159 14)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   667
                    #'label:' 'offset'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   668
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   669
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   670
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   671
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   672
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   673
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   674
                    #'name:' 'label all relative'
111
ca
parents: 90
diff changeset
   675
                    #'layout:' #(#AlignmentOrigin 60 0 161 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   676
                    #'label:' 'all'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   677
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   678
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   679
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   680
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   681
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   682
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   683
                    #'name:' 'relative E1'
111
ca
parents: 90
diff changeset
   684
                    #'layout:' #(#LayoutFrame 65 0 43 0 113 0 61 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   685
                    #'model:' #leftFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   686
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   687
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   688
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   689
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   690
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   691
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   692
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   693
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   694
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   695
                    #'name:' 'relative E2'
111
ca
parents: 90
diff changeset
   696
                    #'layout:' #(#LayoutFrame 65 0 71 0 113 0 89 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   697
                    #'model:' #topFraction
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   698
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   699
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   700
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   701
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   702
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   703
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   704
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   705
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   706
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   707
                    #'name:' 'relative E3'
111
ca
parents: 90
diff changeset
   708
                    #'layout:' #(#LayoutFrame 65 0 99 0 113 0 117 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   709
                    #'model:' #rightFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   710
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   711
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   712
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   713
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   714
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   715
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   716
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   717
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   718
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   719
                    #'name:' 'relative E4'
111
ca
parents: 90
diff changeset
   720
                    #'layout:' #(#LayoutFrame 65 0 127 0 113 0 145 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   721
                    #'model:' #bottomFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   722
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   723
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   724
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   725
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   726
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   727
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   728
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   729
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   730
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   731
                    #'name:' 'offset E1'
111
ca
parents: 90
diff changeset
   732
                    #'layout:' #(#LayoutFrame 159 0 43 0 210 0 61 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   733
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   734
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   735
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   736
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   737
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   738
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   739
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   740
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   741
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   742
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   743
                    #'name:' 'offset E2'
111
ca
parents: 90
diff changeset
   744
                    #'layout:' #(#LayoutFrame 159 0 71 0 210 0 89 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   745
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   746
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   747
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   748
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   749
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   750
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   751
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   752
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   753
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   754
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   755
                    #'name:' 'offset E3'
111
ca
parents: 90
diff changeset
   756
                    #'layout:' #(#LayoutFrame 159 0 99 0 210 0 117 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   757
                    #'model:' #rightOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   758
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   759
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   760
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   761
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   762
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   763
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   764
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   765
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   766
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   767
                    #'name:' 'offset E4'
111
ca
parents: 90
diff changeset
   768
                    #'layout:' #(#LayoutFrame 159 0 127 0 210 0 145 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   769
                    #'model:' #bottomOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   770
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   771
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   772
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   773
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   774
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   775
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   776
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   777
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   778
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   779
                    #'name:' 'relative B1'
111
ca
parents: 90
diff changeset
   780
                    #'layout:' #(#LayoutFrame 117 0 43 0 136 0 61 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   781
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   782
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   783
                    #'model:' #makeRelativeLeft
111
ca
parents: 90
diff changeset
   784
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   785
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   786
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   787
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   788
                    #'name:' 'relative B2'
111
ca
parents: 90
diff changeset
   789
                    #'layout:' #(#LayoutFrame 117 0 71 0 136 0 89 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   790
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   791
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   792
                    #'model:' #makeRelativeTop
111
ca
parents: 90
diff changeset
   793
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   794
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   795
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   796
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   797
                    #'name:' 'relative B3'
111
ca
parents: 90
diff changeset
   798
                    #'layout:' #(#LayoutFrame 117 0 99 0 136 0 117 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   799
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   800
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   801
                    #'model:' #makeRelativeRight
111
ca
parents: 90
diff changeset
   802
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   803
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   804
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   805
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   806
                    #'name:' 'relative B4'
111
ca
parents: 90
diff changeset
   807
                    #'layout:' #(#LayoutFrame 117 0 127 0 136 0 145 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   808
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   809
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   810
                    #'model:' #makeRelativeBottom
111
ca
parents: 90
diff changeset
   811
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   812
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   813
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   814
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   815
                    #'name:' 'relative BAll'
111
ca
parents: 90
diff changeset
   816
                    #'layout:' #(#LayoutFrame 117 0 161 0 136 0 179 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   817
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   818
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   819
                    #'model:' #makeRelativeAll
111
ca
parents: 90
diff changeset
   820
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   821
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   822
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   823
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   824
                    #'name:' 'offset B1'
111
ca
parents: 90
diff changeset
   825
                    #'layout:' #(#LayoutFrame 214 0 43 0 233 0 61 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   826
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   827
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   828
                    #'model:' #makeOffsetLeft
111
ca
parents: 90
diff changeset
   829
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   830
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   831
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   832
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   833
                    #'name:' 'offset B2'
111
ca
parents: 90
diff changeset
   834
                    #'layout:' #(#LayoutFrame 214 0 71 0 233 0 89 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   835
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   836
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   837
                    #'model:' #makeOffsetTop
111
ca
parents: 90
diff changeset
   838
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   839
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   840
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   841
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   842
                    #'name:' 'offset B3'
111
ca
parents: 90
diff changeset
   843
                    #'layout:' #(#LayoutFrame 214 0 99 0 233 0 117 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   844
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   845
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   846
                    #'model:' #makeOffsetRight
111
ca
parents: 90
diff changeset
   847
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   848
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   849
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   850
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   851
                    #'name:' 'offset B4'
111
ca
parents: 90
diff changeset
   852
                    #'layout:' #(#LayoutFrame 214 0 127 0 233 0 145 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   853
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   854
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   855
                    #'model:' #makeOffsetBottom
111
ca
parents: 90
diff changeset
   856
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   857
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   858
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   859
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   860
                    #'name:' 'offset BAll'
111
ca
parents: 90
diff changeset
   861
                    #'layout:' #(#LayoutFrame 214 0 161 0 233 0 179 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   862
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   863
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   864
                    #'model:' #makeOffsetAll
111
ca
parents: 90
diff changeset
   865
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   866
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   867
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   868
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   869
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   870
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   871
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   872
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   873
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   874
specificationLayoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   875
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   876
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   877
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   878
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   879
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   880
    "
111
ca
parents: 90
diff changeset
   881
     UIPainter new openOnClass:UIPropertyView::Dimension andSelector:#specificationLayoutOrigin
ca
parents: 90
diff changeset
   882
     UIPropertyView::Dimension new openInterface:#specificationLayoutOrigin
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   883
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   884
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   885
    <resource: #canvas>
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   886
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   887
    ^
111
ca
parents: 90
diff changeset
   888
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   889
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   890
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   891
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   892
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   893
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   894
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   895
              #'bounds:' #(#Rectangle 0 0 238 303)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   896
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   897
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   898
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   899
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   900
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   901
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   902
                    #'name:' 'label1'
111
ca
parents: 90
diff changeset
   903
                    #'layout:' #(#AlignmentOrigin 52 0 44 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   904
                    #'label:' 'left'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   905
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   906
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   907
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   908
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   909
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   910
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   911
                    #'name:' 'label2'
111
ca
parents: 90
diff changeset
   912
                    #'layout:' #(#AlignmentOrigin 52 0 71 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   913
                    #'label:' 'top'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   914
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   915
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   916
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   917
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   918
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   919
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   920
                    #'name:' 'label3'
111
ca
parents: 90
diff changeset
   921
                    #'layout:' #(#Point 57 12)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   922
                    #'label:' 'relative'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   923
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   924
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   925
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   926
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   927
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   928
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   929
                    #'name:' 'label4'
111
ca
parents: 90
diff changeset
   930
                    #'layout:' #(#Point 154 13)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   931
                    #'label:' 'offset'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   932
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   933
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   934
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   935
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   936
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   937
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   938
                    #'name:' 'editField1'
111
ca
parents: 90
diff changeset
   939
                    #'layout:' #(#LayoutFrame 57 0 44 0 114 0 62 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   940
                    #'model:' #leftFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   941
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   942
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   943
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   944
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   945
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   946
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   947
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   948
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   949
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   950
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   951
                    #'name:' 'editField2'
111
ca
parents: 90
diff changeset
   952
                    #'layout:' #(#LayoutFrame 57 0 71 0 114 0 89 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   953
                    #'model:' #topFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   954
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   955
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   956
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   957
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   958
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   959
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   960
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   961
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   962
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   963
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   964
                    #'name:' 'editField3'
111
ca
parents: 90
diff changeset
   965
                    #'layout:' #(#LayoutFrame 154 0 44 0 212 0 62 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   966
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   967
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   968
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   969
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   970
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   971
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   972
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   973
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   974
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   975
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   976
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   977
                    #'name:' 'editField4'
111
ca
parents: 90
diff changeset
   978
                    #'layout:' #(#LayoutFrame 154 0 71 0 212 0 89 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   979
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   980
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   981
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
   982
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   983
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   984
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   985
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   986
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   987
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   988
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   989
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   990
                    #'name:' 'button1'
111
ca
parents: 90
diff changeset
   991
                    #'layout:' #(#LayoutFrame 119 0 44 0 138 0 62 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   992
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   993
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   994
                    #'model:' #makeRelativeLeft
111
ca
parents: 90
diff changeset
   995
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
   996
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   997
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   998
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   999
                    #'name:' 'button2'
111
ca
parents: 90
diff changeset
  1000
                    #'layout:' #(#LayoutFrame 119 0 71 0 138 0 89 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1001
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1002
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1003
                    #'model:' #makeRelativeTop
111
ca
parents: 90
diff changeset
  1004
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
  1005
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1006
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1007
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1008
                    #'name:' 'button3'
111
ca
parents: 90
diff changeset
  1009
                    #'layout:' #(#LayoutFrame 216 0 44 0 235 0 62 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1010
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1011
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1012
                    #'model:' #makeOffsetLeft
111
ca
parents: 90
diff changeset
  1013
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
  1014
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1015
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1016
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1017
                    #'name:' 'button4'
111
ca
parents: 90
diff changeset
  1018
                    #'layout:' #(#LayoutFrame 216 0 71 0 235 0 89 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1019
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1020
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1021
                    #'model:' #makeOffsetTop
111
ca
parents: 90
diff changeset
  1022
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
  1023
                    #'autoRepeat:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1024
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1025
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1026
                    #'name:' 'button8'
111
ca
parents: 90
diff changeset
  1027
                    #'layout:' #(#LayoutFrame 119 0 103 0 138 0 121 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1028
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1029
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1030
                    #'model:' #makeRelativeLeftTop
111
ca
parents: 90
diff changeset
  1031
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
  1032
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1033
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1034
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1035
                    #'name:' 'button9'
111
ca
parents: 90
diff changeset
  1036
                    #'layout:' #(#LayoutFrame 216 0 103 0 235 0 121 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1037
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1038
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1039
                    #'model:' #makeOffsetLeftTop
111
ca
parents: 90
diff changeset
  1040
                    #'isTriggerOnDown:' false
ca
parents: 90
diff changeset
  1041
                    #'autoRepeat:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1042
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1043
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1044
                    #'name:' 'label5'
111
ca
parents: 90
diff changeset
  1045
                    #'layout:' #(#AlignmentOrigin 52 0 103 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1046
                    #'label:' 'all'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1047
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1048
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1049
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1050
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1051
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1052
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1053
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1054
      )
111
ca
parents: 90
diff changeset
  1055
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1056
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1057
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1058
specificationPoint
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1059
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1060
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1061
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1062
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1063
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1064
    "
111
ca
parents: 90
diff changeset
  1065
     UIPainter new openOnClass:UIPropertyView::Dimension andSelector:#specificationPoint
ca
parents: 90
diff changeset
  1066
     UIPropertyView::Dimension new openInterface:#specificationPoint
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1067
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1068
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1069
    <resource: #canvas>
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1070
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1071
    ^
111
ca
parents: 90
diff changeset
  1072
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1073
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1074
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1075
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1076
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1077
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1078
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1079
              #'bounds:' #(#Rectangle 0 0 238 303)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1080
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1081
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1082
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1083
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1084
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1085
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1086
                    #'name:' 'label1'
111
ca
parents: 90
diff changeset
  1087
                    #'layout:' #(#AlignmentOrigin 75 0 19 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1088
                    #'label:' 'origin x:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1089
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1090
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1091
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1092
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1093
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1094
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1095
                    #'name:' 'label2'
111
ca
parents: 90
diff changeset
  1096
                    #'layout:' #(#AlignmentOrigin 75 0 46 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1097
                    #'label:' 'origin y:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1098
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1099
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1100
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1101
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1102
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1103
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1104
                    #'name:' 'editField1'
111
ca
parents: 90
diff changeset
  1105
                    #'layout:' #(#LayoutFrame 77 0 19 0 170 0 37 0)
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1106
                    #'model:' #absLeft
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1107
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1108
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
  1109
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1110
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1111
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1112
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1113
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1114
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1115
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1116
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1117
                    #'name:' 'editField2'
111
ca
parents: 90
diff changeset
  1118
                    #'layout:' #(#LayoutFrame 77 0 46 0 170 0 64 0)
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1119
                    #'model:' #absTop
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1120
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1121
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
  1122
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1123
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1124
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1125
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1126
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1127
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1128
                )
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1129
              )
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1130
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1131
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1132
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1133
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1134
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1135
specificationRectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1136
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1137
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1138
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1139
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1140
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1141
    "
111
ca
parents: 90
diff changeset
  1142
     UIPainter new openOnClass:UIPropertyView::Dimension andSelector:#specificationRectangle
ca
parents: 90
diff changeset
  1143
     UIPropertyView::Dimension new openInterface:#specificationRectangle
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1144
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1145
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1146
    <resource: #canvas>
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1147
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1148
    ^
111
ca
parents: 90
diff changeset
  1149
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1150
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1151
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1152
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1153
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1154
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1155
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1156
              #'bounds:' #(#Rectangle 0 0 238 303)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1157
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1158
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1159
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1160
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1161
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1162
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1163
                    #'name:' 'label1'
111
ca
parents: 90
diff changeset
  1164
                    #'layout:' #(#AlignmentOrigin 80 0 19 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1165
                    #'label:' 'origin x:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1166
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1167
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1168
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1169
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1170
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1171
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1172
                    #'name:' 'label2'
111
ca
parents: 90
diff changeset
  1173
                    #'layout:' #(#AlignmentOrigin 80 0 46 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1174
                    #'label:' 'origin y:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1175
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1176
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1177
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1178
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1179
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1180
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1181
                    #'name:' 'editField1'
111
ca
parents: 90
diff changeset
  1182
                    #'layout:' #(#LayoutFrame 81 0 19 0 174 0 37 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1183
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1184
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1185
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
  1186
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1187
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1188
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1189
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1190
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1191
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1192
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1193
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1194
                    #'name:' 'editField2'
111
ca
parents: 90
diff changeset
  1195
                    #'layout:' #(#LayoutFrame 81 0 46 0 174 0 64 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1196
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1197
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1198
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
  1199
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1200
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1201
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1202
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1203
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1204
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1205
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1206
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1207
                    #'name:' 'label4'
111
ca
parents: 90
diff changeset
  1208
                    #'layout:' #(#AlignmentOrigin 80 0 74 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1209
                    #'label:' 'corner x:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1210
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1211
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1212
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1213
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1214
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1215
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1216
                    #'name:' 'label5'
111
ca
parents: 90
diff changeset
  1217
                    #'layout:' #(#AlignmentOrigin 80 0 101 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1218
                    #'label:' 'corner y:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1219
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1220
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1221
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1222
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1223
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1224
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1225
                    #'name:' 'editField3'
111
ca
parents: 90
diff changeset
  1226
                    #'layout:' #(#LayoutFrame 81 0 74 0 174 0 92 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1227
                    #'model:' #rightOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1228
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1229
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
  1230
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1231
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1232
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1233
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1234
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1235
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1236
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1237
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1238
                    #'name:' 'editField4'
111
ca
parents: 90
diff changeset
  1239
                    #'layout:' #(#LayoutFrame 81 0 101 0 174 0 119 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1240
                    #'model:' #bottomOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1241
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1242
                    #'type:' #numberOrNil
111
ca
parents: 90
diff changeset
  1243
                    #'immediateAccept:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1244
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1245
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1246
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1247
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1248
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1249
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1250
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1251
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1252
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1253
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1254
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1255
111
ca
parents: 90
diff changeset
  1256
!UIPropertyView::Dimension methodsFor:'accessing'!
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1257
111
ca
parents: 90
diff changeset
  1258
forView:aView
ca
parents: 90
diff changeset
  1259
    "set the view the layout derives from
ca
parents: 90
diff changeset
  1260
    "
ca
parents: 90
diff changeset
  1261
    forView   := aView.
ca
parents: 90
diff changeset
  1262
    selection := nil.
ca
parents: 90
diff changeset
  1263
    self selection:(UIPainterView layoutType:forView)
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1264
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1265
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1266
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1267
111
ca
parents: 90
diff changeset
  1268
layout
ca
parents: 90
diff changeset
  1269
    "returns current layout
ca
parents: 90
diff changeset
  1270
    "
ca
parents: 90
diff changeset
  1271
    |layout|
ca
parents: 90
diff changeset
  1272
ca
parents: 90
diff changeset
  1273
    selection notNil ifTrue:[
ca
parents: 90
diff changeset
  1274
        layout := self perform:(('get', selection asString) asSymbol).
ca
parents: 90
diff changeset
  1275
    ].
ca
parents: 90
diff changeset
  1276
    ^ layout
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1277
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1278
111
ca
parents: 90
diff changeset
  1279
layoutType
ca
parents: 90
diff changeset
  1280
    "returns current layoutType
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1281
    "
111
ca
parents: 90
diff changeset
  1282
    ^ selection
ca
parents: 90
diff changeset
  1283
! !
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1284
111
ca
parents: 90
diff changeset
  1285
!UIPropertyView::Dimension methodsFor:'accessing hierarchy'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1286
111
ca
parents: 90
diff changeset
  1287
window
ca
parents: 90
diff changeset
  1288
    ^ noteBook
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1289
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1290
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1291
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1292
111
ca
parents: 90
diff changeset
  1293
!UIPropertyView::Dimension methodsFor:'initialization'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1294
111
ca
parents: 90
diff changeset
  1295
initialize
ca
parents: 90
diff changeset
  1296
    "initialize channels
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1297
    "
111
ca
parents: 90
diff changeset
  1298
    |layoutAspects|
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1299
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1300
    super initialize.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1301
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1302
    layoutAspects := IdentityDictionary new.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1303
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1304
    #(  bottomFraction          bottomOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1305
        leftFraction            leftOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1306
        topFraction             topOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1307
        rightFraction           rightOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1308
        leftAlignmentFraction   topAlignmentFraction
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1309
        absLeft                 absTop               
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1310
    )
111
ca
parents: 90
diff changeset
  1311
    do:[:aKey|
ca
parents: 90
diff changeset
  1312
        layoutAspects at:aKey put:(ValueHolder new)
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1313
    ].
111
ca
parents: 90
diff changeset
  1314
    self aspects:layoutAspects.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1315
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1316
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1317
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1318
111
ca
parents: 90
diff changeset
  1319
origin:anOrigin corner:aCorner in:aTopView
ca
parents: 90
diff changeset
  1320
    "set dimensions
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1321
    "
111
ca
parents: 90
diff changeset
  1322
    noteBook := NoteBookView origin:anOrigin corner:aCorner in:aTopView.
ca
parents: 90
diff changeset
  1323
    window   := noteBook canvas.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1324
111
ca
parents: 90
diff changeset
  1325
    noteBook direction:#bottom.
ca
parents: 90
diff changeset
  1326
    noteBook useIndex:true.
ca
parents: 90
diff changeset
  1327
    layoutTypes := #( #LayoutFrame #AlignmentOrigin #LayoutOrigin #Point #Rectangle ).     
ca
parents: 90
diff changeset
  1328
    noteBook list:#( 'Frame' 'Alig.Origin' 'LayoutOrigin' 'Point' 'Rectangle' ).
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1329
111
ca
parents: 90
diff changeset
  1330
    noteBook action:[:anIndex|
ca
parents: 90
diff changeset
  1331
        anIndex notNil ifTrue:[self selection:(layoutTypes at:anIndex)].
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1332
    ].
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1333
111
ca
parents: 90
diff changeset
  1334
! !
ca
parents: 90
diff changeset
  1335
ca
parents: 90
diff changeset
  1336
!UIPropertyView::Dimension methodsFor:'layout access'!
ca
parents: 90
diff changeset
  1337
ca
parents: 90
diff changeset
  1338
getAlignmentOrigin
ca
parents: 90
diff changeset
  1339
    "returns current layout as alignmentOrigin
ca
parents: 90
diff changeset
  1340
    "
ca
parents: 90
diff changeset
  1341
    |layout|
ca
parents: 90
diff changeset
  1342
ca
parents: 90
diff changeset
  1343
    layout  := AlignmentOrigin new.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1344
111
ca
parents: 90
diff changeset
  1345
    layout   leftOffset:((aspects at:#leftOffset)   value) ? 0.
ca
parents: 90
diff changeset
  1346
    layout    topOffset:((aspects at:#topOffset)    value) ? 0.
ca
parents: 90
diff changeset
  1347
    layout leftFraction:((aspects at:#leftFraction) value) ? 0.
ca
parents: 90
diff changeset
  1348
    layout  topFraction:((aspects at:#topFraction)  value) ? 0.
ca
parents: 90
diff changeset
  1349
ca
parents: 90
diff changeset
  1350
    layout leftAlignmentFraction:((aspects at:#leftAlignmentFraction) value) ? 0.
ca
parents: 90
diff changeset
  1351
    layout  topAlignmentFraction:((aspects at:#topAlignmentFraction)  value) ? 0.
ca
parents: 90
diff changeset
  1352
ca
parents: 90
diff changeset
  1353
  ^ layout
ca
parents: 90
diff changeset
  1354
!
ca
parents: 90
diff changeset
  1355
ca
parents: 90
diff changeset
  1356
getExtent
ca
parents: 90
diff changeset
  1357
    "returns current extent
ca
parents: 90
diff changeset
  1358
    "
ca
parents: 90
diff changeset
  1359
  ^ Point x:(((aspects at:#leftOffset)   value) ? 0)
ca
parents: 90
diff changeset
  1360
          y:(((aspects at:#rightOffset)  value) ? 0)
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1361
!
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1362
111
ca
parents: 90
diff changeset
  1363
getLayoutFrame
ca
parents: 90
diff changeset
  1364
    "returns current layout as layoutFrame
ca
parents: 90
diff changeset
  1365
    "
ca
parents: 90
diff changeset
  1366
    |layout|
ca
parents: 90
diff changeset
  1367
ca
parents: 90
diff changeset
  1368
    layout  := LayoutFrame new.
ca
parents: 90
diff changeset
  1369
ca
parents: 90
diff changeset
  1370
    layout     leftOffset:((aspects at:#leftOffset)     value) ? 0.
ca
parents: 90
diff changeset
  1371
    layout    rightOffset:((aspects at:#rightOffset)    value) ? 0.
ca
parents: 90
diff changeset
  1372
    layout      topOffset:((aspects at:#topOffset)      value) ? 0.
ca
parents: 90
diff changeset
  1373
    layout   bottomOffset:((aspects at:#bottomOffset)   value) ? 0.
ca
parents: 90
diff changeset
  1374
    layout   leftFraction:((aspects at:#leftFraction)   value) ? 0.
ca
parents: 90
diff changeset
  1375
    layout  rightFraction:((aspects at:#rightFraction)  value) ? 0.
ca
parents: 90
diff changeset
  1376
    layout    topFraction:((aspects at:#topFraction)    value) ? 0.
ca
parents: 90
diff changeset
  1377
    layout bottomFraction:((aspects at:#bottomFraction) value) ? 0.
ca
parents: 90
diff changeset
  1378
ca
parents: 90
diff changeset
  1379
  ^ layout
ca
parents: 90
diff changeset
  1380
!
ca
parents: 90
diff changeset
  1381
ca
parents: 90
diff changeset
  1382
getLayoutOrigin
ca
parents: 90
diff changeset
  1383
    "returns current layout as layoutOrigin
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1384
    "
111
ca
parents: 90
diff changeset
  1385
    |layout|
ca
parents: 90
diff changeset
  1386
ca
parents: 90
diff changeset
  1387
    layout  := LayoutOrigin new.
ca
parents: 90
diff changeset
  1388
ca
parents: 90
diff changeset
  1389
    layout   leftOffset:((aspects at:#leftOffset)   value) ? 0.
ca
parents: 90
diff changeset
  1390
    layout    topOffset:((aspects at:#topOffset)    value) ? 0.
ca
parents: 90
diff changeset
  1391
    layout leftFraction:((aspects at:#leftFraction) value) ? 0.
ca
parents: 90
diff changeset
  1392
    layout  topFraction:((aspects at:#topFraction)  value) ? 0.
ca
parents: 90
diff changeset
  1393
ca
parents: 90
diff changeset
  1394
  ^ layout
ca
parents: 90
diff changeset
  1395
!
ca
parents: 90
diff changeset
  1396
ca
parents: 90
diff changeset
  1397
getPoint
ca
parents: 90
diff changeset
  1398
    "returns current layout as point
ca
parents: 90
diff changeset
  1399
    "
ca
parents: 90
diff changeset
  1400
  ^ Point x:(((aspects at:#absLeft) value) ? 0)
ca
parents: 90
diff changeset
  1401
          y:(((aspects at:#absTop)  value) ? 0)
ca
parents: 90
diff changeset
  1402
!
ca
parents: 90
diff changeset
  1403
ca
parents: 90
diff changeset
  1404
getRectangle
ca
parents: 90
diff changeset
  1405
    "returns current layout as rectangle
ca
parents: 90
diff changeset
  1406
    "
ca
parents: 90
diff changeset
  1407
  ^ Rectangle left:(((aspects at:#leftOffset)   value) ? 0)
ca
parents: 90
diff changeset
  1408
               top:(((aspects at:#topOffset)    value) ? 0)
ca
parents: 90
diff changeset
  1409
             right:(((aspects at:#rightOffset)  value) ? 0)
ca
parents: 90
diff changeset
  1410
            bottom:(((aspects at:#bottomOffset) value) ? 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1411
! !
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1412
111
ca
parents: 90
diff changeset
  1413
!UIPropertyView::Dimension methodsFor:'layout fetch'!
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1414
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1415
fetchAlignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1416
    "fetch alignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1417
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1418
    |layout type extent|
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1419
111
ca
parents: 90
diff changeset
  1420
    type    := UIPainterView layoutType:forView.
ca
parents: 90
diff changeset
  1421
    layout  := forView geometryLayout.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1422
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1423
    layout isLayout ifTrue:[
111
ca
parents: 90
diff changeset
  1424
        (aspects at:#leftOffset)   value:(layout leftOffset).
ca
parents: 90
diff changeset
  1425
        (aspects at:#leftFraction) value:(layout leftFraction).
ca
parents: 90
diff changeset
  1426
        (aspects at:#topOffset)    value:(layout topOffset).
ca
parents: 90
diff changeset
  1427
        (aspects at:#topFraction)  value:(layout topFraction).
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1428
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1429
        type == #AlignmentOrigin ifTrue:[
111
ca
parents: 90
diff changeset
  1430
            (aspects at:#leftAlignmentFraction) value:(layout leftAlignmentFraction).
ca
parents: 90
diff changeset
  1431
            (aspects at:#topAlignmentFraction)  value:(layout topAlignmentFraction).
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1432
          ^ self
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1433
        ]
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1434
    ] ifFalse:[
111
ca
parents: 90
diff changeset
  1435
        layout := forView computeOrigin.
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1436
111
ca
parents: 90
diff changeset
  1437
        (aspects at:#leftOffset)   value:(layout x).
ca
parents: 90
diff changeset
  1438
        (aspects at:#leftFraction) value:0.
ca
parents: 90
diff changeset
  1439
        (aspects at:#topOffset)    value:(layout y).
ca
parents: 90
diff changeset
  1440
        (aspects at:#topFraction)  value:0.
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1441
    ].
111
ca
parents: 90
diff changeset
  1442
    (aspects at:#leftAlignmentFraction) value:0.
ca
parents: 90
diff changeset
  1443
    (aspects at:#topAlignmentFraction)  value:0.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1444
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1445
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1446
fetchExtent
111
ca
parents: 90
diff changeset
  1447
    "fetch extent
ca
parents: 90
diff changeset
  1448
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1449
    |extent|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1450
111
ca
parents: 90
diff changeset
  1451
    extent  := forView computeExtent.
ca
parents: 90
diff changeset
  1452
ca
parents: 90
diff changeset
  1453
    (aspects at:#leftOff