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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -