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