|Re: Eclipse RCP: e3 editor in e4: "createPartProperties" never called [message #1445349 is a reply to message #1436140]
||Wed, 15 October 2014 10:11
| Thomas Schindl
Registered: July 2009
Please file a bug! So that this can be fixed.|
On 02.10.14 16:38, Jean-François Marchant wrote:
> It is my first post into this forum, so excuse me if I do not respect
> some common rules...
> We have developed in e3 several editors. Now, we are migrating to e4 and
> the editors are working almost correctly.
> The behaviour in e3 was:
> - when we exit the RCP, the opened editors are closed and their
> (user-defined) properties are saved by calls to "Map getPartProperties"
> - when the RCP restarts, the editors are reopened and their properties
> are restored by calls to "setPartProperty(String key, String value)"
> The observed behaviour in e4 is: only the save on exit occurs!
> In e3 and e4, "setPartProperty" is called by
> "WorkbenchPartReference.createPartProperties(...)". Ok that is fine but
> the problem is that this last method is called in e3 by
> "EditorReference.createPartHelper" and is never called in e4 :(
> My question is: how can I restore my saved properties? Any ideas?
> PS: my editor(s) are still in plug-ins that have not yet been migrated
> to e4. In the main plug-in, I use a file "MyLegacyIDE.e4xmi" file and an
> extension point referring a ".product" file (As in point 4.2 of
> "Eclipse4MigrationGuide" tutorial of Lars Vogel )
Powered by FUDForum
. Page generated in 0.02145 seconds