Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Extension point org.eclipse.e4.workbench.model doesn't work anymore
Extension point org.eclipse.e4.workbench.model doesn't work anymore [message #1853339] Tue, 28 June 2022 12:35 Go to next message
Robert Pöchtrager is currently offline Robert PöchtragerFriend
Messages: 2
Registered: June 2022
Junior Member
Hi,

since the changes in org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(boolean) because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=571866 the extension point org.eclipse.e4.workbench.model of my JavaFX application doesn't work anymore, because the IExtensionRegistry is not set.

It's working when i set the Registry in org.eclipse.fx.ui.workbench.base.internal.EFX_ResourceHandler.loadMostRecentModel() like
ModelAssembler contribProcessor = ContextInjectionFactory.make(ModelAssembler.class, this.context); contribProcessor.setExtensionRegistry(Platform.getExtensionRegistry());
contribProcessor.processModel(initialModel);

Is there another easy solution I'm overlooking?

Thanks
Robert
Re: Extension point org.eclipse.e4.workbench.model doesn't work anymore [message #1853348 is a reply to message #1853339] Tue, 28 June 2022 18:40 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
I guess you are talking about the current snapshots? I wonder if we need our own resourceloader or we simply switch to the default one (if all regression there have been fixed and new one did not get integrated)

[Updated on: Tue, 28 June 2022 18:41]

Report message to a moderator

Re: Extension point org.eclipse.e4.workbench.model doesn't work anymore [message #1853357 is a reply to message #1853348] Wed, 29 June 2022 05:58 Go to previous messageGo to next message
Robert Pöchtrager is currently offline Robert PöchtragerFriend
Messages: 2
Registered: June 2022
Junior Member
It is working with Eclipse 2020-12 (4.18) and e(fx)clipse 3.8, since 2021-06 (4.20) + 3.8 the error occurs.

In my case you are right because of the own resource loader, I tried the org.eclipse.e4.ui.internal.workbench.ResourceHandler and it is working.

Thank you
Re: Extension point org.eclipse.e4.workbench.model doesn't work anymore [message #1853358 is a reply to message #1853357] Wed, 29 June 2022 07:32 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
ok I see our target-plaform we ship is based on a much earlier release IIRC 2019-12. I'll see if we can remove our custom ResourceHandler.
Previous Topic:missing JavaFX components
Next Topic:Up coming changes for efxclipse 3.9
Goto Forum:
  


Current Time: Fri Apr 19 12:22:37 GMT 2024

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

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

Back to the top