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
Thanks again for the help. I hope you don't mind my eventual cluelessness. :-)
On 2/24/08, Lukas Renggli <renggli(a)iam.unibe.ch> wrote:
>> I guess it would make sense to add these descriptions as a
>> extension. This is one of most useful techniques of Magritte, that
>> can attach new descriptions to any class in the system. I use this
>> 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?
SmallWiki, Magritte, Pier and Related Tools ...