total redeisign
authorClaus Gittinger <cg@exept.de>
Mon, 07 Jun 1999 14:46:14 +0200
changeset 1140 d0dee47ac385
parent 1139 c5940bfd4ce2
child 1141 b5607fe14ab1
total redeisign including: NoteBookView TabView TabViewSpec UIGalleryView
UIGalleryView.st
--- a/UIGalleryView.st	Mon May 31 18:44:46 1999 +0200
+++ b/UIGalleryView.st	Mon Jun 07 14:46:14 1999 +0200
@@ -156,7 +156,7 @@
     "set the list of selectors
     "
     minorKeys := aListOfSelectors.
-    tabRaw selection:nil.
+    self selection:nil.
 ! !
 
 !UIGalleryView methodsFor:'accessing holders'!
@@ -206,12 +206,12 @@
 
 !UIGalleryView methodsFor:'change & update'!
 
-selectionChangedTo:something
+selectionChanged
     "selection changed
     "
     |specification selector selection application|
 
-    selection := tabRaw listIndexOf:something.
+    selection := self listIndexOf:(self selection).
 
     minorKeysHolder notNil ifTrue:[
         minorKeys := minorKeysHolder value.
@@ -239,7 +239,7 @@
 !
 
 update
-    self selectionChangedTo:(tabRaw selection).
+    self selectionChanged.
 !
 
 update:something with:aParameter from:changedObject
@@ -269,7 +269,7 @@
 
     super initialize.
 
-    tabRaw action:[:something| self selectionChangedTo:something ].
+    self action:[:something| self selectionChanged ].
 
 ! !