UIPropertyView.st
author ca
Tue, 04 Mar 1997 14:23:26 +0100
changeset 80 3316c52ef2b7
parent 78 a0a00603a8b6
child 83 d9377c397262
permissions -rw-r--r--
write back specification to properties after undo modification of a spec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
     1
ApplicationModel subclass:#UIPropertyView
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
     2
	instanceVariableNames:'builderView modified currentView shownSpec propertyAspects
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
     3
		layoutAspects layoutType specBeingEdited specChannel
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
     4
		propertySelection'
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
     5
	classVariableNames:''
7276365d9311 intitial checkin
ca
parents:
diff changeset
     6
	poolDictionaries:''
7276365d9311 intitial checkin
ca
parents:
diff changeset
     7
	category:'Interface-UIPainter'
7276365d9311 intitial checkin
ca
parents:
diff changeset
     8
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
     9
7276365d9311 intitial checkin
ca
parents:
diff changeset
    10
7276365d9311 intitial checkin
ca
parents:
diff changeset
    11
!UIPropertyView class methodsFor:'instance creation'!
7276365d9311 intitial checkin
ca
parents:
diff changeset
    12
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    13
in:aTopView builder:aBuilderView
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    14
    |application|
7276365d9311 intitial checkin
ca
parents:
diff changeset
    15
7276365d9311 intitial checkin
ca
parents:
diff changeset
    16
    application := self new.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    17
    application in:aTopView builder:aBuilderView.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    18
  ^ application
7276365d9311 intitial checkin
ca
parents:
diff changeset
    19
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
    20
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
    21
!UIPropertyView class methodsFor:'constants'!
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
    22
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
    23
titleOfLayoutMenu
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
    24
    ^ 'Dimension'
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
    25
! !
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
    26
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    27
!UIPropertyView class methodsFor:'interface specs'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    28
7276365d9311 intitial checkin
ca
parents:
diff changeset
    29
specificationAlignmentOrigin
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    30
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    31
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    32
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    33
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    34
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    35
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    36
     UIPainter new openOnClass:UIPropertyView andSelector:#specificationAlignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    37
     UIPropertyView new openInterface:#specificationAlignmentOrigin
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    38
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    39
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    40
    <resource: #canvas>
7276365d9311 intitial checkin
ca
parents:
diff changeset
    41
7276365d9311 intitial checkin
ca
parents:
diff changeset
    42
    ^
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    43
     
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    44
       #(#FullSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
    45
          #'window:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
    46
           #(#WindowSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    47
              #'name:' 'uIPainterView'
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    48
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
7276365d9311 intitial checkin
ca
parents:
diff changeset
    49
              #'label:' 'unnamed'
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
    50
              #'bounds:' #(#Rectangle 0 0 250 365)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    51
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
    52
          #'component:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
    53
           #(#SpecCollection
7276365d9311 intitial checkin
ca
parents:
diff changeset
    54
              #'collection:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
    55
               #(
7276365d9311 intitial checkin
ca
parents:
diff changeset
    56
                 #(#LabelSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    57
                    #'name:' 'label9'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
    58
                    #'layout:' #(#AlignmentOrigin 76 0 7 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    59
                    #'label:' 'Layout:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    60
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
    61
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    62
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    63
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    64
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    65
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    66
                 #(#PopUpListSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    67
                    #'name:' 'popUpList1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
    68
                    #'layout:' #(#LayoutFrame 79 0.0 7 0 -6 1.0 30 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    69
                    #'label:' 'popup'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    70
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
    71
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    72
                    #'model:' #layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    73
                    #'menu:' #layoutTypeList
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    74
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
    75
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
    76
                    #'name:' 'label2'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
    77
                    #'layout:' #(#AlignmentOrigin 49 0 103 0 1 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    78
                    #'label:' 'top'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    79
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
    80
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    81
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
    82
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    83
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    84
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
    85
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
    86
                    #'name:' 'label3'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
    87
                    #'layout:' #(#Point 58 48)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    88
                    #'label:' 'relative'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    89
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
    90
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    91
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    92
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    93
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    94
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
    95
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
    96
                    #'name:' 'label4'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
    97
                    #'layout:' #(#Point 154 49)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
    98
                    #'label:' 'offset'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
    99
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   100
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   101
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   102
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   103
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   104
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   105
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   106
                    #'name:' 'label5'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   107
                    #'layout:' #(#AlignmentOrigin 63 0 175 0 1 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   108
                    #'label:' 'align H'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   109
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   110
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   111
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   112
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   113
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   114
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   115
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   116
                    #'name:' 'label6'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   117
                    #'layout:' #(#AlignmentOrigin 63 0 201 0 1 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   118
                    #'label:' 'align V'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   119
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   120
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   121
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   122
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   123
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   124
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   125
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   126
                    #'name:' 'editField1'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   127
                    #'layout:' #(#LayoutFrame 58 0 76 0 115 0 94 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   128
                    #'model:' #leftFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   129
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   130
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   131
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   132
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   133
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   134
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   135
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   136
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   137
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   138
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   139
                    #'name:' 'editField2'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   140
                    #'layout:' #(#LayoutFrame 58 0 103 0 115 0 121 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   141
                    #'model:' #topFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   142
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   143
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   144
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   145
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   146
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   147
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   148
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   149
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   150
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   151
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   152
                    #'name:' 'editField5'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   153
                    #'layout:' #(#LayoutFrame 68 0 175 0 125 0 193 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   154
                    #'model:' #leftAlignmentFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   155
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   156
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   157
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   158
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   159
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   160
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   161
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   162
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   163
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   164
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   165
                    #'name:' 'editField6'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   166
                    #'layout:' #(#LayoutFrame 68 0 201 0 125 0 219 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   167
                    #'model:' #topAlignmentFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   168
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   169
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   170
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   171
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   172
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   173
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   174
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   175
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   176
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   177
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   178
                    #'name:' 'editField3'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   179
                    #'layout:' #(#LayoutFrame 154 0 76 0 212 0 94 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   180
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   181
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   182
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   183
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   184
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   185
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   186
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   187
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   188
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   189
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   190
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   191
                    #'name:' 'editField4'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   192
                    #'layout:' #(#LayoutFrame 154 0 103 0 212 0 121 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   193
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   194
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   195
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   196
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   197
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   198
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   199
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   200
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   201
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   202
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   203
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   204
                    #'name:' 'button1'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   205
                    #'layout:' #(#LayoutFrame 119 0 76 0 138 0 94 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   206
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   207
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   208
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   209
                    #'model:' #makeRelativeLeft
7276365d9311 intitial checkin
ca
parents:
diff changeset
   210
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   211
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   212
                    #'name:' 'button2'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   213
                    #'layout:' #(#LayoutFrame 119 0 103 0 138 0 121 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   214
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   215
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   216
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   217
                    #'model:' #makeRelativeTop
7276365d9311 intitial checkin
ca
parents:
diff changeset
   218
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   219
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   220
                    #'name:' 'button3'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   221
                    #'layout:' #(#LayoutFrame 217 0 76 0 236 0 94 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   222
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   223
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   224
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   225
                    #'model:' #makeOffsetLeft
7276365d9311 intitial checkin
ca
parents:
diff changeset
   226
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   227
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   228
                    #'name:' 'button4'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   229
                    #'layout:' #(#LayoutFrame 217 0 103 0 236 0 121 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   230
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   231
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   232
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   233
                    #'model:' #makeOffsetTop
