Content of .di-file in Luna [message #1403485] |
Thu, 24 July 2014 03:06  |
Eclipse User |
|
|
|
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 #1403506 is a reply to message #1403502] |
Thu, 24 July 2014 04:32  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05509 seconds