Hi Patrik,
Thank you for the detailed advice. It's exactly what I need. Thanks!
--Polly
Patrik Nordwall wrote:
>
> Add something like this to SpecialCases.xpt:
>
> «EXTENSION extensions::myhelper»
>
> «AROUND *::propertyGetter FOR Attribute»
> «formatGetterJavaDoc()»
> «getVisibilityLitteralGetter()»«getTypeName()» «getGetAccessor()»() {
> return «name»;
> };
> «ENDAROUND»
>
> «AROUND *::propertySetter FOR Attribute»
> «formatSetterJavaDoc()»
> «getVisibilityLitteralSetter()»void
> set«name.toFirstUpper()»(«getTypeName()» «name») {
> this.«name» = «name»;
> };
> «ENDAROUND»
>
> Define formatGetterJavaDoc, and formatSetterJavaDoc
> in extensions/myhelper.ext
>
> Implement them in similar way as is done in sculptor helper.ext,
> GenerationHelper.java
>
> /Patrik
>
>
>
>
--
View this message in context:
http://www.nabble.com/-Sculptor--add-%40param-and-%40return-to-javadoc-tp18120330s17564p18160355.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer