Hello,
I am currently using Papyrus to edit UML models for an application.
I would like to create a Template Class.
Something you would write in C++ as follows :
template <class T>
class MyClass {
private :
T attribute;
};
I have found on the (outdated) PapyrusUML web site, a tutorial to do
Templates.
But it seems it's not quite what I want to do, since it deals with
Template Packages.
www.papyrusuml.org/scripts/home/publigen/content/templates/show.asp?P=144&L=EN
<http://www.papyrusuml.org/scripts/home/publigen/content/templates/show.asp?P=144&L=EN>
So far, I have created a class, and applied it a "Redefinable Template
Signature".
Then I can add a "Template parameter", but I am asked to select an
existing attribute as the parametered element.
Which I can't, since it would be the generic attribute I want to create.
Thank you in advance for your help.
Regards,
Jonathan Fernandez
CS - Communication & Systèmes.
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users