Comments (5)
from efxclipse-rt.
[...]
Can this be fixed by just using the
ModelAssembler
component instance provided by OSGi? I don't know why a new instance is created here.
So this was changed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=571866 - in former days this has all been created by DI. I've pushed a fix and published a new build
from efxclipse-rt.
Thanks for working on an update to Eclipse 2022-06 platform, which I need for Java 17 support (based on a recent enough Equinox release to deal with the deprecation of Security Manager).
However, I'm finding that none of the e4 application model contributions (fragments) from my plug-ins are being loaded when my application starts up. The problem is that the EFX_ResourceHandler::loadMostRecentModel()
method creates a new instance of the ModelAssembler
class from e4 to load the application model. However, the ModelAssembler
is an OSGi service component that has the IExtensionRegistry
injected by OSGi DS, not by e4 context DI. Consequently, the second instance of the ModelAssembler
that the EFX_ResourceHandler
creates doesn't have an extension registry and so it doesn't find any of the extensions that register fragment models.
Can this be fixed by just using the ModelAssembler
component instance provided by OSGi? I don't know why a new instance is created here.
from efxclipse-rt.
Can this be fixed by just using the
ModelAssembler
component instance provided by OSGi? I don't know why a new instance is created here.So this was changed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=571866 - in former days this has all been created by DI. I've pushed a fix and published a new build
Thanks, Tom! I can confirm that today's 8 July nightly build fixes my application model problems. I seem to be in good shape now on Java 17 platform.
from efxclipse-rt.
Perfect - then the only thing let for a release is to update to EPL v2.0
from efxclipse-rt.
Related Issues (20)
- SplitDnDSupport: check hasDnDContent before calling getDnDContent
- Distribute e4 (fx)Spies on Updatesite
- Perspective context activation does not work properly if first child has notToBeRendered=true
- MinMaxAddonWithPartialRestore should use Logger instead of writing to System.err
- DefPartRenderer#getFirstFocusableNode should ignore invisible Nodes
- DefMenuItemRenderer should use ModifierValue.DOWN or ModifierValue.UP to build accelerators
- FXClassLoader doesn't work with JavaFX SDK paths which include spaces OS: Windows
- Improve SashPane to allow a mixture of fixed components and resizeable ones
- Add possibility to wrap MPart content so that it can be collapsed (including the toolbar)
- Pump Version to 3.8.0
- Improve SashPane so that Items never go beyond their min-size
- Increased startup time on OpenJFX 16/17 HOT 1
- demos/org.eclipse.fx.simplycode.app contains class files
- Easy way to disable window resizing HOT 3
- Key-binding does not show in menu if the key-binding specifies parameter for the command
- Multiple Issues with OSGiModule#getLocation()
- Table/TreeTable Memento: support more than one (Tree)Table
- BaseToolBarRenderer logs unnecessary error messages when toBeRendered=false
- Replace usages of javax.annotation.* and javax.inject.* with jakarta.*
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efxclipse-rt.