Archive | e4 RSS feed for this section

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: […]

About these ads
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 https://wiki.eclipse.org/Efxclipse/Runtime/Recipes. 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

Eclipse 4 L&F on Linux

I’ve read some reports from people who don’t like the new L&F. I don’t want to discuss this what I’d like to present you is how you can get the old L&F almost back. The default answer you’ll get is that you should switch to the Classic-Theme in Preferences > General > Appearance – don’t […]

Continue reading

So you used internal API

Inspired by a question that was asked twiced on the newsgroup about internal “API” that is missing in Eclipse 4.x although the feature is still there when interacting with the IDE The API in question was: … I needed an ability to allow a user to, upon request, launch a view either attached as a […]

Continue reading
Follow

Get every new post delivered to your Inbox.

Join 714 other followers