[Seaside] session reference
Jeffrey Odell
seaside@lists.squeakfoundation.org
Fri, 13 Dec 2002 09:53:25 -0500
In Dolphin, it looks like the methods:
ClassDescription>>#compile: aString categories: categories package:
aPackageOrNil
ClassDescription>>#removeCategory: category
Will do the trick (ClassDescription being a superclass of Class).
jlo
-----Original Message-----
From: seaside-admin@lists.squeakfoundation.org
[mailto:seaside-admin@lists.squeakfoundation.org] On Behalf Of Avi
Bryant
Sent: Monday, December 09, 2002 8:10 PM
To: seaside@lists.squeakfoundation.org
Subject: RE: [Seaside] session reference
On Mon, 9 Dec 2002, Jeffrey Odell wrote:
> I'll have to take a look - you are suggesting that every time the
> Class definition is compiled, it auto-generates the accessors, right?
Yeah.
> Dolphin
> has the refactoring browser baked in well, so it would be a matter of
> tying in to it.
Really? In Squeak you'd just create a new #subclass:... method (class
defn's are just treated as DoIts by the browser).
> I'm assuming removal would be manual?
What I've done before is put such methods in a 'generated' category,
that gets removed entirely whenever the definition changes.
Avi
_______________________________________________
Seaside mailing list
Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/listinfo/seaside