7276365d9311 intitial checkin
ca
parents:
diff changeset
   234
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   235
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   236
                    #'name:' 'button8'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   237
                    #'layout:' #(#LayoutFrame 119 0 137 0 138 0 155 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   238
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   239
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   240
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   241
                    #'model:' #makeRelativeLeftTop
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   242
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   243
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   244
                    #'name:' 'button9'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   245
                    #'layout:' #(#LayoutFrame 217 0 137 0 236 0 155 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   246
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   247
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   248
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   249
                    #'model:' #makeOffsetLeftTop
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   250
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   251
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   252
                    #'name:' 'label7'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   253
                    #'layout:' #(#AlignmentOrigin 49 0 137 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   254
                    #'label:' 'all'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   255
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   256
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   257
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   258
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   259
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   260
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   261
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   262
                    #'name:' 'label1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   263
                    #'layout:' #(#AlignmentOrigin 49 0 76 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   264
                    #'label:' 'left'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   265
                    #'initiallyInvisible:' false
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   266
                    #'translateLabel:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   267
                    #'level:' 0
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   268
                    #'adjust:' #right
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   269
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   270
                )
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   271
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   272
                    #'name:' 'separator1'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   273
                    #'layout:' #(#Rectangle 154 177 203 188)
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   274
                    #'orientation:' #horizontal
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   275
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   276
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   277
                    #'name:' 'separator2'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   278
                    #'layout:' #(#Rectangle 154 208 203 219)
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   279
                    #'orientation:' #horizontal
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   280
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   281
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   282
                    #'name:' 'separator3'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   283
                    #'layout:' #(#Rectangle 145 187 155 208)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   284
                    #'orientation:' #vertical
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   285
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   286
                 #(#DividerSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   287
                    #'name:' 'separator4'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   288
                    #'layout:' #(#Rectangle 203 187 213 208)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   289
                    #'orientation:' #vertical
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   290
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   291
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   292
                    #'name:' 'alignBR'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   293
                    #'layout:' #(#Rectangle 201 207 213 219)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   294
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   295
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   296
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   297
                    #'model:' #makeAlignBottomRight
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   298
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   299
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   300
                    #'name:' 'alignTL'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   301
                    #'layout:' #(#Rectangle 145 176 157 188)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   302
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   303
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   304
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   305
                    #'model:' #makeAlignTopLeft
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   306
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   307
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   308
                    #'name:' 'alignTR'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   309
                    #'layout:' #(#Rectangle 201 176 213 188)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   310
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   311
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   312
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   313
                    #'model:' #makeAlignTopRight
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   314
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   315
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   316
                    #'name:' 'alignBL'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   317
                    #'layout:' #(#Rectangle 145 206 157 218)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   318
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   319
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   320
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   321
                    #'model:' #makeAlignBottomLeft
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   322
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   323
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   324
                    #'name:' 'alignTC'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   325
                    #'layout:' #(#Rectangle 173 176 185 188)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   326
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   327
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   328
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   329
                    #'model:' #makeAlignTopCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   330
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   331
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   332
                    #'name:' 'alignBC'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   333
                    #'layout:' #(#Rectangle 173 207 185 219)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   334
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   335
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   336
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   337
                    #'model:' #makeAlignBottomCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   338
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   339
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   340
                    #'name:' 'alignLC'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   341
                    #'layout:' #(#Rectangle 145 191 157 203)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   342
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   343
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   344
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   345
                    #'model:' #makeAlignLeftCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   346
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   347
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   348
                    #'name:' 'alignRC'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   349
                    #'layout:' #(#Rectangle 201 191 213 203)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   350
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   351
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   352
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   353
                    #'model:' #makeAlignRightCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   354
                )
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   355
                 #(#ActionButtonSpec
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   356
                    #'name:' 'alignC'
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   357
                    #'layout:' #(#Rectangle 173 191 185 203)
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   358
                    #'label:' ''
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
   359
                    #'translateLabel:' false
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   360
                    #'tabable:' false
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   361
                    #'model:' #makeAlignCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   362
                )
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   363
              )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   364
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   365
      )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   366
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
   367
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   368
specificationExtent
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   369
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   370
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   371
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   372
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   373
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   374
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   375
     UIPainter new openOnClass:UIPropertyView andSelector:#specificationExtent
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   376
     UIPropertyView new openInterface:#specificationExtent
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   377
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   378
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   379
    <resource: #canvas>
7276365d9311 intitial checkin
ca
parents:
diff changeset
   380
7276365d9311 intitial checkin
ca
parents:
diff changeset
   381
    ^
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   382
     
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   383
       #(#FullSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   384
          #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   385
          #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   386
          #'window:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   387
           #(#WindowSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   388
              #'name:' 'uIPainterView'
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   389
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
7276365d9311 intitial checkin
ca
parents:
diff changeset
   390
              #'label:' 'unnamed'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   391
              #'bounds:' #(#Rectangle 0 0 238 303)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   392
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   393
          #'component:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   394
           #(#SpecCollection
7276365d9311 intitial checkin
ca
parents:
diff changeset
   395
              #'collection:' 
7276365d9311 intitial checkin
ca
parents:
diff changeset
   396
               #(
