equal
deleted
inserted
replaced
154 |
154 |
155 minorKeys:aListOfSelectors |
155 minorKeys:aListOfSelectors |
156 "set the list of selectors |
156 "set the list of selectors |
157 " |
157 " |
158 minorKeys := aListOfSelectors. |
158 minorKeys := aListOfSelectors. |
159 tabRaw selection:nil. |
159 self selection:nil. |
160 ! ! |
160 ! ! |
161 |
161 |
162 !UIGalleryView methodsFor:'accessing holders'! |
162 !UIGalleryView methodsFor:'accessing holders'! |
163 |
163 |
164 clientSpecHolder |
164 clientSpecHolder |
204 self minorKeys:(minorKeysHolder value) |
204 self minorKeys:(minorKeysHolder value) |
205 ! ! |
205 ! ! |
206 |
206 |
207 !UIGalleryView methodsFor:'change & update'! |
207 !UIGalleryView methodsFor:'change & update'! |
208 |
208 |
209 selectionChangedTo:something |
209 selectionChanged |
210 "selection changed |
210 "selection changed |
211 " |
211 " |
212 |specification selector selection application| |
212 |specification selector selection application| |
213 |
213 |
214 selection := tabRaw listIndexOf:something. |
214 selection := self listIndexOf:(self selection). |
215 |
215 |
216 minorKeysHolder notNil ifTrue:[ |
216 minorKeysHolder notNil ifTrue:[ |
217 minorKeys := minorKeysHolder value. |
217 minorKeys := minorKeysHolder value. |
218 ]. |
218 ]. |
219 |
219 |
237 canvas specification:specification. |
237 canvas specification:specification. |
238 |
238 |
239 ! |
239 ! |
240 |
240 |
241 update |
241 update |
242 self selectionChangedTo:(tabRaw selection). |
242 self selectionChanged. |
243 ! |
243 ! |
244 |
244 |
245 update:something with:aParameter from:changedObject |
245 update:something with:aParameter from:changedObject |
246 "one of my models changed its value |
246 "one of my models changed its value |
247 " |
247 " |
267 " |
267 " |
268 canvas := Canvas. |
268 canvas := Canvas. |
269 |
269 |
270 super initialize. |
270 super initialize. |
271 |
271 |
272 tabRaw action:[:something| self selectionChangedTo:something ]. |
272 self action:[:something| self selectionChanged ]. |
273 |
273 |
274 ! ! |
274 ! ! |
275 |
275 |
276 !UIGalleryView::Canvas methodsFor:'accessing'! |
276 !UIGalleryView::Canvas methodsFor:'accessing'! |
277 |
277 |