Generics are not supported in Topcased UML editor, at least in graphical representation. However you should be able to completely define Generic concepts by creating necessary elements through the outline view (using "Create Child..." menu).
In the code generator, I think Generics are not managed either.

Maybe someone else is more familiar with Generics and could help you on the way to define and use them...

Regards,
Jacques

Erik Sundvall a écrit :
Hi!

Please excuse some newbie questions.

Is there any good description or example available explaining how to
enter/represent generics in UML using Topcased. I'm looking for a
solution that in the end will be able to produce "generics" in Java
code and similar constructs in other languages.

The page http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Defining_Generics_with_UML_Templates/article.html
explains how generics could be represented in UML, but I'm probably
doing something wrong and have not gotten it to work in Topcased. Has
anyone else tried representing generics successfully and also used it
for code generation? If so could you please provide an example?

Does the current java-code-generation in Topcased manage to produce
generics if one gets the UML template stuff (as described in the URL
above) done right?

Best regards,
Erik Sundvall
[EMAIL PROTECTED] http://www.imt.liu.se/~erisu/ Tel: +46-13-227579

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
  

--
Anyware Technologies
Jacques LESCOT
Project Manager
Eclipse Technical Expert
[EMAIL PROTECTED]
Standard : +33(0)5 61 00 52 90
Direct : +33(0)5 61 00 06 60
Mobile : +33(0)6 74 49 23 34
Fax : +33(0)5 61 00 51 46
 
New address

Anyware Technologies
Lake Park
ZAC de l'Hers - Allée du Lac
BP 87216
31672 Labège Cedex
France
www.anyware-tech.com
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to