Bug in Dolphin IDE Extensions Example.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in Dolphin IDE Extensions Example.

Sean Malloy-5
OAIDEExtensions class>>uninitialize never removes the onClassAdded:
listener. So when you remove the package, every time you install new
packages into the image you get a doesNotUnderstand error

i just created a couple of new methods:

OAIDEExtensions class>>ignoreSystemEvents
    Smalltalk developmentSystem removeEventsTriggeredFor: self.

OAIDEExtensions class>>ignoreToolEvents
    self ignoreSystemEvents.
    self classBrowserClasses do: [ :each | each removeEventsTriggeredFor:
self ].
    self nonClassBrowserTools do: [ :each | each removeEventsTriggeredFor:
self ].

OAIDEExtensions class>>uninitialize
    "
        self uninitialize
    "
    self ignoreToolEvents.



Not critical. Just annoying when you get the exception dialog after removing
the package


Reply | Threaded
Open this post in threaded view
|

Re: Bug in Dolphin IDE Extensions Example.

Blair McGlashan-3
"Sean Malloy" <[hidden email]> wrote in message
news:[hidden email]...
> OAIDEExtensions class>>uninitialize never removes the onClassAdded:
> listener. So when you remove the package, every time you install new
> packages into the image you get a doesNotUnderstand error
>
>...
> Not critical. Just annoying when you get the exception dialog after
> removing the package
>

Thanks Sean, recorded as #1613 for fixing in D5.1.5.

Regards

Blair