Archive | Eclipse RSS feed for this section

Lightweight Dialogs in e4 & JavaFX

I’ve just checked in the initial bits to use lightweight dialogs in your e4 + JavaFX applications. You can see it in action in the short video from below Useage is fairly simple. First you need to have dialog implementation like this: and displaying it is nothing more than: As you can see in the […]

Continue reading

Storing custom UI-State in e4+JavaFX

I guess many e4 developers asked: How do I restore custom UI-State? Most likely answer they get is: Use persistedState of org.eclipse.e4.ui.model.application.MApplicationElement who is a Map<String,String> What a bad bad idea! This makes your nice UI code who uses dependency inject depend on the e4 application model! What a bad bad idea! For all users […]

Continue reading

Compensator – A code editor and a code dev environment written in JavaFX

If you’ve followed the release of e(fx)clipse 1.2.0 and my latest blogs on this, you might have noticed that we have spent quite some time on components like a styled text editor, a filesystem viewer and other basic stuff one needs to build a code editor application. e(fx)clipse Compensator – a simple code editor The […]

Continue reading

How to create an editor with syntax highlighting for Java

I see many people at stackoverflow who ask for an editor who does syntax highlighting in their JavaFX applications. As e(fx)clipse runtime has such a control available and the Eclipse Text Framework has all the tokenizing and reconcoling infrastructure I thought it might be a good idea to write up how you can get an […]

Continue reading

e(fx)clipse 1.2.0 released

Before going into the weekend and work on my EclipseCon stuff I’m happy to announce the 1.2.0 release of e(fx)clipse tooling and runtime. Tooling e(fx)clipse adds JavaFX tooling to your Eclipse IDE and provides: FXML editor including a live preview CSS editor who knows all JavaFX properties and provides auto-complete and validation (and many many […]

Continue reading

e(fx)clipse 1.2.0 – Helper API to call methods who throw exceptions

Have you ever worked with a library who throws an exceptions but there’s not possible recovery for you and you simply want to move on with a default value or null? I’ve had the “fun” to work with something like this lately and all the exception handling cluttered my code. I’m using the IMarker-API as […]

Continue reading

e(fx)clipse 1.2.0 – publishing runtime as an R5 bundle repository

In other posts I already outlined that our effort beside creating new features is to make the e(fx)clipse runtime a better citizen of the OSGi community / ecosystem. Starting with 1.2.0 we are not only providing a p2 repository – for people using PDE and Tycho – but also an R5 bundle repository you can […]

Continue reading

e(fx)clipse 1.2.0 – StyledTextArea improvements

A lot of time has been spent on StyledTextArea and so it has improved a lot. Many many bugs have been fixed one of the most interesting features from an API point of view is most likely support for custom graphic nodes as part of the LineRuler column. This new API allows you to e.g. […]

Continue reading

e(fx)clipse 1.2.0 – New service to observe a filesystem path

With 1.2.0 the e(fx)clipse core runtime bundle comes with a service who is able to track filesystem modifications. Since Java7 there’s an API to observe filesystem paths and so has the Eclipse Core Resources System which is used inside your Eclipse IDE. The service we created looks like this: and you use it like this: […]

Continue reading

e(fx)clipse 1.2.0 – RRobot learned to generate declarative services

In my last blog post I described that the way you define themes has changed – pre 1.2.0 you used extension points, now with 1.2.0 you are supposed to use OSGi-Services (preferably through the use of declarative services). I guess most people don’t know that but when they are using one for the project wizards […]

Continue reading
Follow

Get every new post delivered to your Inbox.

Join 855 other followers