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