Hi!
There is a #generated method in some metaclasses of Mondrian. For example: MORectangleShape class>generated ^ #(( string '#asString' 'The string to be displayed.' ) ( font 'TextStyle defaultFont' 'The font to be used.' ) ( color 'Color black' 'The color of the text.' ))
The only sender of #generated is MethodPragmaTest Is this really used? If not, is there a perpective of using this?
Cheers, Alexandre
Are there other implementors of generated? Sounds like it's more related to Pharo than to Moose
On 27 oct. 2009, at 15:09, Alexandre Bergel wrote:
Hi!
There is a #generated method in some metaclasses of Mondrian. For example: MORectangleShape class>generated ^ #(( string '#asString' 'The string to be displayed.' ) ( font 'TextStyle defaultFont' 'The font to be used.' ) ( color 'Color black' 'The color of the text.' ))
The only sender of #generated is MethodPragmaTest Is this really used? If not, is there a perpective of using this?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
MOLineShape class, MOLabelShape class, MORectangleShape class, MOFilledShape class define #generated
Looks like to be a good candidate for cleaning
Alexandre
On 27 Oct 2009, at 11:15, Simon Denier wrote:
Are there other implementors of generated? Sounds like it's more related to Pharo than to Moose
On 27 oct. 2009, at 15:09, Alexandre Bergel wrote:
Hi!
There is a #generated method in some metaclasses of Mondrian. For example: MORectangleShape class>generated ^ #(( string '#asString' 'The string to be displayed.' ) ( font 'TextStyle defaultFont' 'The font to be used.' ) ( color 'Color black' 'The color of the text.' ))
The only sender of #generated is MethodPragmaTest Is this really used? If not, is there a perpective of using this?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
I used to generate the Shape class hierarchy from this "meta-model". I don't think it is used anymore.
Lukas
Ok, thanks,
Alexandre
On 27 Oct 2009, at 11:47, Lukas Renggli wrote:
I used to generate the Shape class hierarchy from this "meta-model". I don't think it is used anymore.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev