Home > Archive > Smalltalk > February 2006 > [VW7.4] Unloading a single method in a parcel
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[VW7.4] Unloading a single method in a parcel
|
|
|
| I have a parcel that overrides some base methods in an image. I would
like to examine what it has overridden. If a method in the parcel is
not good, I would like to unload it and remove it so that the
overridden method is now active and the bad method is not longer in the
parcel.
Thanks,
Aik-Siong
| |
| Steven Kelly 2006-02-15, 7:58 am |
| In the VisualWorks Launcher: Browse | System
In the browser: Browser | Parcel
Select the parcel, from the pop-up menu: Browse | Overrides of Others
In the Override List: Show | Show Conflicts
Select a method
- the code on the left is the original code, on the right is the
parcel's override
From the pop-up menu: Spawn
In the Current Definition window's top pane's pop-up menu, Override |
Restore Overridden
HTH,
Steve
"askoh" <askoh@askoh.com> wrote in message
news:1139956620.988744.277820@z14g2000cwz.googlegroups.com...
>I have a parcel that overrides some base methods in an image. I would
> like to examine what it has overridden. If a method in the parcel is
> not good, I would like to unload it and remove it so that the
> overridden method is now active and the bad method is not longer in
> the
> parcel.
>
> Thanks,
> Aik-Siong
>
| |
|
| Thanks. Will the unwanted method be removed from the parcel that
originally contained it? If I save the parcel now, will the saved
parcel be without the unwanted method?
Aik-Siong
Steven Kelly wrote:[color=darkred]
> In the VisualWorks Launcher: Browse | System
> In the browser: Browser | Parcel
> Select the parcel, from the pop-up menu: Browse | Overrides of Others
> In the Override List: Show | Show Conflicts
> Select a method
> - the code on the left is the original code, on the right is the
> parcel's override
> From the pop-up menu: Spawn
> In the Current Definition window's top pane's pop-up menu, Override |
> Restore Overridden
>
> HTH,
> Steve
>
> "askoh" <askoh@askoh.com> wrote in message
> news:1139956620.988744.277820@z14g2000cwz.googlegroups.com...
| |
| Steven Kelly 2006-02-16, 3:59 am |
| It should be. I guess you could try that out as quickly as I could
:-). Maybe you could post here whether it did.
Cheers,
Steve
"askoh" <askoh@askoh.com> wrote in message
news:1140018024.584749.238040@g14g2000cwa.googlegroups.com...
> Thanks. Will the unwanted method be removed from the parcel that
> originally contained it? If I save the parcel now, will the saved
> parcel be without the unwanted method?
>
> Aik-Siong
>
>
> Steven Kelly wrote:
>
| |
|
| When the overridden method is restored, the overriding parcel now
stores the overridden method. Saving the parcel will store the
overridden method.
To avoid saving the overridden method in the parcel. The method have to
be moved back to its original overridden parcel. Now saving the
overriding parcel will not contain the overridden method.
There should be a friendlier way to delete an overriding method from
the parcel and restoring the overridden method without including it in
the parcel.
Aik-Siong
Steven Kelly wrote:[color=darkred]
> It should be. I guess you could try that out as quickly as I could
> :-). Maybe you could post here whether it did.
>
> Cheers,
> Steve
> "askoh" <askoh@askoh.com> wrote in message
> news:1140018024.584749.238040@g14g2000cwa.googlegroups.com...
|
|
|
|
|