--- a/UISelectionPanel.st Tue Sep 02 14:51:05 1997 +0200
+++ b/UISelectionPanel.st Tue Sep 02 14:51:56 1997 +0200
@@ -85,6 +85,7 @@
#('Menus' standardMenus)
#('Panel' standardPanels)
#('Text' standardText)
+ #('Lists' standartLists)
#('Views' standardViews)
#('Canvas' standardCanvas)
#('Sliders' standardSliders)
@@ -96,7 +97,7 @@
)
)
- #( 'User Defined' #userDefined )
+ #( 'User Def.' #userDefined )
)
! !
@@ -237,10 +238,12 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
+ #'name:' 'Component Gallery'
+ #'layout:' #(#LayoutFrame 78 0 70 0 598 0 352 0)
#'label:' 'Component Gallery'
- #'bounds:' #(#Rectangle 0 0 471 223)
+ #'min:' #(#Point 100 280)
+ #'max:' #(#Point 1160 870)
+ #'bounds:' #(#Rectangle 78 70 599 353)
)
#'component:'
#(#SpecCollection
@@ -257,11 +260,10 @@
#roman #'10'
)
#'model:' #galleryModel
- #'tabWidget:' #Window
+ #'useIndex:' true
#'minorKeys:' #minorKeys
#'clientSpec:' #clientSpec
#'raiseMenu:' #raiseMenu
- #'useIndex:' true
)
#(#TabViewSpec
#'name:' 'major'
@@ -273,17 +275,9 @@
#roman #'10'
)
#'model:' #majorChannel
- #'tabWidget:' #Window
#'direction:' #right
#'useIndex:' true
)
- #(#LabelSpec
- #'name:' 'clientSpecLabel'
- #'layout:' #(#AlignmentOrigin 0 0.0 0 1.0 0 1)
- #'label:' ''
- #'adjust:' #left
- #'resizeForLabel:' true
- )
)
)
)
@@ -345,10 +339,12 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 439 193)
+ #'name:' 'Buttons'
+ #'layout:' #(#LayoutFrame 96 0 48 0 574 0 247 0)
+ #'label:' 'Buttons'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 96 48 575 248)
)
#'component:'
#(#SpecCollection
@@ -356,18 +352,18 @@
#(
#(#ArrowButtonSpec
#'name:' 'ArrowButton up'
- #'layout:' #(#LayoutFrame 237 0 20 0 259 0 42 0)
+ #'layout:' #(#LayoutFrame 276 0 15 0 298 0 37 0)
#'isTriggerOnDown:' true
#'direction:' #up
)
#(#ActionButtonSpec
#'name:' 'Button'
- #'layout:' #(#LayoutFrame 20 0 20 0 119 0 42 0)
+ #'layout:' #(#LayoutFrame 20 0 15 0 119 0 37 0)
#'label:' 'Button'
)
#(#RadioButtonSpec
#'name:' 'RadioButton'
- #'layout:' #(#LayoutFrame 127 0.0 20 0 226 0 42 0)
+ #'layout:' #(#LayoutFrame 135 0.0 15 0 258 0 37 0)
#'label:' 'RadioButton'
#'isTriggerOnDown:' true
#'showLamp:' true
@@ -375,32 +371,32 @@
)
#(#ArrowButtonSpec
#'name:' 'ArrowButton down'
- #'layout:' #(#LayoutFrame 237 0 51 0 259 0 73 0)
+ #'layout:' #(#LayoutFrame 276 0 46 0 298 0 68 0)
#'isTriggerOnDown:' true
#'direction:' #down
)
#(#ArrowButtonSpec
#'name:' 'ArrowButton left'
- #'layout:' #(#LayoutFrame 237 0 82 0 259 0 104 0)
+ #'layout:' #(#LayoutFrame 276 0 77 0 298 0 99 0)
#'isTriggerOnDown:' true
#'direction:' #left
)
#(#ArrowButtonSpec
#'name:' 'ArrowButton right'
- #'layout:' #(#LayoutFrame 237 0 113 0 259 0 135 0)
+ #'layout:' #(#LayoutFrame 276 0 108 0 298 0 130 0)
#'isTriggerOnDown:' true
#'direction:' #right
)
#(#CheckToggleSpec
#'name:' 'CheckToggle'
- #'layout:' #(#LayoutFrame 297 0 82 0 317 0 102 0)
+ #'layout:' #(#LayoutFrame 317 0 77 0 337 0 97 0)
#'isTriggerOnDown:' true
#'showLamp:' false
#'lampColor:' #(#Color 100.0 100.0 0.0)
)
#(#ToggleSpec
#'name:' 'Toggle'
- #'layout:' #(#LayoutFrame 297 0 20 0 396 0 42 0)
+ #'layout:' #(#LayoutFrame 317 0 15 0 436 0 37 0)
#'label:' 'Toggle'
#'isTriggerOnDown:' true
#'showLamp:' true
@@ -408,24 +404,24 @@
)
#(#CheckBoxSpec
#'name:' 'CheckBox'
- #'layout:' #(#LayoutFrame 297 0 51 0 396 0 73 0)
+ #'layout:' #(#LayoutFrame 317 0 46 0 436 0 68 0)
#'label:' 'CheckBox'
)
#(#ActionButtonSpec
#'name:' 'ok'
- #'layout:' #(#LayoutFrame 20 0 51 0 119 0 73 0)
+ #'layout:' #(#LayoutFrame 20 0 46 0 119 0 68 0)
#'label:' 'ok'
#'model:' #accept
)
#(#ActionButtonSpec
#'name:' 'cancel'
- #'layout:' #(#LayoutFrame 20 0 82 0 119 0 104 0)
+ #'layout:' #(#LayoutFrame 20 0 77 0 119 0 99 0)
#'label:' 'cancel'
#'model:' #cancel
)
#(#ActionButtonSpec
#'name:' 'help'
- #'layout:' #(#LayoutFrame 20 0 113 0 119 0 135 0)
+ #'layout:' #(#LayoutFrame 20 0 108 0 119 0 130 0)
#'label:' 'help'
#'model:' #help
)
@@ -452,10 +448,12 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 370 203)
+ #'name:' 'Canvas'
+ #'layout:' #(#LayoutFrame 62 0 64 0 516 0 292 0)
+ #'label:' 'Canvas'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1160 870)
+ #'bounds:' #(#Rectangle 62 64 517 293)
)
#'component:'
#(#SpecCollection
@@ -463,12 +461,11 @@
#(
#(#UIGalleryViewSpec
#'name:' 'Gallery'
- #'layout:' #(#LayoutFrame 16 0 19 0 168 0 92 0)
- #'tabWidget:' #Window
+ #'layout:' #(#LayoutFrame 20 0 15 0 197 0 106 0)
)
#(#LabelSpec
#'name:' 'GalleryLabel'
- #'layout:' #(#AlignmentOrigin 20 0 88 0 0 1)
+ #'layout:' #(#Point 24 84)
#'label:' 'Gallery'
#'style:'
#(#FontDescription
@@ -481,11 +478,11 @@
)
#(#UISubSpecification
#'name:' 'SubSpecification'
- #'layout:' #(#LayoutFrame 182 0 19 0 334 0 92 0)
+ #'layout:' #(#LayoutFrame 218 0 15 0 395 0 106 0)
)
#(#LabelSpec
#'name:' 'SubSpecificationLabel'
- #'layout:' #(#AlignmentOrigin 186 0 88 0 0 1)
+ #'layout:' #(#Point 222 84)
#'label:' 'SubSpecification'
#'style:'
#(#FontDescription
@@ -497,13 +494,13 @@
)
#(#SubCanvasSpec
#'name:' 'SubCanvas'
- #'layout:' #(#LayoutFrame 182 0 104 0 334 0 177 0)
+ #'layout:' #(#LayoutFrame 20 0 126 0 197 0 217 0)
#'hasHorizontalScrollBar:' true
#'hasVerticalScrollBar:' true
)
#(#LabelSpec
#'name:' 'subCanvasLabel'
- #'layout:' #(#AlignmentOrigin 255 0 158 0 0 0)
+ #'layout:' #(#AlignmentOrigin 95 0 197 0 0 0)
#'label:' 'SubCanvas'
#'style:'
#(#FontDescription
@@ -526,21 +523,23 @@
handle the specification if its corrupted."
"
- UIPainter new openOnClass:self andSelector:#standardMenus
- self new openInterface:#standardMenus
+ UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus
+ UISelectionPanel new openInterface:#standardMenus
"
<resource: #canvas>
^
-
+
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 464 253)
+ #'name:' 'Menus'
+ #'layout:' #(#LayoutFrame 133 0 90 0 619 0 339 0)
+ #'label:' 'Menus'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 133 90 620 340)
)
#'component:'
#(#SpecCollection
@@ -548,36 +547,56 @@
#(
#(#ComboBoxSpec
#'name:' 'ComboBox'
- #'layout:' #(#LayoutFrame 20 0 14 0 123 0 34 0)
+ #'layout:' #(#LayoutFrame 20 0 15 0 145 0 35 0)
+ )
+ #(#LabelSpec
+ #'name:' 'ComboBoxLabel'
+ #'layout:' #(#LayoutFrame 22 0 17 0 94 0 35 0)
+ #'label:' 'ComboBox'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
+ )
+ #(#PopUpListSpec
+ #'name:' 'PopUpList'
+ #'layout:' #(#LayoutFrame 184 0 15 0 287 0 37 0)
+ #'label:' 'PopUpList'
+ #'useIndex:' false
+ )
+ #(#TabViewSpec
+ #'name:' 'TabView'
+ #'layout:' #(#LayoutFrame 314 0 15 0 454 0 51 0)
)
#(#ComboListSpec
#'name:' 'ComboList'
- #'layout:' #(#LayoutFrame 20 0 71 0 123 0 91 0)
+ #'layout:' #(#LayoutFrame 20 0 71 0 145 0 91 0)
#'useIndex:' false
)
- #(#PopUpListSpec
- #'name:' 'PopUpList'
- #'layout:' #(#LayoutFrame 147 0 14 0 250 0 36 0)
- #'label:' 'PopUpList'
- #'useIndex:' false
+ #(#LabelSpec
+ #'name:' 'ComboListLabel'
+ #'layout:' #(#LayoutFrame 22 0 74 0 94 0 92 0)
+ #'label:' 'ComboList'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
)
#(#MenuPanelSpec
#'name:' 'MenuPanel'
- #'layout:' #(#LayoutFrame 147 0 71 0 250 0 91 0)
- )
- #(#TabViewSpec
- #'name:' 'TabView'
- #'layout:' #(#LayoutFrame 269 0 14 0 409 0 50 0)
- #'tabWidget:' #Window
- )
- #(#NoteBookViewSpec
- #'name:' 'NoteBookView'
- #'layout:' #(#LayoutFrame 269 0 71 0 409 0 159 0)
- #'tabWidget:' #Window
+ #'layout:' #(#LayoutFrame 184 0 71 0 285 0 94 0)
)
#(#LabelSpec
- #'name:' 'label1'
- #'layout:' #(#LayoutFrame 150 0 73 0 236 0 89 0)
+ #'name:' 'MenuPanelLabel'
+ #'layout:' #(#Point 190 74)
#'label:' 'MenuPanel'
#'style:'
#(#FontDescription
@@ -585,13 +604,42 @@
#roman #'10'
)
#'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
+ )
+ #(#NoteBookViewSpec
+ #'name:' 'NoteBookView'
+ #'layout:' #(#LayoutFrame 314 0 71 0 454 0 159 0)
+ )
+ #(#LabelSpec
+ #'name:' 'NoteBookLabel'
+ #'layout:' #(#Point 317 139)
+ #'label:' 'NoteBook'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
+ )
+ #(#LabelSpec
+ #'name:' 'TabLabel'
+ #'layout:' #(#Point 326 28)
+ #'label:' 'Tabs'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
#'canUIDrag:' false
)
)
)
)
-
-
!
standardPanels
@@ -612,10 +660,12 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 411 131)
+ #'name:' 'Panels'
+ #'layout:' #(#LayoutFrame 88 0 80 0 596 0 298 0)
+ #'label:' 'Panels'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 88 80 597 299)
)
#'component:'
#(#SpecCollection
@@ -623,7 +673,7 @@
#(
#(#HorizontalPanelViewSpec
#'name:' 'HorizontalPanelView'
- #'layout:' #(#LayoutFrame 20 0 20 0 104 0 105 0)
+ #'layout:' #(#LayoutFrame 20 0 15 0 104 0 105 0)
#'component:'
#(#SpecCollection
#'collection:'
@@ -658,7 +708,7 @@
)
#(#VariableHorizontalPanelSpec
#'name:' 'VariableHorizontalPanel'
- #'layout:' #(#LayoutFrame 249 0 20 0 323 0 105 0)
+ #'layout:' #(#LayoutFrame 264 0 15 0 338 0 105 0)
#'component:'
#(#SpecCollection
#'collection:'
@@ -677,10 +727,11 @@
)
)
)
+ #'handles:' #(#Any 0.5 1.0)
)
#(#VerticalPanelViewSpec
#'name:' 'VerticalPanelView'
- #'layout:' #(#LayoutFrame 110 0 20 0 168 0 105 0)
+ #'layout:' #(#LayoutFrame 112 0 15 0 170 0 105 0)
#'component:'
#(#SpecCollection
#'collection:'
@@ -715,7 +766,7 @@
)
#(#VariableVerticalPanelSpec
#'name:' 'VariableVerticalPanel'
- #'layout:' #(#LayoutFrame 328 0 20 0 402 0 105 0)
+ #'layout:' #(#LayoutFrame 347 0 15 0 421 0 105 0)
#'component:'
#(#SpecCollection
#'collection:'
@@ -734,10 +785,11 @@
)
)
)
+ #'handles:' #(#Any 0.5 1.0)
)
#(#PanelViewSpec
#'name:' 'PanelView'
- #'layout:' #(#LayoutFrame 174 0 20 0 232 0 105 0)
+ #'layout:' #(#LayoutFrame 178 0 15 0 236 0 105 0)
#'component:'
#(#SpecCollection
#'collection:'
@@ -784,6 +836,18 @@
#'horizontalSpace:' 3
#'verticalSpace:' 3
)
+ #(#LabelSpec
+ #'name:' 'PanelLabel'
+ #'layout:' #(#LayoutFrame 22 0 120 0 235 0 143 0)
+ #'label:' 'Panels'
+ #'canUIDrag:' false
+ )
+ #(#LabelSpec
+ #'name:' 'VPanelLabel'
+ #'layout:' #(#LayoutFrame 264 0 120 0 421 0 143 0)
+ #'label:' 'Variable Panels'
+ #'canUIDrag:' false
+ )
)
)
)
@@ -796,21 +860,23 @@
handle the specification if its corrupted."
"
- UIPainter new openOnClass:self andSelector:#standardSliders
- self new openInterface:#standardSliders
+ UIPainter new openOnClass:UISelectionPanel andSelector:#standardSliders
+ UISelectionPanel new openInterface:#standardSliders
"
<resource: #canvas>
^
-
+
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 445 162)
+ #'name:' 'Sliders'
+ #'layout:' #(#LayoutFrame 314 0 99 0 758 0 260 0)
+ #'label:' 'Sliders'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 314 99 759 261)
)
#'component:'
#(#SpecCollection
@@ -818,29 +884,35 @@
#(
#(#SliderSpec
#'name:' 'Vertical Slider'
- #'layout:' #(#LayoutFrame 20 0 20 0 38 0 108 0)
+ #'layout:' #(#LayoutFrame 20 0 15 0 38 0 108 0)
#'orientation:' #vertical
+ #'start:' 0
+ #'stop:' 100
+ #'step:' 1
)
#(#ThumbWheelSpec
#'name:' 'Vertical ThumbWheel'
- #'layout:' #(#LayoutFrame 48 0 20 0 63 0 108 0)
+ #'layout:' #(#LayoutFrame 48 0 15 0 63 0 108 0)
#'orientation:' #vertical
#'start:' 0
#'stop:' 360
+ #'step:' 1
)
#(#ThumbWheelSpec
#'name:' 'Horizontal ThumbWheel'
- #'layout:' #(#LayoutFrame 102 0 20 0 191 0 35 0)
+ #'layout:' #(#LayoutFrame 102 0 15 0 191 0 30 0)
#'orientation:' #horizontal
#'start:' 0
#'stop:' 360
+ #'step:' 1
)
#(#SliderSpec
#'name:' 'Horizontal Slider'
- #'layout:' #(#LayoutFrame 102 0 53 0 191 0 71 0)
+ #'layout:' #(#LayoutFrame 102 0 52 0 191 0 70 0)
#'orientation:' #horizontal
#'start:' 0
#'stop:' 100
+ #'step:' 1
)
#(#ProgressIndicatorSpec
#'name:' 'Progress Indicator'
@@ -850,7 +922,6 @@
)
)
)
-
!
standardText
@@ -871,45 +942,45 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 467 207)
+ #'name:' 'Text'
+ #'layout:' #(#LayoutFrame 139 0 32 0 605 0 238 0)
+ #'label:' 'Text'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 139 32 606 239)
)
#'component:'
#(#SpecCollection
#'collection:'
#(
- #(#InputFieldSpec
- #'name:' 'EditField'
- #'layout:' #(#LayoutFrame 20 0 100 0 199 0 122 0)
- )
- #(#LabelSpec
- #'name:' 'Text Label'
- #'layout:' #(#LayoutFrame 20 0 128 0 199 0 150 0)
- #'label:' 'Label'
- )
#(#TextEditorSpec
- #'name:' 'EditTextView'
- #'layout:' #(#LayoutFrame 20 0 13 0 199 0 94 0)
+ #'name:' 'EditText'
+ #'layout:' #(#LayoutFrame 20 0 15 0 215 0 120 0)
#'hasHorizontalScrollBar:' true
#'hasVerticalScrollBar:' true
)
- #(#SequenceViewSpec
- #'name:' 'SelectionInListView'
- #'layout:' #(#LayoutFrame 222 0 13 0 401 0 94 0)
- #'hasHorizontalScrollBar:' true
- #'hasVerticalScrollBar:' true
+ #(#LabelSpec
+ #'name:' 'EditTextLabel'
+ #'layout:' #(#AlignmentOrigin 93 0 120 0 0 1)
+ #'label:' 'EditText'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
)
#(#HTMLViewSpec
#'name:' 'HTMLView'
- #'layout:' #(#LayoutFrame 222 0 100 0 401 0 181 0)
+ #'layout:' #(#LayoutFrame 240 0 15 0 436 0 120 0)
#'hasHorizontalScrollBar:' true
#'hasVerticalScrollBar:' true
)
#(#LabelSpec
#'name:' 'HTMLViewLabel'
- #'layout:' #(#AlignmentOrigin 295 0 178 0 0 1)
+ #'layout:' #(#AlignmentOrigin 314 0 120 0 0 1)
#'label:' 'HTMLView'
#'style:'
#(#FontDescription
@@ -920,10 +991,14 @@
#'resizeForLabel:' true
#'canUIDrag:' false
)
+ #(#InputFieldSpec
+ #'name:' 'EditField'
+ #'layout:' #(#LayoutFrame 20 0 142 0 215 0 164 0)
+ )
#(#LabelSpec
- #'name:' 'label1'
- #'layout:' #(#AlignmentOrigin 93 0 91 0 0 1)
- #'label:' 'EditText'
+ #'name:' 'EditFieldLabel'
+ #'layout:' #(#LayoutFrame 55 0 144 0 115 0 162 0)
+ #'label:' 'EditField'
#'style:'
#(#FontDescription
#helvetica #medium
@@ -934,17 +1009,9 @@
#'canUIDrag:' false
)
#(#LabelSpec
- #'name:' 'label2'
- #'layout:' #(#AlignmentOrigin 295 0 91 0 0 1)
- #'label:' 'SelectionInList'
- #'style:'
- #(#FontDescription
- #helvetica #medium
- #roman #'10'
- )
- #'adjust:' #left
- #'resizeForLabel:' true
- #'canUIDrag:' false
+ #'name:' 'Label'
+ #'layout:' #(#LayoutFrame 240 0 142 0 436 0 164 0)
+ #'label:' 'Label'
)
)
)
@@ -969,9 +1036,9 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
+ #'name:' 'UserPanel'
#'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
+ #'label:' 'UserPanel'
#'bounds:' #(#Rectangle 0 0 445 162)
)
#'component:'
@@ -1008,10 +1075,12 @@
#(#FullSpec
#'window:'
#(#WindowSpec
- #'name:' 'uIPainterView'
- #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
- #'label:' 'unnamed'
- #'bounds:' #(#Rectangle 0 0 431 200)
+ #'name:' 'Views'
+ #'layout:' #(#LayoutFrame 158 0 56 0 637 0 284 0)
+ #'label:' 'Views'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 158 56 638 285)
)
#'component:'
#(#SpecCollection
@@ -1019,27 +1088,76 @@
#(
#(#FramedBoxSpec
#'name:' 'FramedBox'
- #'layout:' #(#LayoutFrame 16 0 14 0 136 0 94 0)
+ #'layout:' #(#LayoutFrame 20 0 15 0 187 0 95 0)
#'label:' 'FramedBox'
#'labelPosition:' #topCenter
)
- #(#ViewSpec
- #'name:' 'View'
- #'layout:' #(#LayoutFrame 152 0 14 0 266 0 94 0)
+ #(#ArbitraryComponentSpec
+ #'name:' 'ArbitraryComponent'
+ #'layout:' #(#LayoutFrame 247 0 15 0 414 0 95 0)
+ #'hasBorder:' false
+ )
+ #(#LabelSpec
+ #'name:' 'ArbitraryComponentLabel'
+ #'layout:' #(#AlignmentOrigin 253 0 21 0 0 0)
+ #'label:' 'ArbitraryComponent'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
+ )
+ #(#DividerSpec
+ #'name:' 'Vertical Separator'
+ #'layout:' #(#LayoutFrame 20 0 115 0 24 0 195 0)
+ #'orientation:' #vertical
)
#(#DividerSpec
#'name:' 'Horizontal Separator'
- #'layout:' #(#LayoutFrame 16 0 107 0 137 0 111 0)
+ #'layout:' #(#LayoutFrame 20 0 115 0 126 0 119 0)
#'orientation:' #horizontal
)
- #(#DividerSpec
- #'name:' 'Vertical Separator'
- #'layout:' #(#LayoutFrame 16 0 107 0 20 0 159 0)
- #'orientation:' #vertical
+ #(#LabelSpec
+ #'name:' 'SeparatorsLabel'
+ #'layout:' #(#AlignmentOrigin 126 0 135 0 1 0.5)
+ #'label:' 'Separators'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'adjust:' #left
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
+ )
+ #(#RegionSpec
+ #'name:' 'Region'
+ #'layout:' #(#LayoutFrame 147 0 115 0 227 0 195 0)
+ #'lineWidth:' 2
+ #'regionType:' #ellipse
)
#(#LabelSpec
- #'name:' 'viewLabel'
- #'layout:' #(#AlignmentOrigin 158 0 20 0 0 0)
+ #'name:' 'RegionLabel'
+ #'layout:' #(#AlignmentOrigin 186 0 155 0 0.5 0.5)
+ #'label:' 'Region'
+ #'style:'
+ #(#FontDescription
+ #helvetica #medium
+ #roman #'10'
+ )
+ #'resizeForLabel:' true
+ #'canUIDrag:' false
+ )
+ #(#ViewSpec
+ #'name:' 'View'
+ #'layout:' #(#LayoutFrame 247 0 115 0 414 0 195 0)
+ )
+ #(#LabelSpec
+ #'name:' 'ViewLabel'
+ #'layout:' #(#AlignmentOrigin 253 0 120 0 0 0)
#'label:' 'View'
#'style:'
#(#FontDescription
@@ -1050,53 +1168,66 @@
#'resizeForLabel:' true
#'canUIDrag:' false
)
+ )
+ )
+ )
+!
+
+standartLists
+ "this window spec was automatically generated by the ST/X UIPainter"
+
+ "do not manually edit this - the painter/builder may not be able to
+ handle the specification if its corrupted."
+
+ "
+ UIPainter new openOnClass:UISelectionPanel andSelector:#standartLists
+ UISelectionPanel new openInterface:#standartLists
+ "
+
+ <resource: #canvas>
+
+ ^
+
+ #(#FullSpec
+ #'window:'
+ #(#WindowSpec
+ #'name:' 'Lists'
+ #'layout:' #(#LayoutFrame 386 0 373 0 852 0 579 0)
+ #'label:' 'Lists'
+ #'min:' #(#Point 10 10)
+ #'max:' #(#Point 1280 1024)
+ #'bounds:' #(#Rectangle 386 373 853 580)
+ )
+ #'component:'
+ #(#SpecCollection
+ #'collection:'
+ #(
+ #(#SequenceViewSpec
+ #'name:' 'SelectionInList'
+ #'layout:' #(#LayoutFrame 19 0 13 0 224 0 107 0)
+ #'hasHorizontalScrollBar:' true
+ #'hasVerticalScrollBar:' true
+ )
#(#LabelSpec
- #'name:' 'Separators'
- #'layout:' #(#AlignmentOrigin 136 0 117 0 1 0)
- #'label:' 'Separators'
- #'style:'
- #(#FontDescription
- #helvetica #medium
- #roman #'10'
- )
+ #'name:' 'SelectionInListLabel'
+ #'layout:' #(#AlignmentOrigin 92 0 108 0 0 1)
+ #'label:' 'SelectionInList'
+ #'style:' #(#FontDescription #helvetica #medium #roman #'10')
#'adjust:' #left
#'resizeForLabel:' true
#'canUIDrag:' false
)
- #(#ArbitraryComponentSpec
- #'name:' 'ArbitraryComponent'
- #'layout:' #(#LayoutFrame 278 0 14 0 392 0 94 0)
- #'hasHorizontalScrollBar:' false
- #'hasVerticalScrollBar:' false
- #'hasBorder:' false
- )
- #(#RegionSpec
- #'name:' 'Region'
- #'layout:' #(#LayoutFrame 146 0 107 0 211 0 172 0)
- #'lineWidth:' 2
- #'regionType:' #ellipse
+ #(#SelectionInTreeViewSpec
+ #'name:' 'selectionInTree'
+ #'layout:' #(#LayoutFrame 244 0 13 0 449 0 107 0)
+ #'hasHorizontalScrollBar:' true
+ #'hasVerticalScrollBar:' true
)
#(#LabelSpec
- #'name:' 'RegionLabel'
- #'layout:' #(#AlignmentOrigin 181 0 140 0 0.5 0.5)
- #'label:' 'Region'
- #'style:'
- #(#FontDescription
- #helvetica #medium
- #roman #'10'
- )
- #'resizeForLabel:' true
- #'canUIDrag:' false
- )
- #(#LabelSpec
- #'name:' 'ArbitraryComponentLabel'
- #'layout:' #(#AlignmentOrigin 284 0 20 0 0 0)
- #'label:' 'ArbitraryComponent'
- #'style:'
- #(#FontDescription
- #helvetica #medium
- #roman #'10'
- )
+ #'name:' 'SelectionInTreeLabel'
+ #'layout:' #(#AlignmentOrigin 317 0 108 0 0 1)
+ #'label:' 'SelectionInTree'
+ #'style:' #(#FontDescription #helvetica #medium #roman #'10')
#'adjust:' #left
#'resizeForLabel:' true
#'canUIDrag:' false
@@ -1284,17 +1415,15 @@
update:something with:aParameter from:changedObject
"one of my models changed its value
"
- |channel label|
+ |channel label topView|
(channel := self clientSpec) == changedObject ifTrue:[
- label := self builder componentAt:#clientSpecLabel.
+ topView := builder window topView.
- channel value notNil ifTrue:[
- label label:(' ', channel value name, ' ').
- label level:1.
+ (label := channel value) notNil ifTrue:[
+ topView label:label name, ' '.
] ifFalse:[
- label label:nil.
- label level:0.
+ topView label:'Component Gallery '
]
].