7276365d9311 intitial checkin
ca
parents:
diff changeset
   397
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   398
                    #'name:' 'label1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   399
                    #'layout:' #(#AlignmentOrigin 99 0 62 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   400
                    #'label:' 'horizontal:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   401
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   402
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   403
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   404
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   405
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   406
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   407
                 #(#LabelSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   408
                    #'name:' 'label2'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   409
                    #'layout:' #(#AlignmentOrigin 99 0 89 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   410
                    #'label:' 'vertical:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   411
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   412
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   413
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   414
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   415
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   416
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   417
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   418
                    #'name:' 'editField1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   419
                    #'layout:' #(#LayoutFrame 104 0 62 0 197 0 80 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   420
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   421
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   422
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   423
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   424
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   425
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   426
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   427
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   428
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   429
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   430
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   431
                    #'name:' 'editField2'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   432
                    #'layout:' #(#LayoutFrame 104 0 89 0 197 0 107 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   433
                    #'model:' #rightOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   434
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   435
                    #'type:' #numberOrNil
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   436
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   437
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   438
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   439
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   440
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   441
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   442
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   443
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   444
                    #'name:' 'label0'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   445
                    #'layout:' #(#Point 16 15)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   446
                    #'label:' 'Extent:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   447
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   448
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   449
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   450
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   451
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   452
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   453
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   454
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   455
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   456
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   457
    "Modified: 28.2.1997 / 13:15:05 / cg"
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   458
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   459
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   460
specificationLayoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   461
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   462
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   463
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   464
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   465
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   466
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   467
     UIPainter new openOnClass:UIPropertyView andSelector:#specificationLayoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   468
     UIPropertyView new openInterface:#specificationLayoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   469
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   470
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   471
    <resource: #canvas>
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   472
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   473
    ^
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   474
     
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   475
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   476
          #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   477
          #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   478
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   479
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   480
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   481
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   482
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   483
              #'bounds:' #(#Rectangle 0 0 238 291)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   484
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   485
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   486
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   487
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   488
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   489
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   490
                    #'name:' 'label0'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   491
                    #'layout:' #(#AlignmentOrigin 71 0 7 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   492
                    #'label:' 'Layout:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   493
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   494
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   495
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   496
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   497
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   498
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   499
                 #(#PopUpListSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   500
                    #'name:' 'popUpList1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   501
                    #'layout:' #(#LayoutFrame 74 0.0 7 0 -4 1.0 30 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   502
                    #'label:' 'popup'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   503
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   504
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   505
                    #'model:' #layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   506
                    #'menu:' #layoutTypeList
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   507
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   508
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   509
                    #'name:' 'label left'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   510
                    #'layout:' #(#AlignmentOrigin 60 0 79 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   511
                    #'label:' 'left'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   512
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   513
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   514
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   515
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   516
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   517
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   518
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   519
                    #'name:' 'label top'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   520
                    #'layout:' #(#AlignmentOrigin 60 0 107 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   521
                    #'label:' 'top'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   522
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   523
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   524
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   525
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   526
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   527
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   528
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   529
                    #'name:' 'label right'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   530
                    #'layout:' #(#AlignmentOrigin 60 0 135 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   531
                    #'label:' 'right'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   532
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   533
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   534
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   535
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   536
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   537
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   538
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   539
                    #'name:' 'label bottom'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   540
                    #'layout:' #(#AlignmentOrigin 60 0 163 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   541
                    #'label:' 'bottom'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   542
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   543
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   544
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   545
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   546
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   547
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   548
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   549
                    #'name:' 'label relative'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   550
                    #'layout:' #(#Point 65 50)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   551
                    #'label:' 'relative'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   552
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   553
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   554
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   555
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   556
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   557
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   558
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   559
                    #'name:' 'label offset'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   560
                    #'layout:' #(#Point 159 50)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   561
                    #'label:' 'offset'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   562
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   563
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   564
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   565
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   566
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   567
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   568
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   569
                    #'name:' 'label all relative'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   570
                    #'layout:' #(#AlignmentOrigin 60 0 197 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   571
                    #'label:' 'all'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   572
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   573
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   574
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   575
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   576
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   577
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   578
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   579
                    #'name:' 'relative E1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   580
                    #'layout:' #(#LayoutFrame 65 0 79 0 113 0 97 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   581
                    #'model:' #leftFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   582
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   583
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   584
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   585
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   586
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   587
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   588
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   589
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   590
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   591
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   592
                    #'name:' 'relative E2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   593
                    #'layout:' #(#LayoutFrame 65 0 107 0 113 0 125 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   594
                    #'model:' #topFraction
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   595
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   596
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   597
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   598
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   599
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   600
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   601
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   602
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   603
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   604
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   605
                    #'name:' 'relative E3'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   606
                    #'layout:' #(#LayoutFrame 65 0 135 0 113 0 153 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   607
                    #'model:' #rightFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   608
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   609
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   610
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   611
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   612
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   613
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   614
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   615
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   616
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   617
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   618
                    #'name:' 'relative E4'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   619
                    #'layout:' #(#LayoutFrame 65 0 163 0 113 0 181 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   620
                    #'model:' #bottomFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   621
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   622
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   623
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   624
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   625
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   626
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   627
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   628
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   629
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   630
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   631
                    #'name:' 'offset E1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   632
                    #'layout:' #(#LayoutFrame 159 0 79 0 210 0 97 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   633
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   634
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   635
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   636
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   637
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   638
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   639
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   640
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   641
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   642
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   643
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   644
                    #'name:' 'offset E2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   645
                    #'layout:' #(#LayoutFrame 159 0 107 0 210 0 125 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   646
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   647
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   648
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   649
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   650
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   651
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   652
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   653
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   654
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   655
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   656
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   657
                    #'name:' 'offset E3'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   658
                    #'layout:' #(#LayoutFrame 159 0 135 0 210 0 153 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   659
                    #'model:' #rightOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   660
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   661
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   662
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   663
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   664
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   665
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   666
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   667
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   668
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   669
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   670
                    #'name:' 'offset E4'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   671
                    #'layout:' #(#LayoutFrame 159 0 163 0 210 0 181 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   672
                    #'model:' #bottomOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   673
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   674
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   675
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   676
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   677
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   678
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   679
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   680
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   681
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   682
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   683
                    #'name:' 'relative B1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   684
                    #'layout:' #(#LayoutFrame 117 0 79 0 136 0 97 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   685
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   686
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   687
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   688
                    #'model:' #makeRelativeLeft
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   689
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   690
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   691
                    #'name:' 'relative B2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   692
                    #'layout:' #(#LayoutFrame 117 0 107 0 136 0 125 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   693
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   694
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   695
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   696
                    #'model:' #makeRelativeTop
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   697
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   698
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   699
                    #'name:' 'relative B3'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   700
                    #'layout:' #(#LayoutFrame 117 0 135 0 136 0 153 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   701
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   702
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   703
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   704
                    #'model:' #makeRelativeRight
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   705
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   706
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   707
                    #'name:' 'relative B4'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   708
                    #'layout:' #(#LayoutFrame 117 0 163 0 136 0 181 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   709
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   710
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   711
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   712
                    #'model:' #makeRelativeBottom
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   713
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   714
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   715
                    #'name:' 'relative BAll'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   716
                    #'layout:' #(#LayoutFrame 117 0 197 0 136 0 215 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   717
                    #'label:' ' '
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
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   720
                    #'model:' #makeRelativeAll
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   721
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   722
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   723
                    #'name:' 'offset B1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   724
                    #'layout:' #(#LayoutFrame 214 0 79 0 233 0 97 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   725
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   726
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   727
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   728
                    #'model:' #makeOffsetLeft
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   729
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   730
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   731
                    #'name:' 'offset B2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   732
                    #'layout:' #(#LayoutFrame 214 0 107 0 233 0 125 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   733
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   734
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   735
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   736
                    #'model:' #makeOffsetTop
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   737
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   738
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   739
                    #'name:' 'offset B3'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   740
                    #'layout:' #(#LayoutFrame 214 0 135 0 233 0 153 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   741
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   742
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   743
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   744
                    #'model:' #makeOffsetRight
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   745
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   746
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   747
                    #'name:' 'offset B4'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   748
                    #'layout:' #(#LayoutFrame 214 0 163 0 233 0 181 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   749
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   750
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   751
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   752
                    #'model:' #makeOffsetBottom
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   753
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   754
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   755
                    #'name:' 'offset BAll'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   756
                    #'layout:' #(#LayoutFrame 214 0 197 0 233 0 215 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   757
                    #'label:' ' '
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   758
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   759
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   760
                    #'model:' #makeOffsetAll
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   761
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   762
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   763
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   764
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   765
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   766
    "Modified: 28.2.1997 / 13:19:49 / cg"
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   767
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   768
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   769
specificationLayoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   770
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   771
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   772
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   773
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   774
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   775
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   776
     UIPainter new openOnClass:UIPropertyView andSelector:#specificationLayoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   777
     UIPropertyView new openInterface:#specificationLayoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   778
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   779
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   780
    <resource: #canvas>
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   781
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   782
    ^
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   783
     
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   784
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   785
          #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   786
          #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   787
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   788
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   789
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   790
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   791
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   792
              #'bounds:' #(#Rectangle 0 0 238 303)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   793
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   794
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   795
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   796
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   797
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   798
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   799
                    #'name:' 'label0'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   800
                    #'layout:' #(#AlignmentOrigin 71 0 7 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   801
                    #'label:' 'Layout:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   802
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   803
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   804
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   805
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   806
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   807
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   808
                 #(#PopUpListSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   809
                    #'name:' 'popUpList1'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   810
                    #'layout:' #(#LayoutFrame 75 0.0 9 0 -5 1.0 32 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   811
                    #'label:' 'popup'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   812
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   813
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   814
                    #'model:' #layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   815
                    #'menu:' #layoutTypeList
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   816
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   817
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   818
                    #'name:' 'label1'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   819
                    #'layout:' #(#AlignmentOrigin 52 0 82 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   820
                    #'label:' 'left'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   821
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   822
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   823
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   824
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   825
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   826
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   827
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   828
                    #'name:' 'label2'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   829
                    #'layout:' #(#AlignmentOrigin 52 0 109 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   830
                    #'label:' 'top'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   831
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   832
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   833
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   834
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   835
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   836
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   837
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   838
                    #'name:' 'label3'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   839
                    #'layout:' #(#Point 57 50)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   840
                    #'label:' 'relative'
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
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   843
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   844
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   845
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   846
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   847
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   848
                    #'name:' 'label4'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
   849
                    #'layout:' #(#Point 154 51)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   850
                    #'label:' 'offset'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   851
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   852
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   853
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   854
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   855
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   856
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   857
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   858
                    #'name:' 'editField1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   859
                    #'layout:' #(#LayoutFrame 57 0 82 0 114 0 100 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   860
                    #'model:' #leftFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   861
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   862
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   863
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   864
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   865
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   866
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   867
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   868
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   869
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   870
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   871
                    #'name:' 'editField2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   872
                    #'layout:' #(#LayoutFrame 57 0 109 0 114 0 127 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   873
                    #'model:' #topFraction
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   874
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   875
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   876
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   877
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   878
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   879
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   880
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   881
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   882
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   883
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   884
                    #'name:' 'editField3'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   885
                    #'layout:' #(#LayoutFrame 154 0 82 0 212 0 100 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   886
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   887
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   888
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   889
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   890
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   891
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   892
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   893
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   894
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   895
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   896
                 #(#InputFieldSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   897
                    #'name:' 'editField4'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   898
                    #'layout:' #(#LayoutFrame 154 0 109 0 212 0 127 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   899
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   900
                    #'tabable:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   901
                    #'type:' #numberOrNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   902
                    #'immediateAccept:' false
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   903
                    #'acceptOnLeave:' true
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   904
                    #'acceptOnReturn:' true
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
   905
                    #'acceptOnTab:' true
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   906
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   907
                    #'hasBorder:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   908
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   909
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   910
                    #'name:' 'button1'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   911
                    #'layout:' #(#LayoutFrame 119 0 82 0 138 0 100 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   912
                    #'label:' ''
