class: UISelectionPanel expecco_2_6_0rc1
authorClaus Gittinger <cg@exept.de>
Thu, 19 Sep 2013 13:54:44 +0200
changeset 3059cc9b8daf00bc
parent 3058 d7792b7a50b7
child 3060 a8780dec8d43
class: UISelectionPanel
changed: #standardButtons
UISelectionPanel.st
     1.1 --- a/UISelectionPanel.st	Mon Sep 16 12:56:06 2013 +0200
     1.2 +++ b/UISelectionPanel.st	Thu Sep 19 13:54:44 2013 +0200
     1.3 @@ -567,132 +567,132 @@
     1.4      <resource: #canvas>
     1.5  
     1.6      ^ 
     1.7 -     #(FullSpec
     1.8 -        name: standardButtons
     1.9 -        window: 
    1.10 -       (WindowSpec
    1.11 -          label: 'Buttons'
    1.12 -          name: 'Buttons'
    1.13 -          min: (Point 10 10)
    1.14 -          bounds: (Rectangle 0 0 440 196)
    1.15 -        )
    1.16 -        component: 
    1.17 -       (SpecCollection
    1.18 -          collection: (
    1.19 -           (ActionButtonSpec
    1.20 -              label: 'Button'
    1.21 -              name: 'Button'
    1.22 -              layout: (LayoutFrame 2 0 1 0 127 0 23 0)
    1.23 -              translateLabel: true
    1.24 -            )
    1.25 -           (ActionButtonSpec
    1.26 -              label: 'OK'
    1.27 -              name: 'Button - OK'
    1.28 -              layout: (LayoutFrame 2 0 33 0 127 0 55 0)
    1.29 -              translateLabel: true
    1.30 -              model: doAccept
    1.31 -            )
    1.32 -           (ActionButtonSpec
    1.33 -              label: 'Cancel'
    1.34 -              name: 'Button - Cancel'
    1.35 -              layout: (LayoutFrame 2 0 65 0 127 0 87 0)
    1.36 -              translateLabel: true
    1.37 -              model: doCancel
    1.38 -            )
    1.39 -           (ActionButtonSpec
    1.40 -              label: 'Help'
    1.41 -              name: 'Button - Help'
    1.42 -              layout: (LayoutFrame 2 0 97 0 127 0 119 0)
    1.43 -              translateLabel: true
    1.44 -              model: help
    1.45 -            )
    1.46 -           (ActionButtonSpec
    1.47 -              label: 'Close'
    1.48 -              name: 'Button - Close'
    1.49 -              layout: (LayoutFrame 2 0 129 0 127 0 151 0)
    1.50 -              translateLabel: true
    1.51 -              model: closeRequest
    1.52 -            )
    1.53 -           (ToggleSpec
    1.54 -              label: 'Toggle'
    1.55 -              name: 'Toggle'
    1.56 -              layout: (LayoutFrame 144 0 1 0 280 0 23 0)
    1.57 -              translateLabel: true
    1.58 -              isTriggerOnDown: true
    1.59 -              lampColor: (Color 100.0 100.0 0.0)
    1.60 -            )
    1.61 -           (RadioButtonSpec
    1.62 -              label: 'Radio Button'
    1.63 -              name: 'Radio Button'
    1.64 -              layout: (LayoutFrame 144 0.0 33 0 280 0 55 0)
    1.65 -              translateLabel: true
    1.66 -              isTriggerOnDown: true
    1.67 -            )
    1.68 -           (CheckBoxSpec
    1.69 -              label: 'Check Box'
    1.70 -              name: 'Check Box'
    1.71 -              layout: (LayoutFrame 144 0 65 0 280 0 87 0)
    1.72 -              translateLabel: true
    1.73 -            )
    1.74 -           (CheckToggleSpec
    1.75 -              name: 'Check Toggle'
    1.76 -              layout: (LayoutOrigin 144 0 99 0)
    1.77 -              isTriggerOnDown: true
    1.78 -              showLamp: false
    1.79 -              lampColor: (Color 100.0 100.0 0.0)
    1.80 -            )
    1.81 -           (LabelSpec
    1.82 -              label: 'Check Toggle'
    1.83 -              name: 'CheckToggleLabel'
    1.84 -              layout: (AlignmentOrigin 170 0 98 0 0 0)
    1.85 -              resizeForLabel: true
    1.86 -              adjust: left
    1.87 -              canUIDrag: false
    1.88 -            )
    1.89 -           (ButtonSpec
    1.90 -              label: 'Model Button'
    1.91 -              name: 'Model Button'
    1.92 -              layout: (LayoutFrame 296 0 1 0 432 0 23 0)
    1.93 -              translateLabel: true
    1.94 -            )
    1.95 -           (LabelSpec
    1.96 -              label: 'Spin Button'
    1.97 -              name: 'UpDownButtonLabel'
    1.98 -              layout: (AlignmentOrigin 348 0 35 0 0 0)
    1.99 -              resizeForLabel: true
   1.100 -              adjust: left
   1.101 -              canUIDrag: false
   1.102 -            )
   1.103 -           (UpDownButtonSpec
   1.104 -              name: 'UpDown Button'
   1.105 -              layout: (LayoutFrame 296 0 33 0 341 0 55 0)
   1.106 -              orientation: horizontal
   1.107 -            )
   1.108 -           (LabelSpec
   1.109 -              label: 'Arrow Button'
   1.110 -              name: 'ArrowButtonsLabel'
   1.111 -              layout: (AlignmentOrigin 348 0 69 0 0 0)
   1.112 -              resizeForLabel: true
   1.113 -              adjust: left
   1.114 -              canUIDrag: false
   1.115 -            )
   1.116 -           (ArrowButtonSpec
   1.117 -              name: 'Arrow Button'
   1.118 -              layout: (LayoutFrame 296 0 65 0 318 0 87 0)
   1.119 -              isTriggerOnDown: true
   1.120 -              direction: right
   1.121 -            )
   1.122 -           (ActionButtonSpec
   1.123 -              label: '...'
   1.124 -              name: 'Button1'
   1.125 -              layout: (LayoutFrame 0 0 160 0 20 0 182 0)
   1.126 -              translateLabel: true
   1.127 -              model: someAction
   1.128 -            )
   1.129 +    #(FullSpec
   1.130 +       name: standardButtons
   1.131 +       window: 
   1.132 +      (WindowSpec
   1.133 +         label: 'Buttons'
   1.134 +         name: 'Buttons'
   1.135 +         min: (Point 10 10)
   1.136 +         bounds: (Rectangle 0 0 440 196)
   1.137 +       )
   1.138 +       component: 
   1.139 +      (SpecCollection
   1.140 +         collection: (
   1.141 +          (ActionButtonSpec
   1.142 +             label: 'Button'
   1.143 +             name: 'Button'
   1.144 +             layout: (LayoutFrame 2 0 1 0 127 0 23 0)
   1.145             )
   1.146 -         
   1.147 -        )
   1.148 -      )
   1.149 +          (ActionButtonSpec
   1.150 +             label: 'OK'
   1.151 +             name: 'Button - OK'
   1.152 +             layout: (LayoutFrame 2 0 33 0 127 0 55 0)
   1.153 +             translateLabel: true
   1.154 +             model: doAccept
   1.155 +           )
   1.156 +          (ActionButtonSpec
   1.157 +             label: 'Cancel'
   1.158 +             name: 'Button - Cancel'
   1.159 +             layout: (LayoutFrame 2 0 65 0 127 0 87 0)
   1.160 +             translateLabel: true
   1.161 +             model: doCancel
   1.162 +           )
   1.163 +          (ActionButtonSpec
   1.164 +             label: 'Help'
   1.165 +             name: 'Button - Help'
   1.166 +             layout: (LayoutFrame 2 0 97 0 127 0 119 0)
   1.167 +             translateLabel: true
   1.168 +             model: help
   1.169 +           )
   1.170 +          (ActionButtonSpec
   1.171 +             label: 'Close'
   1.172 +             name: 'Button - Close'
   1.173 +             layout: (LayoutFrame 2 0 129 0 127 0 151 0)
   1.174 +             translateLabel: true
   1.175 +             model: closeRequest
   1.176 +           )
   1.177 +          (ToggleSpec
   1.178 +             label: 'Toggle'
   1.179 +             name: 'Toggle'
   1.180 +             layout: (LayoutFrame 144 0 1 0 280 0 23 0)
   1.181 +             isTriggerOnDown: true
   1.182 +             lampColor: (Color 100.0 100.0 0.0)
   1.183 +           )
   1.184 +          (RadioButtonSpec
   1.185 +             label: 'Radio Button'
   1.186 +             name: 'Radio Button'
   1.187 +             layout: (LayoutFrame 144 0.0 33 0 280 0 55 0)
   1.188 +             isTriggerOnDown: true
   1.189 +           )
   1.190 +          (CheckBoxSpec
   1.191 +             label: 'Check Box'
   1.192 +             name: 'Check Box'
   1.193 +             layout: (LayoutFrame 142 0 65 0 278 0 87 0)
   1.194 +           )
   1.195 +          (CheckToggleSpec
   1.196 +             name: 'Check Toggle'
   1.197 +             layout: (LayoutOrigin 146 0 99 0)
   1.198 +             isTriggerOnDown: true
   1.199 +             showLamp: false
   1.200 +             lampColor: (Color 100.0 100.0 0.0)
   1.201 +           )
   1.202 +          (LabelSpec
   1.203 +             label: 'Check Toggle'
   1.204 +             name: 'CheckToggleLabel'
   1.205 +             layout: (AlignmentOrigin 166 0 98 0 0 0)
   1.206 +             resizeForLabel: true
   1.207 +             adjust: left
   1.208 +             canUIDrag: false
   1.209 +           )
   1.210 +          (TriggerBoxSpec
   1.211 +             label: 'Trigger Box'
   1.212 +             name: 'TriggerBox1'
   1.213 +             layout: (LayoutFrame 142 0 129 0 278 0 151 0)
   1.214 +           )
   1.215 +          (ButtonSpec
   1.216 +             label: 'Model Button'
   1.217 +             name: 'Model Button'
   1.218 +             layout: (LayoutFrame 296 0 1 0 432 0 23 0)
   1.219 +           )
   1.220 +          (LabelSpec
   1.221 +             label: 'Spin Button'
   1.222 +             name: 'UpDownButtonLabel'
   1.223 +             layout: (AlignmentOrigin 348 0 35 0 0 0)
   1.224 +             resizeForLabel: true
   1.225 +             adjust: left
   1.226 +             canUIDrag: false
   1.227 +           )
   1.228 +          (UpDownButtonSpec
   1.229 +             name: 'UpDown Button'
   1.230 +             layout: (LayoutFrame 296 0 33 0 341 0 55 0)
   1.231 +             orientation: horizontal
   1.232 +           )
   1.233 +          (LabelSpec
   1.234 +             label: 'Arrow Button'
   1.235 +             name: 'ArrowButtonsLabel'
   1.236 +             layout: (AlignmentOrigin 348 0 69 0 0 0)
   1.237 +             resizeForLabel: true
   1.238 +             adjust: left
   1.239 +             canUIDrag: false
   1.240 +           )
   1.241 +          (ArrowButtonSpec
   1.242 +             name: 'Arrow Button'
   1.243 +             layout: (LayoutFrame 296 0 65 0 318 0 87 0)
   1.244 +             isTriggerOnDown: true
   1.245 +             direction: right
   1.246 +           )
   1.247 +          (ActionButtonSpec
   1.248 +             label: '...'
   1.249 +             name: 'Button1'
   1.250 +             layout: (LayoutFrame 2 0 160 0 22 0 182 0)
   1.251 +             translateLabel: true
   1.252 +             model: someAction
   1.253 +           )
   1.254 +          )
   1.255 +        
   1.256 +       )
   1.257 +     )
   1.258  !
   1.259  
   1.260  standardEmbed
   1.261 @@ -2535,5 +2535,6 @@
   1.262      ^ '$Header$'
   1.263  ! !
   1.264  
   1.265 +
   1.266  UISelectionPanel initialize!
   1.267  UISelectionPanel::UserDefinedGallery initialize!