Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Content of .di-file in Luna
Content of .di-file in Luna [message #1403485] Thu, 24 July 2014 07:06 Go to next message
Marc-Florian Wendland is currently offline Marc-Florian WendlandFriend
Messages: 69
Registered: January 2013
Member
Hi all,

I am wondering about an apparently very substantial change to the di-file.
Until Luna, di contained both the status of an editor tab (opened/closed)
and the overall available editor tabs. This seems to be not the case for the
Luna release. If this assumption is correct, I have two questions:

1. How is the status of an editor tab persisted? How does Papyrus know that
certain editor tabs are closed/opened/arranged?

2. Is it still possible to integrate proprietary editor tabs? We made
heavily use of this feature and developed an entire framework that was based
on the old pageIdentifier-mechanism of Papyrus. If this is not going to work
anymore, I'd very happy to get a hint where can I find
information/documentation about how to migrate from the old
pageIdentifier-based di-based mechanism to the new one.

Thanks a lot in advance,
Marc-Florian
Re: Content of .di-file in Luna [message #1403502 is a reply to message #1403485] Thu, 24 July 2014 08:19 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 682
Registered: February 2011
Senior Member
Hi Marc-Florian,


The main issue with the old *.di file was that it contained a lot of user-specific information (Especially the editor layout), which was not really team-friendly (i.e. if you commit a di-file, and another user makes an update, the other user's layout is changed as well).

So, we moved the contents of the *.di file to a separate file, which is stored in the user's workspace preferences. The file is stored in workspace/.metadata/.plugins/org.eclipse.papyrus.infra.core

The new *.sash file only contains the sash model (SashWindowsManager). The list of available pages is now computed dynamically, and doesn't need to be stored anymore.

For Papyrus extenders, this shouldn't change anything.

See the following Bugzillas for info:

429239: [Resource Management] Refactoring of the 3-files model and PageManager
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429239

400809: Private/local user info is stored in the model.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=400809


Camille


Camille Letavernier
Papyrus developer
Re: Content of .di-file in Luna [message #1403506 is a reply to message #1403502] Thu, 24 July 2014 08:32 Go to previous message
Marc-Florian Wendland is currently offline Marc-Florian WendlandFriend
Messages: 69
Registered: January 2013
Member
Hi Camille,

thanks for the prompt response. This sounds not to be too invasive
(fortunately, for a split second I was really shocked). We are going to
investigate the changes in the next few days and may ask again for
help/information if necessary.

Best regards,
Marc-Florian

"Camille Letavernier" wrote in message
news:lqqfhp$bhf$1@xxxxxxxxe.org...

Hi Marc-Florian,


The main issue with the old *.di file was that it contained a lot of
user-specific information (Especially the editor layout), which was not
really team-friendly (i.e. if you commit a di-file, and another user makes
an update, the other user's layout is changed as well).

So, we moved the contents of the *.di file to a separate file, which is
stored in the user's workspace preferences. The file is stored in
workspace/.metadata/.plugins/org.eclipse.papyrus.infra.core

The new *.sash file only contains the sash model (SashWindowsManager). The
list of available pages is now computed dynamically, and doesn't need to be
stored anymore.

For Papyrus extenders, this shouldn't change anything.

See the following Bugzillas for info:

429239: [Resource Management] Refactoring of the 3-files model and
PageManager
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429239

400809: Private/local user info is stored in the model.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=400809


Camille
Previous Topic:Papyrus UML ActivityPartition
Next Topic:[Alf Editor] Where is it ?
Goto Forum:
  


Current Time: Sun Aug 02 02:21:37 GMT 2015

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

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