BrowserView.st
changeset 357 1adbdbbef6ef
parent 356 74f314ce6039
child 363 709901a36b48
equal deleted inserted replaced
356:74f314ce6039 357:1adbdbbef6ef
  4231 
  4231 
  4232 "/    |oldSelector|
  4232 "/    |oldSelector|
  4233 
  4233 
  4234 "/    oldSelector := currentSelector.
  4234 "/    oldSelector := currentSelector.
  4235 
  4235 
       
  4236     aspect := nil.
  4236     (fullProtocol not and:[currentClass isNil]) ifTrue:[^ self].
  4237     (fullProtocol not and:[currentClass isNil]) ifTrue:[^ self].
  4237 
  4238 
  4238     currentMethodCategory := methodCategoryListView selectionValue.
  4239     currentMethodCategory := methodCategoryListView selectionValue.
  4239     self methodCategorySelectionChanged.
  4240     self methodCategorySelectionChanged.
  4240     aspect := nil.
       
  4241 
  4241 
  4242     "if there is only one method, show it right away"
  4242     "if there is only one method, show it right away"
  4243     methodListView list size == 1 ifTrue:[
  4243     methodListView list size == 1 ifTrue:[
  4244 	methodListView selection:1.
  4244         methodListView selection:1.
  4245 	self methodSelection:1
  4245         self methodSelection:1
  4246 "/    ] ifFalse:[
  4246 "/    ] ifFalse:[
  4247 "/      oldSelector notNil ifTrue:[
  4247 "/      oldSelector notNil ifTrue:[
  4248 "/          methodListView selectElement:oldSelector.
  4248 "/          methodListView selectElement:oldSelector.
  4249 "/          methodListView hasSelection ifTrue:[
  4249 "/          methodListView hasSelection ifTrue:[
  4250 "/              self methodSelection:methodListView selection.
  4250 "/              self methodSelection:methodListView selection.
  4251 "/          ]
  4251 "/          ]
  4252 "/      ]
  4252 "/      ]
  4253     ]
  4253     ]
  4254 
  4254 
  4255     "Created: 23.11.1995 / 14:19:56 / cg"
  4255     "Created: 23.11.1995 / 14:19:56 / cg"
       
  4256     "Modified: 9.2.1996 / 02:24:15 / cg"
  4256 !
  4257 !
  4257 
  4258 
  4258 methodCategorySelectionChanged
  4259 methodCategorySelectionChanged
  4259     "method category selection has changed - update dependent views"
  4260     "method category selection has changed - update dependent views"
  4260 
  4261 
  5570     codeView modified:false.
  5571     codeView modified:false.
  5571 
  5572 
  5572     self normalLabel.
  5573     self normalLabel.
  5573 
  5574 
  5574     "Created: 23.11.1995 / 14:16:43 / cg"
  5575     "Created: 23.11.1995 / 14:16:43 / cg"
  5575     "Modified: 8.2.1996 / 13:42:53 / cg"
  5576     "Modified: 9.2.1996 / 02:25:03 / cg"
  5576 ! !
  5577 ! !
  5577 
  5578 
  5578 !BrowserView methodsFor:'private'!
  5579 !BrowserView methodsFor:'private'!
  5579 
  5580 
  5580 askAndBrowseMethodCategory:title action:aBlock
  5581 askAndBrowseMethodCategory:title action:aBlock
  6758 ! !
  6759 ! !
  6759 
  6760 
  6760 !BrowserView class methodsFor:'documentation'!
  6761 !BrowserView class methodsFor:'documentation'!
  6761 
  6762 
  6762 version
  6763 version
  6763     ^ '$Header: /cvs/stx/stx/libtool/BrowserView.st,v 1.95 1996-02-09 01:14:53 cg Exp $'
  6764     ^ '$Header: /cvs/stx/stx/libtool/BrowserView.st,v 1.96 1996-02-09 01:25:44 cg Exp $'
  6764 ! !
  6765 ! !
  6765 BrowserView initialize!
  6766 BrowserView initialize!