Category Archives: e4
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 … 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 … 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 … 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 … 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 … 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 … 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 … 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 … 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 … 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 … Continue reading