|[Acceleo] Why Activity node get executed in a template that accepts only Class Type ? [message #986045]
||Sat, 17 November 2012 20:41
| HJA JAB
Registered: November 2012
I have an uml diagram made with Topcased 5.2. The uml contains Class diagram and Activity Diagram.
I wrote a template to generate java classes that accepts a parameter of a Class type.
The java classes were generated but in addition my method get executed for Activity node. How can prevent execution of Activity node?
Following my template:
[template public generateEntity(c : Class)]
[comment @main /]
[file (c.getEntityFullPathFile().trim(), false)]
Thanks for your help
[Updated on: Sun, 18 November 2012 07:03]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02098 seconds