Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » some newbie's questions(how to access the classes of a package?)
some newbie's questions [message #795386] Fri, 10 February 2012 12:17
carl bell is currently offline carl bellFriend
Messages: 1
Registered: February 2012
Junior Member
warning : my english is not perfect. Razz

hi guys, i am starting to learn acceleo .. i got a few questions :

question 1 : how to access the classes of a package?

i need to get the names of the classes of each package in the uml model.

is it something like this ?


[comment encoding = UTF-8 /]
[module generatoreDocumentazione(.../uml2/3.0.0/UML')]


[template public generateElement(aPackage :Package)]

[comment @main /]
[file (aPackage.name.concat('.html'), false, 'UTF-8')]

<html>
<body>
<h2> This is a report for: [aPackage.name /]</h2>

[for (it :Class | aPackage.class)]
	
[it.name /]

[/for]

</body>
</html>	
[/file]


[/template]




question 2 : can you give me a url where to learn the syntax and methods used by acceleo?


Previous Topic:Cannot unzip eclipse
Next Topic:Problem running eclipse.exe
Goto Forum:
  


Current Time: Thu Mar 28 19:46:50 GMT 2024

Powered by FUDForum. Page generated in 0.03082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top