Project

General

Profile

Actions

task #6745

open

feature request #7431: [MASTER] remaining E4 migration issues

Investigate how e4 model changes affect the cached application model in existing Taxeditor installation

Added by Patrick Plitzner almost 7 years ago. Updated over 4 years ago.

Status:
New
Priority:
Highest
Assignee:
Category:
taxeditor
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:

Description

The application model of the Taxeditor is stored in {home}/.cdmLibrary/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi. This stores all parts, menu items, commands, etc.

While we are still migrating from e3 to e4 and make a lot of changes to the model there could be situation when after installing a new taxeditor (for developers: after git pull) new GUI objects do not show up because of the existing application model cache. Deleting the workbench.xmi file solves this problem (developers can also add -clearPersistedState to the program arguments in the launch configuration of the taxeditor.

We could think about about delivering an extra a batch file that starts the editor with the -clearPersistedState parameter in order to once reset the application model. Afterwards the editor could be started normally. Having this parameter set for every launch would always lead to a fresh application model i.e. none of the layout of the windows are opened editors would be restored.

We should look at the parameter apply in the org.eclipse.e4.workbench.model extension point which defines when a model fragment should be applied to the cached one.

====

This ticket may also include restore functionality of name editors (#7071)

====
a lot of eclipse initialization and lifecycle management is defined in plugin.xml of taxeditor.application

plugin.xml of taxeditor.application


Files

picture298-1.png (75.9 KB) picture298-1.png plugin.xml of taxeditor.application Patrick Plitzner, 12/06/2019 12:16 PM

Related issues

Related to EDIT - task #6839: remove old workbench.xmi from .cdmlibraryRejectedPatrick Plitzner

Actions
Related to EDIT - feature request #7071: Reenable restore functionalityNewKatja Luther

Actions
Related to EDIT - feature request #7007: Migrate IMemento functionalityRejectedPatrick Plitzner

Actions
Related to EDIT - bug #7997: Some editor windows do not open at the expected locationNewKatja Luther

Actions
Actions

Also available in: Atom PDF