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