|Re: How to create custom data types [message #1714430 is a reply to message #1714419]
||Thu, 12 November 2015 16:13
|| Christian Damus
Registered: July 2009
If you need to define data types that are sharable amongst models, then
you probably want to create a "library model", not a profile. Profiles
extend the UML to create custom languages.
Library models are exactly the packages that you can import into your
models using the "Import Registered Package" menu action, for example
the UML Primitive Types or Java Primitive Types libraries that ship
To create your own library model, just create a Papyrus UML model as
you normally would and add DataTypes to it. You can apply the UML
Standard Profile to your model and stereotype it as <<Library>> if you
want, but that's not necessary (though it is informative).
You can then import this library into other models using the "Import
Package from user Model" menu action in the Model Explorer and picking
your library model from your workspace.
On 2015-11-12 15:55:00 +0000, Konstantin Ribel said:
> Hello all!
> I need to create custom data types in Papyrus as the ones that I can
> import are not sufficient enough. I thought about having a profile that
> I can import into my model project to be able to reuse those custom
> datatypes in other model projects. Is that possible?
> Unfortunately I don't know where to start. :cry: Could anybody please
> point me into the right direction?
> Many thanks!
Powered by FUDForum
. Page generated in 0.01607 seconds