eclipse / eavp

Eclipse advanced visualization project
Eclipse Public License 1.0
9 stars 15 forks source link

RCP visualization services should extend the startup extension point #157

Closed SmithRWORNL closed 5 years ago

SmithRWORNL commented 7 years ago

The service factory and the RCP visualization services should extend the org.eclipse.ui.startup extension point and set themselves to auto-start, so that EAVP will be able to provide file opening services like CSV or VisIt when installed through the Install New Software wizard.

jayjaybillings commented 6 years ago

I believe this is the output from this bug: screenshot from 2017-10-21 09-20-27

jonahgraham commented 6 years ago

Try to avoid org.eclipse.ui.startup if possible. This should be solvable with OSGi declarative services so the service is started when needed, rather than all the time.

jayjaybillings commented 6 years ago

Thanks @jonahkichwacoders.

OSGi DS is the way that I would like to do it and all of these services are already DS-enabled. However, OSGi DS has always had a problem that bundles are generally not loaded - at least in our products - without auto-starting them in a product configuration. I've never figured out how to get around this. The way these bundles work in ICE is that they are set to auto-start in the product configuration at run level 4 (I think). We had to take even more drastic measures where org.eclipse.core.resources is involved because it is so ridiculously tied to the startup order of the workbench. So I have always thought of this as more of a limitation of the platform than something we can fix.

That is possibly the longest, most defensive way I can possible say: I would appreciate any suggestions that you have! :-)

SmithRWORNL commented 5 years ago

EAVP will be converted to an http micro service using the HATEOS principle instead of an OSGI service in 0.3