Cool stuff in E4 for developers

download Cool stuff in E4 for developers

If you can't read please download the document

description

This is a simple overview of the main new concepts in E4 for plugins/RCP developers

Transcript of Cool stuff in E4 for developers

  • 1. Cool stuff in Eclipse 4 fordevelopers.Eclipse DemoCamp Grenoble 2012Mickael IstriaCC-BY 3.0

2. (Very easy) CSS in RCP app + = 3. Modeled Workbench and Renderer 4. ServicesNew API Grain: o.e.eclipse.e4.core.services.log.Loo.e.core.databinding.observable.Realmggero.e.core.runtime.dynamichelpers.IExtensionTrackero.e.e4.core.services.translation.Tro.e.core.runtime.IExtensionRegistryanslationServiceo.e.core.runtime.Platformo.e.e4.ui.css.swt.theme.IThemeEno.e.e4.core.commands.ECommandService gineo.e.e4.core.commands.EHandlerService o.e.e4.ui.services.IStylingEngineo.e.e4.core.services.adapter.Adapter o.e.e4.ui.workbench.IPresentationo.e.e4.core.services.events.IEventBroker Engine o.e.e4.ui.workbench.IResourceUtili ties 5. Dependency Injection (DI)Dont seek an object: @Inject it!ServiceDont override/implement classes, use POJO with Annotations 6. Event Brokerhttp://wiki.eclipse.org/Eclipse4/RCP/Event_Model 7. Compatibility LayerNecessary bundles to getcompatibility to work:org.eclipse.e4.ui.workbench.addons.swtorg.eclipse.equinox.dsorg.eclipse.equinox.eventorg.eclipse.equinox.utilorg.eclipse.platformorg.eclipse.ui.formsorg.eclipse.ui.intro