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