Archive | e4 RSS feed for this section

When an IContextFunction does not solve your problem – and the solution with e(fx)clipse 2.2.0

If you haven’t read my last blog post where I described the problem of letting the DI container inject an instance of ModelElementFactory directly you should do so before proceeding because it will help you understand the problem the following new concept introduced solves. Our problem can be summerized as: To create an instance of […]

Continue reading

Eclipse 4 Application Platform – contributorURI vs contributionURI

All Eclipse 4 applications (from the Eclipse 4.x IDE to your simple e4 RCP) leverage the Eclipse 4 application model who is a representation of your whole application in a well defined and typesafe EMF-Model (you can somehow compare it to your browsers DOM). The model itself is not static but a so called live […]

Continue reading

Effeciently dealing with @Translations in an e4 app with the help of Java8

In my JavaOne application i showed how one can flip the language of a running e4+JavaFX application on the fly using the new support available from the e4 framework using the @Translation-Annotation. Generally speaking the advised way of doing translations is like this in case you don’t need to support language fliping on the fly: […]

Continue reading

Restarting an e4 application with the intial workbench.e4xmi

e4 applications by default remember the state when getting shutdown and restore that state on the next restart. This is the behavior most people expect from an application but there are situations people would like to reset the application into its original state or maybe the developer wants that e.g. after having installed/uninstalled certain new […]

Continue reading

e(fx)clipse runtime recipes

This is just a short notice to all user of e(fx)clipse runtime bundles. e(fx)clipse runtime provides many cool features most people don’t know about yet (e.g. our DI support for FXML-Controllers, the adapter system, …). So I started collecting them in our wiki at Some of them are not bound to JavaFX, like our […]

Continue reading

Introducing SWT on FX

In my last few presentations I’ve introduced what I named “SonF” which is short for SWT on FX. What is it? SWT on FX is an SWT implementation which instead of using the native widget it use JavaFX controls under the covers (similar to what SWT on Swing did some years ago). What is the […]

Continue reading

What IEclipseContext#declareModifiable is good for

There was a comment on IEclipseContext less code Rene asked how the publishing into parent contexts is done. IEclipseContext provides 2 ways to publish information: IEclipseContext#set IEclipseContext#modify I think 99% of the people are using IEclipseContext#set because they could make up what IEclipseContext#modify is good for. The problem with IEclipseContext#set is that pushes the value […]

Continue reading

Writing IEclipseContext-less code

The problem The IEclipseContext is the center of the the e4 DI system. One can think of it as observable hierarchical key-value map. One of the major idea of e4 was that people should write code which does not depend on framework classes but use DI to get the values they need no matter if […]

Continue reading

@Active in e4

Having discussed yesterday with Alex Blewitt and Lars Vogel on what @Active is I thought it might make sense to explain it in a short blog post. Let’s start with the question Alex posted on twitter: “Which is preferable; using @Named(ACTIVE_SHELL) or @Active shell” Answer: they are completely different things! Before we understand why we […]

Continue reading

e(fx)clipse 0.8.0 released

It’s been a long time since the last release (end of September 2012). I’m happy to announce that we’ve just released e(fx)clipse 0.8.0 to the public. You can download it from our server! Make sure you run your Eclipse instance we’ve Java7u7 and above, the tooling bundles will refuse to start in Java6! From 0.1.1 […]

Continue reading

Get every new post delivered to your Inbox.

Join 936 other followers