UISelectionPanel.st
changeset 1456 7435d111bb09
parent 1434 223936d0c28b
child 1457 8c15098c3469
--- a/UISelectionPanel.st	Thu Mar 29 09:15:01 2001 +0200
+++ b/UISelectionPanel.st	Wed Apr 11 13:49:57 2001 +0200
@@ -1909,64 +1909,60 @@
 
     "
      UIPainter new openOnClass:UISelectionPanel::UserDefinedGallery andSelector:#businessGraphicsSpec
-     UISelectionPanel::UserDefinedGallery new openInterface:#businessGraphicsSpec
     "
 
     <resource: #canvas>
 
-    ^
-     
-       #(#FullSpec
-          #window: 
-           #(#WindowSpec
-              #name: 'Interface Builder'
-              #layout: #(#LayoutFrame 6 0 582 0 385 0 852 0)
-              #label: 'Interface Builder'
-              #min: #(#Point 10 10)
-              #max: #(#Point 1280 1024)
-              #bounds: #(#Rectangle 6 582 386 853)
-              #usePreferredExtent: false
-          )
-          #component: 
-           #(#SpecCollection
-              #collection: 
-               #(
-                 #(#LabelSpec
-                    #name: 'Label2'
-                    #layout: #(#LayoutFrame 5 0 5 0 70 0 20 0)
-                    #label: 'PieChart'
-                    #translateLabel: true
-                    #canUIDrag: false
-                )
-                 #(#PieChartWidgetSpec
-                    #name: 'PIE Chart'
-                    #layout: #(#LayoutFrame 15 0 21 0 103 0 141 0)
-                )
-                 #(#LabelSpec
-                    #name: 'Label1'
-                    #layout: #(#LayoutFrame 16 0.0 146 0 131 0 161 0)
-                    #label: 'ChartDescription'
-                    #translateLabel: true
-                    #adjust: #left
-                    #canUIDrag: false
-                )
-                 #(#ChartDescriptionSpec
-                    #name: 'Chart Legend'
-                    #layout: #(#LayoutFrame 14 0.0 -4 0.656827 14 0.323684 -4 1.0)
-                )
-                 #(#LabelSpec
-                    #name: 'Label3'
-                    #layout: #(#LayoutFrame 115 0 5 0 180 0 20 0)
-                    #label: 'BarChart'
-                    #translateLabel: true
-                    #canUIDrag: false
-                )
-                 #(#BarChartWidgetSpec
-                    #name: 'Bar Chart'
-                    #layout: #(#LayoutFrame 121 0 21 0 232 0 141 0)
-                )
-              )
-          )
+    ^ 
+     #(#FullSpec
+        #name: #businessGraphicsSpec
+        #window: 
+       #(#WindowSpec
+          #label: 'Interface Builder'
+          #name: 'Interface Builder'
+          #min: #(#Point 10 10)
+          #max: #(#Point 1280 1024)
+          #bounds: #(#Rectangle 16 46 396 317)
+        )
+        #component: 
+       #(#SpecCollection
+          #collection: #(
+           #(#LabelSpec
+              #label: 'PieChart'
+              #name: 'Label2'
+              #layout: #(#LayoutFrame 5 0 5 0 126 0 20 0)
+              #translateLabel: true
+              #canUIDrag: false
+            )
+           #(#PieChartWidgetSpec
+              #name: 'PIE Chart'
+              #layout: #(#LayoutFrame 15 0 21 0 103 0 141 0)
+            )
+           #(#LabelSpec
+              #label: 'ChartDescription'
+              #name: 'Label1'
+              #layout: #(#LayoutFrame 8 0.0 153 0 131 0 168 0)
+              #translateLabel: true
+              #canUIDrag: false
+            )
+           #(#ChartDescriptionSpec
+              #name: 'Chart Legend'
+              #layout: #(#LayoutFrame 14 0.0 -9 0.656827 14 0.323684 -9 1.0)
+            )
+           #(#LabelSpec
+              #label: 'BarChart'
+              #name: 'Label3'
+              #layout: #(#LayoutFrame 115 0 5 0 237 0 20 0)
+              #translateLabel: true
+              #canUIDrag: false
+            )
+           #(#BarChartWidgetSpec
+              #name: 'Bar Chart'
+              #layout: #(#LayoutFrame 121 0 21 0 232 0 141 0)
+            )
+           )
+         
+        )
       )
 !
 
@@ -1979,98 +1975,94 @@
 
     "
      UIPainter new openOnClass:UISelectionPanel::UserDefinedGallery andSelector:#clocksSpec
-     UISelectionPanel::UserDefinedGallery new openInterface:#clocksSpec
     "
 
     <resource: #canvas>
 
