Ah, I see. I was already using that but my lack of familiarity with
the terms led me to think it was something else. :-)
By the way, is there a way to add instance variable using this method?
I won't need them for this particular case but I can't find any
information about that and I'll need it for another part of the
application.
Thanks again for the help. I hope you don't mind my eventual cluelessness. :-)
Cheers,
Ronaldo
On 2/24/08, Lukas Renggli <
renggli@...> wrote:
> >> I guess it would make sense to add these descriptions as a class
> >> extension. This is one of most useful techniques of Magritte, that
> >> you
> >> can attach new descriptions to any class in the system. I use this
> >> all
> >> the time.
> >
> > I'm a bit new to Smalltalk/Squeak/Magritte terminology and I'm not
> > sure what class extensions mean. May I bother you for a small example
> > and a pointer for more explanations?
>
> This is when you add a method to a foreign class. In your case, your
> own package adds some description methods to the foreign class
> MAFileModel. To tell Monticello that these methods belong to your code
> and not to Magritte-Core you put them into a protocol (method
> category) named *mypackagename.
>
> Does that help?
>
> Lukas
>
> --
> Lukas Renggli
>
http://www.lukas-renggli.ch>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki>
--
Ronaldo Ferraz
http://log.reflectivesurface.com_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki