Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to modify org.eclipse.e4.workbench/workbench.xmi
How to modify org.eclipse.e4.workbench/workbench.xmi [message #1745984] Thu, 20 October 2016 07:42 Go to next message
Konrad Windszus is currently offline Konrad WindszusFriend
Messages: 39
Registered: July 2009
Member
Settings for the different navigator views (e.g. project explorer) are persisted within the .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi. Does Oomph provide any help to modify that except for the text modify task? The workbench.xmi is huge and therefore just setting a tiny flag like e.g. sharedElement[@elementId="org.eclipse.ui.navigator.ProjectExplorer"]->persistedState[@key="memento"]@value="<some XML>" is quite some effort. Especially I would need to use XPath expressions to do that correctly and only touch the intended place in that workbench.xmi.

[Updated on: Thu, 20 October 2016 07:43]

Report message to a moderator

Re: How to modify org.eclipse.e4.workbench/workbench.xmi [message #1745986 is a reply to message #1745984] Thu, 20 October 2016 08:01 Go to previous messageGo to next message
Konrad Windszus is currently offline Konrad WindszusFriend
Messages: 39
Registered: July 2009
Member
Probably I need a setup task which can act on http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fui%2FIMemento.html because that seems to be internally used to store navigator views.
Re: How to modify org.eclipse.e4.workbench/workbench.xmi [message #1745998 is a reply to message #1745986] Thu, 20 October 2016 10:09 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Of course in principle anything is possible, but in practice is completely impossible to keep up with everything that needs maintaining and also with all the new things everyone would like to have...

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:P2 mirror of archived update sites causes problems in Oomph setup
Next Topic:eclipse-inst.ini -Doomph.redirection broke in latest 1.5.0 Build 2683
Goto Forum:
  


Current Time: Tue Apr 16 23:23:44 GMT 2024

Powered by FUDForum. Page generated in 0.57656 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top