-    ^
-     
-       #(#FullSpec
-          #window: 
-           #(#WindowSpec
-              #name: 'Interface Builder'
-              #layout: #(#LayoutFrame 402 0 59 0 781 0 329 0)
-              #label: 'Interface Builder'
-              #min: #(#Point 10 10)
-              #max: #(#Point 1280 1024)
-              #bounds: #(#Rectangle 402 59 782 330)
-              #usePreferredExtent: false
-          )
-          #component: 
-           #(#SpecCollection
-              #collection: 
-               #(
-                 #(#ArbitraryComponentSpec
-                    #name: 'Analog Clock'
-                    #layout: #(#LayoutFrame 15 0 39 0 129 0 151 0)
-                    #component: #ClockView
-                    #hasBorder: false
-                )
-                 #(#ArbitraryComponentSpec
-                    #name: 'Digital Clock'
-                    #layout: #(#LayoutOrigin 15 0 176 0)
-                    #component: #DigitalClockView
-                    #hasBorder: false
-                )
-                 #(#ArbitraryComponentSpec
-                    #name: 'Digital Number display'
-                    #layout: #(#LayoutOrigin 142 0 39 0)
-                    #component: #DigitalLedDisplay
-                    #hasBorder: false
-                )
-                 #(#LabelSpec
-                    #name: 'Label1'
-                    #layout: #(#LayoutFrame 15 0 16 0 128 0 38 0)
-                    #label: 'Analog Clock'
-                    #translateLabel: true
-                    #adjust: #left
-                    #canUIDrag: false
-                )
-                 #(#LabelSpec
-                    #name: 'Label2'
-                    #layout: #(#LayoutFrame 142 0 16 0 270 0 38 0)
-                    #label: 'Number Display'
-                    #translateLabel: true
-                    #adjust: #left
-                    #canUIDrag: false
-                )
-                 #(#LabelSpec
-                    #name: 'Label3'
-                    #layout: #(#LayoutFrame 15 0 155 0 128 0 177 0)
-                    #label: 'Digital Clock'
-                    #translateLabel: true
-                    #adjust: #left
-                    #canUIDrag: false
-                )
-                 #(#MeterWidgetSpec
-                    #name: 'Meter Widget'
-                    #layout: #(#Rectangle 143 101 248 216)
-                    #model: #meterValue
-                )
-                 #(#LabelSpec
-                    #name: 'Label4'
-                    #layout: #(#LayoutFrame 142 0 74 0 269 0 96 0)
-                    #label: 'Meter Widget'
-                    #translateLabel: true
-                    #adjust: #left
-                    #canUIDrag: false
-                )
-                 #(#MeterClackCounterSpec
-                    #name: 'Meter Clack Counter'
-                    #layout: #(#Rectangle 291 40 387 72)
-                    #model: #model
-                )
-                 #(#LabelSpec
-                    #name: 'Label5'
-                    #layout: #(#LayoutFrame 290 0 16 0 417 0 38 0)
-                    #label: 'Meter Clack Counter'
-                    #translateLabel: true
-                    #adjust: #left
-                    #canUIDrag: false
-                )
-              )
-          )
+    ^ 
+     #(#FullSpec
+        #name: #clocksSpec
+        #window: 
+       #(#WindowSpec
+          #label: 'Interface Builder'
+          #name: 'Interface Builder'
+          #min: #(#Point 10 10)
+          #max: #(#Point 1280 1024)
+          #bounds: #(#Rectangle 16 46 441 319)
+        )
+        #component: 
+       #(#SpecCollection
+          #collection: #(
+           #(#NonScrollableArbitraryComponentSpec
+              #name: 'Analog Clock'
+              #layout: #(#LayoutFrame 15 0 39 0 129 0 151 0)
+              #hasBorder: false
+              #component: #ClockView
+            )
+           #(#NonScrollableArbitraryComponentSpec
+              #name: 'Digital Clock'
+              #layout: #(#LayoutOrigin 15 0 176 0)
+              #hasBorder: false
+              #component: #DigitalClockView
+            )
+           #(#NonScrollableArbitraryComponentSpec
+              #name: 'Digital Number display'
+              #layout: #(#LayoutOrigin 142 0 39 0)
+              #hasBorder: false
+              #component: #DigitalLedDisplay
+            )
+           #(#LabelSpec
+              #label: 'Analog Clock'
+              #name: 'Label1'
+              #layout: #(#LayoutFrame 15 0 16 0 128 0 38 0)
+              #translateLabel: true
+              #adjust: #left
+              #canUIDrag: false
+            )
+           #(#LabelSpec
+              #label: 'Number Display'
+              #name: 'Label2'
+              #layout: #(#LayoutFrame 142 0 16 0 270 0 38 0)
+              #translateLabel: true
+              #adjust: #left
+              #canUIDrag: false
+            )
+           #(#LabelSpec
+              #label: 'Digital Clock'
+              #name: 'Label3'
+              #layout: #(#LayoutFrame 15 0 155 0 128 0 177 0)
+              #translateLabel: true
+              #adjust: #left
+              #canUIDrag: false
+            )
+           #(#MeterWidgetSpec
+              #name: 'Meter Widget'
+              #layout: #(#Rectangle 143 99 259 216)
+              #model: #meterValue
+            )
+           #(#LabelSpec
+              #label: 'Meter Widget'
+              #name: 'Label4'
+              #layout: #(#LayoutFrame 142 0 77 0 269 0 99 0)
+              #translateLabel: true
+              #canUIDrag: false
+            )
+           #(#MeterClackCounterSpec
+              #name: 'Meter Clack Counter'
+              #layout: #(#Rectangle 291 40 387 72)
+              #model: #model
+            )
+           #(#LabelSpec
+              #label: 'Meter Clack Counter'
+              #name: 'Label5'
+              #layout: #(#LayoutFrame 290 0 16 0 417 0 38 0)
+              #translateLabel: true
+              #adjust: #left
+              #canUIDrag: false
+            )
+           )
+         
+        )
       )
 !