Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Reuse of elements of user created models inter / intra projects
Reuse of elements of user created models inter / intra projects [message #667464] Thu, 28 April 2011 22:11 Go to next message
Firas Swidan is currently offline Firas SwidanFriend
Messages: 13
Registered: July 2009
Junior Member
Hi,

I would like to have, for the sake of simplicity, two models either in two different projects or within the same project to be able to access elements of each other - or at least one of them to be able to access elements of the other model. In a sense it is similar to what one gets with the import of UML Primitive Types, just that the model / library is user defined.

Is it possible to do that with Papyrus or maybe the underlying UML tools?

Thanks,
Firas.
Re: Reuse of elements of user created models inter / intra projects [message #672344 is a reply to message #667464] Fri, 20 May 2011 18:05 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 152
Registered: July 2009
Senior Member
in the model explorer use "import package from file" Smile. a import package will be created in your model, and your can sse in this element tthe model of this file.
Patrick
Papyrus team
Re: Reuse of elements of user created models inter / intra projects [message #722993 is a reply to message #672344] Wed, 07 September 2011 11:45 Go to previous messageGo to next message
Carlos Gomez is currently offline Carlos GomezFriend
Messages: 37
Registered: October 2010
Member
Hello Patrick,

I'm using the last Papyrus version (0.8.1.v201109062114) and that function (import package from file) doesn't work. Could you confirm me this bug?

Thanks,

CarlosG
Re: Reuse of elements of user created models inter / intra projects [message #723003 is a reply to message #722993] Wed, 07 September 2011 12:09 Go to previous message
Carlos Gomez is currently offline Carlos GomezFriend
Messages: 37
Registered: October 2010
Member
Hello,

I found the problem. I tried to import all the files from my project that I want to import and it doesn't work.

But if I import the uml file from my source project it works.

Sorry Wink

CarlosG
Previous Topic:Create custom diagram type from profile
Next Topic:Define NfpConstraint using VSL
Goto Forum:
  


Current Time: Mon Apr 27 18:46:52 GMT 2015

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

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