SystemDictionary>>changes not understood when installing
MiniTraits into a clean image
stéphane ducasse
ducasse at iam.unibe.ch
Tue Apr 5 09:54:39 UTC 2005
I think that fixing that should be really easy.
There should be a isTraits method that should be checked before
displaying inheritance.
But I have not time to look at it now.
Stef
On 5 avr. 05, at 10:55, Mike wrote:
> Exactly, which is why I wanted to use MiniTraits, coz I could
> still edit them in Whisker. I guess there is a combinatorial
> problem when it comes to the different browsers and the Traits
> implementation i.e. they all have to be changed to explicitly deal
> with Traits. Is there any way around that?
>
> Thanks.
>
> Take care,
> Mike.
>
> Receive and share.
>
> On Mon Apr 04 11:35:36 PDT 2005,
> =?ISO-8859-1?Q?st=E9phane_ducasse?= <ducasse at iam.unibe.ch> wrote:
>
>> 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 at 25 corner: 1255 at 825
>>> owner: a PasteUpMorph(1622) [world]
>>> submorphs: #(an AlignmentMorph(1694) a TitledPane(1068)('Class
>>> Hierarchy' with ...etc...
>>> fullBounds: 455 at 25 corner: 1255 at 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 at 25 corner: 1255 at 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 at 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)
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>>
>
More information about the Squeak-dev
mailing list
|