Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Toast/Equinox and OSGi
Of course, all of Toast is an example of using Equinox and OSGi. Services, Declarative service, extension points, applications, HTTP service and a wide range of other Equinox and OSGi bits are used in various parts of Toast. This page provides a few pointers to interesting places to see these bits in action and some instructions for running Toast to demonstrate the bits.
Applications
Toast uses the Equinox Application facilities, an implementation of the OSGi Application Admin spec, in the Client. See org.eclipse.examples.toast.crust.display. Key aspects to look at are the implementation of IApplication, the application extension provided in the plugin.xml and the client.product settings on the Overview page. Not the specific work needed around threading to ensure that the application runs on the main thread. This is a requirement for running with SWT on the Mac.