|How to create a Template Class with Papyrus [message #1008659]
||Wed, 13 February 2013 13:20
| Jonathan Fernandez
Registered: February 2013
I am currently using Papyrus 0.9.1 with Juno to edit UML models for an application.
I would like to create a Template Class, which would contain an attribute of an unknown Type.
Something close to the example on this web page :
(An Array Class, of a gerenic Type of element).
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 explains how to create Generic Packages with templates, whereas I just want to parameterize a class with a generic type :
So far, I have created a class, and applied a "Redefinable Template Signature" to it
(it seems to be the only template-related thing available on a class).
But there I'm stuck, I don't know how to create an attribute with a template type.
Thank you for your help,
[Updated on: Thu, 14 February 2013 14:45]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01636 seconds