task #6745
openfeature request #7431: [MASTER] remaining E4 migration issues
Investigate how e4 model changes affect the cached application model in existing Taxeditor installation
0%
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
Files
Related issues