Hi Stephane,
I get the following exception when trying to browse TNumerable:
Trait(Object)>>doesNotUnderstand: #superclass Receiver: TNumberable Arguments and temporary variables: aMessage: superclass Receiver's instance variables: methodDict: a MethodDictionary(#adaptToCollection:andSend:->a CompiledMethod (7...etc... traitComposition: {} localSelectors: nil users: an IdentitySet(Complex Number) organization: ('converting' adaptToCollection:andSend:) ('mathematical function...etc... name: #TNumberable environment: a SystemDictionary(lots of globals) classTrait: TNumberable classTrait
WhiskerWindow>>selectClass: Receiver: a WhiskerWindow(1378) Arguments and temporary variables: aClassOrMetaclass: TNumberable aClass: TNumberable parent: TNumberable parentClassCollection: an OrderedCollection('TNumberable') parentCategoryCollection: nil categorySections: nil str: nil Receiver's instance variables: bounds: 455@25 corner: 1255@825 owner: a PasteUpMorph(1622) [world] submorphs: #(an AlignmentMorph(1694) a TitledPane(1068)('Class Hierarchy' with ...etc... fullBounds: 455@25 corner: 1255@825 color: Color white extension: a MorphExtension (3900) [eventHandler = an EventHandler; mouseEnterS...etc... borderWidth: 2 borderColor: #raised model: a WhiskerBrowser slotName: nil open: false labelString: 'Whisker' stripes: #(a RectangleMorph(2197) a RectangleMorph(3578)) label: a StringMorph(1629)'Whisker' closeBox: an IconicButton(883) collapseBox: an IconicButton(1514) activeOnlyOnTop: true paneMorphs: an OrderedCollection(a TitledPane(418)('Class Categories' with a La...etc... paneRects: nil collapsedFrame: nil fullFrame: 455@25 corner: 1255@825 isCollapsed: false menuBox: an IconicButton(1905) mustNotClose: false labelWidgetAllowance: 91 updatablePanes: #() allowReframeHandles: true labelArea: an AlignmentMorph(1694) expandBox: an IconicButton(2299) background: a RectangleMorph(2905) lastSelectedMethodPane: a TitledPane(216)('' with nil) classCategoryPane: a TitledPane(418)('Class Categories' with a LayoutFrame(left...etc... classHierarchyPane: a TitledPane(1068)('Class Hierarchy' with a LayoutFrame(lef...etc... classPanes: an OrderedCollection() methodPanes: an OrderedCollection()
WhiskerBrowser class>>openExistingBrowserOnClass:selector: Receiver: WhiskerBrowser Arguments and temporary variables: aClass: TNumberable aSelector: nil windows: an OrderedCollection(a WhiskerWindow(1378) a SystemWindow<Browser>(323...etc... collapsedWindows: an OrderedCollection(a SystemWindow(1318)) whiskerWindow: a WhiskerWindow(1378) paneToFlash: nil w: a WhiskerWindow(1378) Receiver's instance variables: superclass: CodeHolder methodDict: a MethodDictionary(#canDiscardEdits->a CompiledMethod (1614) #confi...etc... format: 144 traitComposition: nil localSelectors: nil instanceVariables: #('selectedClasses' 'selectedMethodsDict' 'showVersionDiffs'...etc... organization: ('accessing' showVersionDiffs showVersionDiffs:) ('changing state...etc... subclasses: nil name: #WhiskerBrowser classPool: nil sharedPools: nil environment: a SystemDictionary(lots of globals) category: nil
WhiskerBrowser class>>openExistingBrowserOnClass:selector: Receiver: WhiskerBrowser Arguments and temporary variables: aClass: TNumberable aSelector: nil windows: an OrderedCollection(a SystemWindow<Browser>(3236) a SMLoader(3867) a ...etc... collapsedWindows: an OrderedCollection(a SystemWindow(1318)) whiskerWindow: nil paneToFlash: nil w: a SystemWindow(1318) Receiver's instance variables: superclass: CodeHolder methodDict: a MethodDictionary(#canDiscardEdits->a CompiledMethod (1614) #confi...etc... format: 144 traitComposition: nil localSelectors: nil instanceVariables: #('selectedClasses' 'selectedMethodsDict' 'showVersionDiffs'...etc... organization: ('accessing' showVersionDiffs showVersionDiffs:) ('changing state...etc... subclasses: nil name: #WhiskerBrowser classPool: nil sharedPools: nil environment: a SystemDictionary(lots of globals) category: nil
--- The full stack --- Trait(Object)>>doesNotUnderstand: #superclass ...etc...
Take care, Mike.
Receive and share.
On Mon Apr 04 05:38:47 PDT 2005, =?ISO-8859-1?Q?st=E9phane_ducasse?= ducasse@iam.unibe.ch wrote:
have you tried because I do not think why traits would interfere.
Stef
On 4 avr. 05, at 14:09, Mike wrote:
I understand that Traits is much more complete than MiniTraits, but I am in love with the whisker browser, and I suspected that using MiniTraits will interfere with it much less than Traits (I will check if this fear is justified)
this is normal since Traits do not have superclass. So this means that Whisker is not ready for traits. now we know.
Stef
On 4 avr. 05, at 18:11, Mike wrote:
Hi Stephane,
I get the following exception when trying to browse TNumerable:
Trait(Object)>>doesNotUnderstand: #superclass Receiver: TNumberable Arguments and temporary variables: aMessage: superclass Receiver's instance variables: methodDict: a MethodDictionary(#adaptToCollection:andSend:->a CompiledMethod (7...etc... traitComposition: {} localSelectors: nil users: an IdentitySet(Complex Number) organization: ('converting' adaptToCollection:andSend:) ('mathematical function...etc... name: #TNumberable environment: a SystemDictionary(lots of globals) classTrait: TNumberable classTrait
WhiskerWindow>>selectClass: Receiver: a WhiskerWindow(1378) Arguments and temporary variables: aClassOrMetaclass: TNumberable aClass: TNumberable parent: TNumberable parentClassCollection: an OrderedCollection('TNumberable') parentCategoryCollection: nil categorySections: nil str: nil Receiver's instance variables: bounds: 455@25 corner: 1255@825 owner: a PasteUpMorph(1622) [world] submorphs: #(an AlignmentMorph(1694) a TitledPane(1068)('Class Hierarchy' with ...etc... fullBounds: 455@25 corner: 1255@825 color: Color white extension: a MorphExtension (3900) [eventHandler = an EventHandler; mouseEnterS...etc... borderWidth: 2 borderColor: #raised model: a WhiskerBrowser slotName: nil open: false labelString: 'Whisker' stripes: #(a RectangleMorph(2197) a RectangleMorph(3578)) label: a StringMorph(1629)'Whisker' closeBox: an IconicButton(883) collapseBox: an IconicButton(1514) activeOnlyOnTop: true paneMorphs: an OrderedCollection(a TitledPane(418)('Class Categories' with a La...etc... paneRects: nil collapsedFrame: nil fullFrame: 455@25 corner: 1255@825 isCollapsed: false menuBox: an IconicButton(1905) mustNotClose: false labelWidgetAllowance: 91 updatablePanes: #() allowReframeHandles: true labelArea: an AlignmentMorph(1694) expandBox: an IconicButton(2299) background: a RectangleMorph(2905) lastSelectedMethodPane: a TitledPane(216)('' with nil) classCategoryPane: a TitledPane(418)('Class Categories' with a LayoutFrame(left...etc... classHierarchyPane: a TitledPane(1068)('Class Hierarchy' with a LayoutFrame(lef...etc... classPanes: an OrderedCollection() methodPanes: an OrderedCollection()
WhiskerBrowser class>>openExistingBrowserOnClass:selector: Receiver: WhiskerBrowser Arguments and temporary variables: aClass: TNumberable aSelector: nil windows: an OrderedCollection(a WhiskerWindow(1378) a SystemWindow<Browser>(323...etc... collapsedWindows: an OrderedCollection(a SystemWindow(1318)) whiskerWindow: a WhiskerWindow(1378) paneToFlash: nil w: a WhiskerWindow(1378) Receiver's instance variables: superclass: CodeHolder methodDict: a MethodDictionary(#canDiscardEdits->a CompiledMethod (1614) #confi...etc... format: 144 traitComposition: nil localSelectors: nil instanceVariables: #('selectedClasses' 'selectedMethodsDict' 'showVersionDiffs'...etc... organization: ('accessing' showVersionDiffs showVersionDiffs:) ('changing state...etc... subclasses: nil name: #WhiskerBrowser classPool: nil sharedPools: nil environment: a SystemDictionary(lots of globals) category: nil
WhiskerBrowser class>>openExistingBrowserOnClass:selector: Receiver: WhiskerBrowser Arguments and temporary variables: aClass: TNumberable aSelector: nil windows: an OrderedCollection(a SystemWindow<Browser>(3236) a SMLoader(3867) a ...etc... collapsedWindows: an OrderedCollection(a SystemWindow(1318)) whiskerWindow: nil paneToFlash: nil w: a SystemWindow(1318) Receiver's instance variables: superclass: CodeHolder methodDict: a MethodDictionary(#canDiscardEdits->a CompiledMethod (1614) #confi...etc... format: 144 traitComposition: nil localSelectors: nil instanceVariables: #('selectedClasses' 'selectedMethodsDict' 'showVersionDiffs'...etc... organization: ('accessing' showVersionDiffs showVersionDiffs:) ('changing state...etc... subclasses: nil name: #WhiskerBrowser classPool: nil sharedPools: nil environment: a SystemDictionary(lots of globals) category: nil
--- The full stack --- Trait(Object)>>doesNotUnderstand: #superclass ...etc...
Take care, Mike.
Receive and share.
On Mon Apr 04 05:38:47 PDT 2005, =?ISO-8859-1?Q?st=E9phane_ducasse?= ducasse@iam.unibe.ch wrote:
have you tried because I do not think why traits would interfere.
Stef
On 4 avr. 05, at 14:09, Mike wrote:
I understand that Traits is much more complete than MiniTraits, but I am in love with the whisker browser, and I suspected that using MiniTraits will interfere with it much less than Traits (I will check if this fear is justified)
squeak-dev@lists.squeakfoundation.org