Eclipse 4 for developers

cool new stuff

vomit
(you coding with Eclipse 4)

Eclipse demo camp Nantes 2012 @xavier_seignard

Eclipse 4 or e4??

hesitation

Eclipse 4 or e4??

Eclipse 4: Application model

eggPack

Eclipse 4: Application model

*Part: View and/or Editor

Eclipse 4: Application model

appModel

Eclipse 4: Dependency Injection

injection

Eclipse 4: Dependency Injection

Eclipse 4: Services

waiter

Eclipse 4: Services

Eclipse 4: Event broker

bus

Eclipse 4: Event broker

@Inject
@Optional
void handleMessage(@UIEventTopic("demoCamp/nantes") Object obj) {
	// do something
}

Eclipse 4: Event broker

@Inject
@Optional
private IEventBroker eventBroker;
...
@Execute
public void execute() {
	...
	// async
	eventBroker.post("demoCamp/nantes", "Hello demo camp!");
	// sync
	eventBroker.send("demoCamp/nantes", "Hello demo camp!");
	...
}

Eclipse 4: CSS Styling

dali

Eclipse 4: CSS Styling

<extension
	id="product"
	point="org.eclipse.core.runtime.products">
    <product
        name="demoCampNantes"
        application="org.eclipse.e4.ui.workbench.swt.E4Application">
		...
        <property
		    name="applicationCSS"
		    value="platform:/plugin/demoCampNantes/css/default.css">
        </property>
    </product>
</extension>
			

Eclipse 4: CSS Styling

// scoping through workbench model MParts
.MTrimmedWindow Text, .MWindow Text {
	color: ‘white’;
	background-color: ‘black’;
}

Eclipse 4: CSS Styling at runtime!

cssStyiling

Eclipse 4: Renderers

prism

Eclipse 4: Renderers

Use your favorite UI tooklit

Eclipse 4: Renderers

Extend the application model with your own business Parts

by @vogella

Eclipse 4: Compatibility layer

compatibiltiy

Eclipse 4: Compatibility layer

e4Archi

Eclipse 4 application platefrom provides a compatibility layer with the Eclipse 3 Worbench API

Source: Eclipse 4 FAQ

Thank you!

And thanks to:

for the organization!

And to Mickael Istria for his review