feature request #7071
openfeature request #7431: [MASTER] remaining E4 migration issues
Reenable restore functionality
0%
Description
With e4 we temporarily switched of the restore functionality in taxon navigator (before it could be be switched on via preferences). This should be switched on again after full migration.
Copy from #6909: "About restoring: Nothing is restored because we decided to start with a fresh workbench every startup. We can think about re-enabling this after full migration IF we want to. Restoring 10+ name editors was also a performance killer because it has to load the name editor AND expand the tree to the corresponding node."
For restoring name editor: it is true that it might be performance problem. But only restoring the name editors without linking to the navigator is usually not a big issue. So we might want to switch of the linking for this somehow. Also we should have restoring as a preference same as restoring the navigator. With a second preference we could then let the user decide if linking should be switched of for restoring name editors.
Idea:
- After CdmStore has connected invoke "open Part" command on saved editors.
- Maybe in class LifeCycleManager or CdmStore.
EditorInput/UUID can be saved in the local preferences
generic "open Part" command
- ID: eu.etaxonomy.taxeditor.command.openPart
- command parameter: eu.etaxonomy.taxeditor.workbench.commandparameter.partName
- command value:
For taxon name editors look at EditorUtil.openNameEditor_internal()
Related issues