62
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
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   915
                    #'model:' #makeRelativeLeft
7276365d9311 intitial checkin
ca
parents:
diff changeset
   916
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   917
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   918
                    #'name:' 'button2'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   919
                    #'layout:' #(#LayoutFrame 119 0 109 0 138 0 127 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   920
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   921
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   922
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   923
                    #'model:' #makeRelativeTop
7276365d9311 intitial checkin
ca
parents:
diff changeset
   924
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   925
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   926
                    #'name:' 'button3'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   927
                    #'layout:' #(#LayoutFrame 216 0 82 0 235 0 100 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   928
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   929
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   930
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   931
                    #'model:' #makeOffsetLeft
7276365d9311 intitial checkin
ca
parents:
diff changeset
   932
                )
7276365d9311 intitial checkin
ca
parents:
diff changeset
   933
                 #(#ActionButtonSpec
7276365d9311 intitial checkin
ca
parents:
diff changeset
   934
                    #'name:' 'button4'
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   935
                    #'layout:' #(#LayoutFrame 216 0 109 0 235 0 127 0)
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   936
                    #'label:' ''
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   937
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   938
                    #'tabable:' false
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   939
                    #'model:' #makeOffsetTop
7276365d9311 intitial checkin
ca
parents:
diff changeset
   940
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   941
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   942
                    #'name:' 'button8'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   943
                    #'layout:' #(#LayoutFrame 119 0 141 0 138 0 159 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   944
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   945
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   946
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   947
                    #'model:' #makeRelativeLeftTop
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   948
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   949
                 #(#ActionButtonSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   950
                    #'name:' 'button9'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   951
                    #'layout:' #(#LayoutFrame 216 0 141 0 235 0 159 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   952
                    #'label:' ''
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   953
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   954
                    #'tabable:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   955
                    #'model:' #makeOffsetLeftTop
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   956
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   957
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   958
                    #'name:' 'label5'
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
   959
                    #'layout:' #(#AlignmentOrigin 52 0 141 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   960
                    #'label:' 'all'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   961
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   962
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   963
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   964
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   965
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
   966
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   967
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   968
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   969
      )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   970
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   971
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   972
specificationPoint
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   973
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   974
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   975
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   976
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   977
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   978
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   979
     UIPainter new openOnClass:UIPropertyView andSelector:#specificationPoint
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   980
     UIPropertyView new openInterface:#specificationPoint
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   981
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   982
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   983
    <resource: #canvas>
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   984
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   985
    ^
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   986
     
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   987
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   988
          #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   989
          #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   990
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   991
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   992
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   993
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   994
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   995
              #'bounds:' #(#Rectangle 0 0 238 303)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   996
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   997
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   998
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
   999
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1000
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1001
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1002
                    #'name:' 'label0'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1003
                    #'layout:' #(#AlignmentOrigin 84 0 7 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1004
                    #'label:' 'Layout:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1005
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1006
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1007
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1008
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1009
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1010
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1011
                 #(#PopUpListSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1012
                    #'name:' 'popUpList1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1013
                    #'layout:' #(#LayoutFrame 93 0.0 7 0 -4 1.0 30 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1014
                    #'label:' 'popup'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1015
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1016
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1017
                    #'model:' #layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1018
                    #'menu:' #layoutTypeList
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1019
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1020
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1021
                    #'name:' 'label1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1022
                    #'layout:' #(#AlignmentOrigin 75 0 62 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1023
                    #'label:' 'origin x:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1024
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1025
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1026
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1027
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1028
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1029
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1030
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1031
                    #'name:' 'label2'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1032
                    #'layout:' #(#AlignmentOrigin 75 0 89 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1033
                    #'label:' 'origin y:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1034
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1035
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1036
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1037
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1038
                    #'hasCharacterOrientedLabel:' true
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1039
                )
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1040
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1041
                    #'name:' 'editField1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1042
                    #'layout:' #(#LayoutFrame 77 0 62 0 170 0 80 0)
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1043
                    #'model:' #absLeft
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1044
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1045
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1046
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1047
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1048
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1049
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1050
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1051
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1052
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1053
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1054
                    #'name:' 'editField2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1055
                    #'layout:' #(#LayoutFrame 77 0 89 0 170 0 107 0)
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1056
                    #'model:' #absTop
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1057
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1058
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1059
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1060
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1061
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1062
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1063
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1064
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1065
                )
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1066
              )
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1067
          )
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1068
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1069
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1070
    "Modified: 28.2.1997 / 13:22:31 / cg"
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1071
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1072
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1073
specificationRectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1074
    "this window spec was automatically generated by the ST/X UIPainter"
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1075
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1076
    "do not manually edit this - the painter/builder may not be able to
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1077
     handle the specification if its corrupted."
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1078
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1079
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1080
     UIPainter new openOnClass:UIPropertyView andSelector:#specificationRectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1081
     UIPropertyView new openInterface:#specificationRectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1082
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1083
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1084
    <resource: #canvas>
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1085
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1086
    ^
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1087
     
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1088
       #(#FullSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1089
          #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1090
          #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1091
          #'window:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1092
           #(#WindowSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1093
              #'name:' 'uIPainterView'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1094
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1095
              #'label:' 'unnamed'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1096
              #'bounds:' #(#Rectangle 0 0 238 303)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1097
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1098
          #'component:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1099
           #(#SpecCollection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1100
              #'collection:' 
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1101
               #(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1102
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1103
                    #'name:' 'label0'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1104
                    #'layout:' #(#AlignmentOrigin 90 0 7 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1105
                    #'label:' 'Layout:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1106
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1107
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1108
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1109
                    #'adjust:' #center
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1110
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1111
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1112
                 #(#PopUpListSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1113
                    #'name:' 'popUpList1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1114
                    #'layout:' #(#LayoutFrame 95 0.0 7 0 -6 1.0 30 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1115
                    #'label:' 'popup'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1116
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1117
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1118
                    #'model:' #layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1119
                    #'menu:' #layoutTypeList
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1120
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1121
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1122
                    #'name:' 'label1'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1123
                    #'layout:' #(#AlignmentOrigin 80 0 62 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1124
                    #'label:' 'origin x:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1125
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1126
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1127
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1128
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1129
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1130
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1131
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1132
                    #'name:' 'label2'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1133
                    #'layout:' #(#AlignmentOrigin 80 0 89 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1134
                    #'label:' 'origin y:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1135
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1136
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1137
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1138
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1139
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1140
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1141
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1142
                    #'name:' 'editField1'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1143
                    #'layout:' #(#LayoutFrame 81 0 62 0 174 0 80 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1144
                    #'model:' #leftOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1145
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1146
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1147
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1148
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1149
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1150
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1151
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1152
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1153
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1154
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1155
                    #'name:' 'editField2'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1156
                    #'layout:' #(#LayoutFrame 81 0 89 0 174 0 107 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1157
                    #'model:' #topOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1158
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1159
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1160
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1161
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1162
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1163
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1164
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1165
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1166
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1167
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1168
                    #'name:' 'label4'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1169
                    #'layout:' #(#AlignmentOrigin 80 0 117 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1170
                    #'label:' 'corner x:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1171
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1172
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1173
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1174
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1175
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1176
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1177
                 #(#LabelSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1178
                    #'name:' 'label5'
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1179
                    #'layout:' #(#AlignmentOrigin 80 0 144 0 1 0)
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1180
                    #'label:' 'corner y:'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1181
                    #'backgroundColor:' #(#Color 66.9993 66.9993 66.9993)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1182
                    #'initiallyInvisible:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1183
                    #'level:' 0
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1184
                    #'adjust:' #left
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1185
                    #'hasCharacterOrientedLabel:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1186
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1187
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1188
                    #'name:' 'editField3'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1189
                    #'layout:' #(#LayoutFrame 81 0 117 0 174 0 135 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1190
                    #'model:' #rightOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1191
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1192
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1193
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1194
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1195
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1196
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1197
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1198
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1199
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1200
                 #(#InputFieldSpec
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1201
                    #'name:' 'editField4'
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1202
                    #'layout:' #(#LayoutFrame 81 0 144 0 174 0 162 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1203
                    #'model:' #bottomOffset
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1204
                    #'tabable:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1205
                    #'type:' #numberOrNil
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1206
                    #'immediateAccept:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1207
                    #'acceptOnLeave:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1208
                    #'acceptOnReturn:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1209
                    #'acceptOnTab:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1210
                    #'acceptOnLostFocus:' true
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1211
                    #'hasBorder:' false
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1212
                )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1213
              )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1214
          )
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1215
      )
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1216
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1217
    "Modified: 28.2.1997 / 13:23:57 / cg"
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1218
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1219
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1220
!UIPropertyView methodsFor:'event handling'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1221
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1222
builderViewChanged:what
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1223
    "something changed in the builder view
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1224
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1225
    |slices list prevSpecClass|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1226
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1227
    (what == #selection or:[what == #tree]) ifFalse:[
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1228
        what == #layout ifTrue:[
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1229
            self updateLayout
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1230
        ].
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1231
        ^ self
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1232
    ].
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1233
    currentView     := builderView singleSelection.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1234
    propertyAspects := nil.
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1235
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1236
    currentView isNil ifTrue:[
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1237
        specChannel := nil.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1238
      ^ self propertyList:nil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1239
    ].
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1240
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1241
    prevSpecClass   := specBeingEdited class.
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
  1242
    specBeingEdited := builderView specFor:currentView.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1243
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1244
    (    (specBeingEdited class == prevSpecClass)
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1245
     and:[specChannel notNil]
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1246
    ) ifTrue:[
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1247
        "can keep current specifications plus current property selection
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1248
        "
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1249
      ^ self reload.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1250
    ].
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1251
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1252
    propertyAspects := IdentityDictionary new.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1253
    slices          := currentView specClass slices.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1254
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1255
    list := slices collect:[:slice|
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1256
        slice first asString
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1257
    ].
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1258
    list := list, (Array with:(self class titleOfLayoutMenu)).
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1259
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1260
    specChannel := specBeingEdited asValue.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1261
    specBeingEdited class addBindingsTo:propertyAspects
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1262
                                    for:specBeingEdited
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1263
                                channel:specChannel.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1264
    propertyAspects do:[:anAspect | anAspect addDependent:self ].
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1265
    self propertyList:list.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1266
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1267
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1268
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1269
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1270
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1271
modified:aState
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1272
     "change state of modification flag
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1273
     "
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1274
     aState ~~ modified ifTrue:[
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1275
        (modified := aState) ifTrue:[
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1276
            (builder componentAt:#cancelButton) enable.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1277
            (builder componentAt:#applyButton) enable.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1278
        ] ifFalse:[
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1279
            (builder componentAt:#cancelButton) disable.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1280
            (builder componentAt:#applyButton) disable.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1281
        ].
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1282
    ]
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1283
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1284
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1285
propertySelectionChanged
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1286
    "property selection changed; switch to new property selection
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1287
    "
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1288
    |plist|
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1289
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1290
    self modified:false.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1291
    plist := self propertyList.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1292
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1293
    (plist selection isNil) ifTrue:[
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1294
        ^ self showSpec:nil
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1295
    ].
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1296
    propertySelection := plist selection.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1297
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1298
    currentView specClass slices do:[:slice|
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1299
        slice first = propertySelection ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1300
            ^ self showSpec:(currentView specClass perform:(slice last))
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1301
        ]
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1302
    ].
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1303
    ^ self showAndFetchLayout   "/ layout specifications
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1304
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1305
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1306
update:something with:someArgument from:someone
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1307
    "any attribute changed its state in the current specification
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1308
    "
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1309
    self modified:true
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1310
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1311
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1312
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1313
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1314
!UIPropertyView methodsFor:'initialization'!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1315
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1316
in:aTopView builder:aBuilderView
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1317
    "setup property view in topview and that the builder view
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1318
    "
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1319
    |menu y cancelButton applyButton panel propertyFrame propertyList|
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1320
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1321
    super initialize.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1322
    self initializeLayoutAspects.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1323
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1324
    builderView := aBuilderView.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1325
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1326
    menu := PopUpList label:'properties' in:aTopView.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1327
    menu defaultLabel:'properties'.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1328
    propertyFrame := View in:aTopView.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1329
    panel := HorizontalPanelView in:aTopView.
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1330
    panel horizontalLayout:#fitSpace.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1331
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1332
    cancelButton := Button abortButtonIn:panel.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1333
    applyButton  := Button okButtonIn:panel.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1334
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1335
    propertyList := SelectionInList new.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1336
    propertyList list:#( ).
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1337
    propertyList selectionIndexHolder onChangeSend:#propertySelectionChanged
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1338
                                                to:self.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1339
    menu model:propertyList.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1340
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1341
    y := menu preferredExtent y.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1342
    menu  origin:0.0@0.0 corner:1.0@y.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1343
    propertyFrame origin:0.0@y   corner:1.0@1.0.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1344
    panel origin:0.0@1.0 corner:1.0@1.0.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1345
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1346
    y := panel preferredExtent y.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1347
    propertyFrame bottomInset:y.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1348
    panel topInset:(y negated).
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1349
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1350
    builder componentAt:#propertyFrame put:propertyFrame.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1351
    builder componentAt:#cancelButton  put:cancelButton.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1352
    builder componentAt:#applyButton   put:applyButton.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1353
    builder componentAt:#propertyList  put:propertyList.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1354
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1355
    cancelButton action:[ self cancel ].
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1356
    applyButton  action:[ self apply ].
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1357
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1358
    modified := true.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1359
    self modified:false.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1360
!
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1361
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1362
initializeLayoutAspects
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1363
    "initialize all layout aspects
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1364
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1365
    layoutAspects := IdentityDictionary new.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1366
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1367
    #(  bottomFraction          bottomOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1368
        leftFraction            leftOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1369
        topFraction             topOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1370
        rightFraction           rightOffset
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1371
        leftAlignmentFraction   topAlignmentFraction
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1372
        absLeft                 absTop               
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1373
    )
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1374
    do:[:aChannel|
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1375
        layoutAspects at:aChannel put:(ValueHolder new).
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1376
    ].
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1377
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1378
    layoutAspects do:[:anAspect | anAspect addDependent:self ].
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1379
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1380
    layoutAspects at:#layoutType put:(
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1381
        AspectAdaptor new
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1382
                subject:self;
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1383
                accessWith:#layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1384
                assignWith:#layoutType:
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1385
    ).
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1386
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1387
    "Modified: 28.2.1997 / 12:57:51 / cg"
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1388
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1389
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1390
!UIPropertyView methodsFor:'layout'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1391
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1392
layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1393
    ^ layoutType
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1394
!
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1395
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1396
layoutType:something
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1397
    |spec|
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1398
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1399
    layoutType ~~ something ifTrue:[
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1400
        layoutType := something.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1401
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1402
        layoutType notNil ifTrue:[
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1403
            self modified:true.
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1404
            self perform:(('fetch',  layoutType asString) asSymbol).
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1405
            spec := ('specification', layoutType asString) asSymbol.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1406
            spec := self class perform:spec.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1407
        ].
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1408
        self showSpec:spec.
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1409
        self changed:#layoutType.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1410
    ].
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1411
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1412
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1413
layoutTypeList
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1414
    ^ #( #LayoutFrame #AlignmentOrigin #LayoutOrigin #Point #Rectangle )
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1415
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1416
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1417
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1418
showAndFetchLayout
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1419
    "fetch and show layout specification assigned to current view
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1420
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1421
    |type spec|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1422
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1423
    self modified:false.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1424
    modified := true.
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1425
    type     := builderView class layoutType:currentView.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1426
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1427
    type notNil ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1428
        self perform:(('fetch', type asString) asSymbol).
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1429
        spec := self class perform:(('specification', type asString) asSymbol).
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1430
    ].
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1431
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1432
    type ~~ layoutType ifTrue:[
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1433
        layoutType := type.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1434
        self changed:#layoutType
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1435
    ].
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1436
    self showSpec:spec.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1437
    modified := false.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1438
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1439
!
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1440
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1441
updateLayout
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1442
    "layout changed but not selection
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1443
    "
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1444
    (modified not and:[self isLayoutSpec]) ifTrue:[
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1445
        (builderView class layoutType:currentView) == layoutType ifTrue:[
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1446
            modified := true.
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1447
            self perform:(('fetch', layoutType asString) asSymbol).
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1448
            modified := false.
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1449
        ] ifFalse:[    
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1450
            self showAndFetchLayout
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1451
        ]
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1452
    ]
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1453
! !
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1454
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1455
!UIPropertyView methodsFor:'layout fetch/write'!
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1456
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1457
fetchAlignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1458
    "fetch alignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1459
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1460
    |layout type extent|
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1461
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1462
    type   := builderView class layoutType:currentView.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1463
    layout := currentView geometryLayout.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1464
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1465
    layout isLayout ifTrue:[
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1466
        (layoutAspects at:#leftOffset)   value:(layout leftOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1467
        (layoutAspects at:#leftFraction) value:(layout leftFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1468
        (layoutAspects at:#topOffset)    value:(layout topOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1469
        (layoutAspects at:#topFraction)  value:(layout topFraction).
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1470
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1471
        type == #AlignmentOrigin ifTrue:[
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1472
            (layoutAspects at:#leftAlignmentFraction) value:(layout leftAlignmentFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1473
            (layoutAspects at:#topAlignmentFraction)  value:(layout topAlignmentFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1474
          ^ self
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1475
        ]
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1476
    ] ifFalse:[
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1477
        layout := currentView computeOrigin.
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1478
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1479
        (layoutAspects at:#leftOffset)   value:(layout x).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1480
        (layoutAspects at:#leftFraction) value:0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1481
        (layoutAspects at:#topOffset)    value:(layout y).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1482
        (layoutAspects at:#topFraction)  value:0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1483
    ].
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1484
    (layoutAspects at:#leftAlignmentFraction) value:0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1485
    (layoutAspects at:#topAlignmentFraction)  value:0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1486
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1487
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1488
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1489
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1490
fetchExtent
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1491
    |extent|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1492
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1493
    extent := currentView computeExtent.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1494
    (layoutAspects at:#leftOffset)  value:(extent x).
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1495
    (layoutAspects at:#rightOffset) value:(extent y).
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1496
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1497
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1498
fetchLayoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1499
    "fetch layoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1500
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1501
    |layout|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1502
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1503
    layout := builderView class asLayoutFrameFromView:currentView.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1504
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1505
    (layoutAspects at:#leftOffset)     value:(layout leftOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1506
    (layoutAspects at:#leftFraction)   value:(layout leftFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1507
    (layoutAspects at:#topOffset)      value:(layout topOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1508
    (layoutAspects at:#topFraction)    value:(layout topFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1509
    (layoutAspects at:#rightOffset)    value:(layout rightOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1510
    (layoutAspects at:#bottomOffset)   value:(layout bottomOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1511
    (layoutAspects at:#rightFraction)  value:(layout rightFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1512
    (layoutAspects at:#bottomFraction) value:(layout bottomFraction).
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1513
!
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1514
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1515
fetchLayoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1516
    "fetch layoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1517
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1518
    |layout|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1519
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1520
    layout := builderView class asLayoutFrameFromView:currentView.
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1521
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1522
    (layoutAspects at:#leftOffset)   value:(layout leftOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1523
    (layoutAspects at:#leftFraction) value:(layout leftFraction).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1524
    (layoutAspects at:#topOffset)    value:(layout topOffset).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1525
    (layoutAspects at:#topFraction)  value:(layout topFraction).
64
6724d2091880 *** empty log message ***
ca
parents: 62
diff changeset
  1526
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1527
!
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1528
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1529
fetchPoint
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1530
    "fetch point
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1531
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1532
    |origin|
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1533
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1534
    origin := currentView computeOrigin.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1535
    (layoutAspects at:#absLeft) value:(origin x).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1536
    (layoutAspects at:#absTop)  value:(origin y).
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1537
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1538
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1539
fetchRectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1540
    "fetch rectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1541
    "
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1542
    |origin corner|
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1543
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1544
    origin := currentView computeOrigin.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1545
    corner := currentView computeCorner.
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1546
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1547
    (layoutAspects at:#leftOffset)   value:(origin x).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1548
    (layoutAspects at:#rightOffset)  value:(corner x).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1549
    (layoutAspects at:#topOffset)    value:(origin y).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1550
    (layoutAspects at:#bottomOffset) value:(corner y).
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1551
!
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1552
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1553
writeAlignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1554
    "write back as alignmentOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1555
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1556
    |layout|
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1557
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1558
    layout := AlignmentOrigin new.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1559
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1560
    layout   leftOffset:((layoutAspects at:#leftOffset)   value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1561
    layout    topOffset:((layoutAspects at:#topOffset)    value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1562
    layout leftFraction:((layoutAspects at:#leftFraction) value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1563
    layout  topFraction:((layoutAspects at:#topFraction)  value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1564
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1565
    layout leftAlignmentFraction:((layoutAspects at:#leftAlignmentFraction) value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1566
    layout  topAlignmentFraction:((layoutAspects at:#topAlignmentFraction)  value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1567
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1568
    builderView setDimension:layout.
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1569
!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1570
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1571
writeExtent
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1572
    |extent|
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1573
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1574
    extent := Point x:(((layoutAspects at:#leftOffset)   value) ? 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1575
                    y:(((layoutAspects at:#rightOffset)  value) ? 0).
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1576
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1577
    builderView setExtent:extent
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1578
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1579
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1580
writeLayoutFrame
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1581
    "write back as layoutFrame
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1582
    "
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1583
    |layout|
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1584
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1585
    layout := LayoutFrame new.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1586
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1587
    layout     leftOffset:((layoutAspects at:#leftOffset)     value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1588
    layout    rightOffset:((layoutAspects at:#rightOffset)    value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1589
    layout      topOffset:((layoutAspects at:#topOffset)      value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1590
    layout   bottomOffset:((layoutAspects at:#bottomOffset)   value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1591
    layout   leftFraction:((layoutAspects at:#leftFraction)   value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1592
    layout  rightFraction:((layoutAspects at:#rightFraction)  value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1593
    layout    topFraction:((layoutAspects at:#topFraction)    value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1594
    layout bottomFraction:((layoutAspects at:#bottomFraction) value) ? 0.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1595
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1596
    builderView setDimension:layout
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1597
!
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1598
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1599
writeLayoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1600
    "write back as layoutOrigin
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1601
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1602
    |layout|
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1603
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1604
    layout := LayoutOrigin new.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1605
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1606
    layout   leftOffset:((layoutAspects at:#leftOffset)   value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1607
    layout    topOffset:((layoutAspects at:#topOffset)    value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1608
    layout leftFraction:((layoutAspects at:#leftFraction) value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1609
    layout  topFraction:((layoutAspects at:#topFraction)  value) ? 0.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1610
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1611
    builderView setDimension:layout.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1612
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1613
!
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1614
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1615
writePoint
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1616
    "write back as point
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1617
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1618
    |point|
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1619
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1620
"/    point := Point x:(((layoutAspects at:#leftOffset) value) ? 0)
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1621
"/                   y:(((layoutAspects at:#topOffset)  value) ? 0).
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1622
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1623
    point := Point x:(((layoutAspects at:#absLeft) value) ? 0)
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1624
                   y:(((layoutAspects at:#absTop)  value) ? 0).
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1625
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1626
    builderView setDimension:point
66
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1627
b4e629d9cfcb specs beautified
Claus Gittinger <cg@exept.de>
parents: 64
diff changeset
  1628
    "Modified: 28.2.1997 / 13:00:03 / cg"
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1629
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1630
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1631
writeRectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1632
    "write back as rectangle
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1633
    "
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1634
    |rectangle|
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1635
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1636
    rectangle := Rectangle left:(((layoutAspects at:#leftOffset)   value) ? 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1637
                            top:(((layoutAspects at:#topOffset)    value) ? 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1638
                          right:(((layoutAspects at:#rightOffset)  value) ? 0)
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1639
                         bottom:(((layoutAspects at:#bottomOffset) value) ? 0).
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1640
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1641
    builderView setDimension:rectangle
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1642
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1643
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1644
!UIPropertyView methodsFor:'layout relative/absolut'!
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1645
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1646
makeAlignBottomCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1647
    self makeAlignLeft:0.5 top:1
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1648
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1649
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1650
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1651
makeAlignBottomLeft
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1652
    self makeAlignLeft:0 top:1
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1653
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1654
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1655
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1656
makeAlignBottomRight
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1657
    self makeAlignLeft:1 top:1
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1658
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1659
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1660
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1661
makeAlignCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1662
    self makeAlignLeft:0.5 top:0.5
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1663
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1664
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1665
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1666
makeAlignLeft:leftAlignmentFraction top:topAlignmentFraction
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1667
    |lAF tAF lO tO ext|
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1668
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1669
    lAF := (layoutAspects at:#leftAlignmentFraction) value ? 0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1670
    tAF := (layoutAspects at:#topAlignmentFraction)  value ? 0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1671
    ext := currentView computeExtent.
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1672
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1673
    (layoutAspects at:#leftAlignmentFraction) value:leftAlignmentFraction.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1674
    (layoutAspects at:#topAlignmentFraction)  value:topAlignmentFraction.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1675
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1676
    lO := (layoutAspects at:#leftOffset) value ? 0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1677
    tO := (layoutAspects at:#topOffset)  value ? 0.
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1678
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1679
    lO := lO + (ext x * (leftAlignmentFraction - lAF)).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1680
    tO := tO + (ext y * (topAlignmentFraction  - tAF)).
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1681
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1682
    (layoutAspects at:#leftOffset) value:(lO rounded).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1683
    (layoutAspects at:#topOffset)  value:(tO rounded).
68
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1684
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1685
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1686
makeAlignLeftCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1687
    self makeAlignLeft:0 top:0.5
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1688
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1689
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1690
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1691
makeAlignRightCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1692
    self makeAlignLeft:1 top:0.5
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1693
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1694
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1695
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1696
makeAlignTopCenter
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1697
    self makeAlignLeft:0.5 top:0
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1698
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1699
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1700
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1701
makeAlignTopLeft
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1702
    self makeAlignLeft:0 top:0
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1703
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1704
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1705
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1706
makeAlignTopRight
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1707
    self makeAlignLeft:1 top:0
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1708
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1709
!
889c3877baf0 layout ....
ca
parents: 66
diff changeset
  1710
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1711
makeLayout:what xOrY:xOrY offset:aBool
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1712
    |extent fraction offset fractSymb offsetSymb|
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1713
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1714
    extent     := (currentView superView computeExtent) perform:xOrY.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1715
    fractSymb  := (what, 'Fraction') asSymbol.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1716
    offsetSymb := (what,   'Offset') asSymbol.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1717
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1718
    fraction := (layoutAspects at:fractSymb)  value.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1719
    offset   := (layoutAspects at:offsetSymb) value.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1720
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1721
    aBool ifTrue:[
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1722
        offset   := offset + ((fraction * extent) asInteger).
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1723
        fraction := 0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1724
    ] ifFalse:[
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1725
        fraction   := (fraction + (offset / extent)) asFloat.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1726
70
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1727
        (fraction > 1.0) ifTrue:[ fraction := 1.0 ].
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1728
        (fraction < 0.0) ifTrue:[ fraction := 0 ].
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1729
        offset := 0.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1730
    ].
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1731
    (layoutAspects at:offsetSymb) value:offset.
4e667db10910 checkin from browser
ca
parents: 68
diff changeset
  1732
    (layoutAspects at:fractSymb)  value:fraction.
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1733
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1734
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1735
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1736
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1737
makeOffsetAll
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1738
    self makeOffsetLeft.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1739
    self makeOffsetTop.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1740
    self makeOffsetRight.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1741
    self makeOffsetBottom.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1742
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1743
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1744
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1745
makeOffsetBottom
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1746
    self makeLayout:'bottom' xOrY:#y offset:true.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1747
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1748
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1749
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1750
makeOffsetLeft
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1751
    self makeLayout:'left' xOrY:#x offset:true.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1752
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1753
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1754
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1755
makeOffsetLeftTop
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1756
    self makeOffsetLeft.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1757
    self makeOffsetTop.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1758
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1759
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1760
makeOffsetRight
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1761
    self makeLayout:'right' xOrY:#x offset:true.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1762
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1763
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1764
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1765
makeOffsetTop
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1766
    self makeLayout:'top' xOrY:#y offset:true.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1767
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1768
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1769
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1770
makeRelativeAll
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1771
    self makeRelativeLeft.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1772
    self makeRelativeTop.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1773
    self makeRelativeRight.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1774
    self makeRelativeBottom.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1775
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1776
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1777
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1778
makeRelativeBottom
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1779
    self makeLayout:'bottom' xOrY:#y offset:false.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1780
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1781
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1782
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1783
makeRelativeLeft
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1784
    self makeLayout:'left' xOrY:#x offset:false.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1785
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1786
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1787
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1788
makeRelativeLeftTop
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1789
    self makeRelativeLeft.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1790
    self makeRelativeTop.
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1791
!
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1792
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1793
makeRelativeRight
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1794
    self makeLayout:'right' xOrY:#x offset:false.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1795
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1796
!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1797
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1798
makeRelativeTop
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1799
    self makeLayout:'top' xOrY:#y offset:false.
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1800
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1801
! !
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1802
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1803
!UIPropertyView methodsFor:'private'!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1804
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1805
apply
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1806
    "apply current changes and write back to current view
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1807
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1808
    modified ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1809
        self modified:false.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1810
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1811
        self isSingleSelection ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1812
            self isLayoutSpec ifFalse:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1813
                builderView updateFromSpec:specBeingEdited
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1814
            ] ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1815
                layoutType notNil ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1816
                    self perform:(('write', layoutType asString) asSymbol)
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1817
                ]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1818
            ]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1819
        ]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1820
    ]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1821
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1822
!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1823
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1824
aspectFor:aKey
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1825
    "returns aspect for a key
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1826
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1827
    |aspect|
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1828
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1829
    propertyAspects notNil ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1830
        aspect := propertyAspects at:aKey ifAbsent:nil.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1831
        aspect notNil ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1832
            ^ aspect
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1833
        ]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1834
    ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1835
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1836
    ^ layoutAspects at:aKey ifAbsent:[super aspectFor:aKey]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1837
!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1838
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1839
cancel
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1840
    "cancel all changes and read back attributes from current view
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1841
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1842
    modified ifTrue:[
78
a0a00603a8b6 keep spec in properties
ca
parents: 74
diff changeset
  1843
        specBeingEdited := builderView specFor:currentView.
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1844
        self reload
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1845
    ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1846
!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1847
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1848
propertyList
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1849
    "returns property list
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1850
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1851
    ^ builder componentAt:#propertyList
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1852
!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1853
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1854
propertyList:aList
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1855
    "property list changed
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1856
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1857
    |sel list plist|
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1858
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1859
    aList notNil ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1860
        sel  := propertySelection.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1861
        list := aList
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1862
    ] ifFalse:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1863
        list := #()
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1864
    ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1865
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1866
    plist := self propertyList.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1867
    plist list:list.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1868
    plist selection:sel.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1869
    self modified:false.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1870
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1871
!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1872
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1873
reload
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1874
    "relaod all attributes from current specification and update values
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1875
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1876
    self modified:false.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1877
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1878
    self isSingleSelection ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1879
        modified := true.                               "/ disable notifications"
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1880
        specChannel value:specBeingEdited.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1881
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1882
        self isLayoutSpec ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1883
            self showAndFetchLayout.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1884
        ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1885
        modified := false.                              "/ enable notifications
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1886
    ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1887
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1888
!
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1889
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1890
showSpec:aSpec
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1891
    "switch to specification
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1892
    "
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1893
    |frame|
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1894
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1895
    shownSpec ~= aSpec ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1896
        frame := builder componentAt:#propertyFrame.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1897
        frame destroySubViews.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1898
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1899
        aSpec notNil ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1900
            builder buildFromSpec:aSpec in:frame.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1901
            frame realizeAllSubViews
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1902
        ]
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1903
    ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1904
    shownSpec := aSpec.
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1905
! !
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1906
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1907
!UIPropertyView methodsFor:'queries'!
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1908
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1909
isLayoutSpec
62
0e8573b4329a so far so good ...
ca
parents: 60
diff changeset
  1910
    "returns true if current menu is a layout specification
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1911
    "
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1912
    |selection|
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1913
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1914
    self isSingleSelection ifTrue:[
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1915
        ^ propertySelection == self class titleOfLayoutMenu
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1916
    ].
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1917
    ^ false
72
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1918
!
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1919
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1920
isMultiSelection
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1921
    "returns true in case of a multiple selection
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1922
    "
74
dfa8644e0287 checkin from browser
ca
parents: 72
diff changeset
  1923
    ^ (currentView isNil and:[builderView numberOfSelections > 1])
72
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1924
!
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1925
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1926
isSingleSelection
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1927
    "returns true in case of a single selection
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1928
    "
a5a7054e2b7d *** empty log message ***
ca
parents: 70
diff changeset
  1929
    ^ currentView notNil
59
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1930
! !
0a2b2ff030a0 so far ...
ca
parents: 56
diff changeset
  1931
56
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1932
!UIPropertyView class methodsFor:'documentation'!
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1933
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1934
version
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1935
    ^ '$Header$'
7276365d9311 intitial checkin
ca
parents:
diff changeset
  1936
! !