Magritte-ComponentDecoration s

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Magritte-ComponentDecoration s

keith1y
I just committed this to http://mc.lukas-renggli.ch/pieraddons

Magritte-ComponentDecorations-kph.1.mcz (note it has a pier extension in
it too)

This package allows a magritte description to specify decorationClasses:
These are added at component creation time and they pick up their
parameters from the description's properties (unless I can think of a
better way).

example:

WSLogin-descriptionUsername
    ^ (super descriptionUsername)
        decorationClasses: (Array with: MAAnnotationDecoration ) ;
        propertyAt: #postAnnotation put: '(6-12 letters)';
        yourself
       
pier wiki text annotation

WSLogin-descriptionUsername
    ^ (super descriptionUsername)
        decorationClasses: (Array with: PRAnnotationDecoration ) ;
        propertyAt: #postAnnotation put: 'or
*Register>/Environment/RegistrationComponent*';
        yourself

best regards

Keith

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki