papyrus - Unable to get Requirement in Acceleo -


can not requirement model. have tried getappliedstereotypes() still not works. code following:

 [comment encoding = utf-8 /] [module maintest('http://www.eclipse.org/papyrus/sysml/1.4/sysml',  'http://www.eclipse.org/papyrus/sysml/1.4/sysml/activities', 'http://www.eclipse.org/papyrus/sysml/1.4/sysml/requirements',  'http://www.eclipse.org/uml2/5.0.0/uml')/]  [template public maintestclass(apackage : package)]  [comment @main /] [file ((apackage.name+'.m'), false, 'utf-8')] 0000  [for (r : requirements::requirement| apackage.packagedelement->filter(requirements::requirement))] 11111     [/for] [/file] [/template] 

also, page http://techqa.info/programming/question/35093700/cannot-access-sysml-stereotypes-and-their-properties-in-acceleo , can requirement generate(re : requirements::requirement) can not meet needs since have put node values in model document, template cannot model information. or maybe solutions getting nodes information in model requirement?


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -