Re: [Pharo-project] changes to existing class definitions

2011-11-14 Thread Herby Vojčík
Johannes Rasche wrote: > > my question is how to add "uses: XXTrait" > > up to Pharo 1.0 I used a subclass of PasteUpMorph, > > but replacing the existing world now seems more complicated to me, > some related functionality of Squeak was removed for some reason > the > Johannes > Well, just

Re: [Pharo-project] changes to existing class definitions

2011-11-14 Thread Johannes Rasche
I need to add some additional methods to PasteUpMorph for that purpose I created a Trait my question is how to add "uses: XXTrait" up to Pharo 1.0 I used a subclass of PasteUpMorph, but replacing the existing world now seems more complicated to me, some related functionality of Squeak was remo

Re: [Pharo-project] changes to existing class definitions

2011-11-14 Thread Sven Van Caekenberghe
On 14 Nov 2011, at 14:43, Johannes Rasche wrote: > if I wanna add some methods to existing classes > I create categories like "*packageName" > > but how to handle changes to class definitions? > > what is the recommended way to do that? > > I'm not sure it's good to change the category name >

[Pharo-project] changes to existing class definitions

2011-11-14 Thread Johannes Rasche
if I wanna add some methods to existing classes I create categories like "*packageName" but how to handle changes to class definitions? what is the recommended way to do that? I'm not sure it's good to change the category name Johannes