Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Cannot move (and reuse) diagrams on different Papyrus/Mars instances
Cannot move (and reuse) diagrams on different Papyrus/Mars instances [message #1717240] Thu, 10 December 2015 22:30 Go to next message
elhache elhache is currently offline elhache elhacheFriend
Messages: 3
Registered: May 2012
Junior Member
Hi All,

with previous versions of Papyrus/Eclipse (Kepler and Luna) I was able to share my diagrams between different version of the Eclipse plateforms.

A copy-paste of the model ( .di, .notation and .uml) was enough to share Papyrus models. Models from the same Eclipse platform or from different version, e.g. Kepler to Luna.

However, with Mars, I cannot open any of the previous models (I have a blank panel), and also models created on the same Papyrus/Eclipse (for instance, moving the three files from one folder to another). What I'm doing wrong ?

Thanks for your help.

Re: Cannot move (and reuse) diagrams on different Papyrus/Mars instances [message #1717241 is a reply to message #1717240] Thu, 10 December 2015 22:56 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 934
Registered: February 2011
Senior Member
Hi,

In Mars, the layout of the editors (Which editors are currently opened and how they are arranged) is not stored in the 3-files anymore, so it is not copied along with your models, nor transfered between different worskpaces. This was required to properly support collaborative modeling (Through Git/CDO/...)

This certainly causes confusion for many users, but no real harm: the model is still intact. You have to go to the Model Explorer view an manually re-open your diagrams from there (The button "Show Diagrams" in the Model Explorer might help you finding the right diagram(s) quickly)

There is some work-in-progress for the next version of Papyrus to avoid the "blank editor" syndrome, which should improve user experience a lot Smile

HTH,
Camille


Camille Letavernier
Re: Cannot move (and reuse) diagrams on different Papyrus/Mars instances [message #1717302 is a reply to message #1717241] Fri, 11 December 2015 13:34 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1235
Registered: July 2009
Location: Canada
Senior Member

Yes, and this feature (arriving this month in Neon M4) also includes an
easy switch to move the editor layout information into the *.di
resource so that when you copy a model and send it to others, they will
initially see the same diagrams that you were using. And Papyrus will
helpfully prompt them on first opening an imported model to move that
editor layout metadata into private storage.

Cheers,

Christian


On 2015-12-10 22:57:03 +0000, Camille Letavernier said:

> Hi,
>
> In Mars, the layout of the editors (Which editors are currently opened
> and how they are arranged) is not stored in the 3-files anymore, so it
> is not copied along with your models, nor transfered between different
> worskpaces. This was required to properly support collaborative
> modeling (Through Git/CDO/...)
>
> This certainly causes confusion for many users, but no real harm: the
> model is still intact. You have to go to the Model Explorer view an
> manually re-open your diagrams from there (The button "Show Diagrams"
> in the Model Explorer might help you finding the right diagram(s)
> quickly)
>
> There is some work-in-progress for the next version of Papyrus to avoid
> the "blank editor" syndrome, which should improve user experience a lot
> :)
>
> HTH,
> Camille
Re: Cannot move (and reuse) diagrams on different Papyrus/Mars instances [message #1718071 is a reply to message #1717302] Fri, 18 December 2015 22:28 Go to previous message
elhache elhache is currently offline elhache elhacheFriend
Messages: 3
Registered: May 2012
Junior Member
Thanks for your advises. Using the Model Explorer helps to edit my old diagrams.

Best
el hache
Previous Topic:Example Papyrus Project?
Next Topic:Papyrus Oomph setup problems
Goto Forum:
  


Current Time: Sun Jan 17 20:16:12 GMT 2021

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

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

Back to the top