Blog Archives

[Eclipse Expressions] Control the visibility of Eclipse RCP menu contributions depending on text selection with PropertyTesters

For seasoned RCP developers, this will be yesterday’s news I guess. However, I have just spent more than the usual 10 minutes on finding a solution to my problem, so I thought it’d be good to provide a quick write-up.

Tagged with: , , , , , , , , , , , , , , , ,
Posted in Eclipse RCP, Tutorial

Eclipse GEF Tutorial: Secondary layout for multiple children of a PolylineConnection with ConnectionLocator and RelativeLocator

In an Eclipse GEF editor I am developing, PolylineConnections can have multiple children (of a type extending org.eclipse.draw2d.Label). I’ve wanted them to be located at ConnectionLocator.MIDDLE, but they should also have a secondary layout, similar to ToolbarLayout (i.e., ordered in

Tagged with: , , , , , , , , , , ,
Posted in Draw2D, Eclipse RCP, GEF: Eclipse Graphical Editing Framework, Tutorial

Building a cross-platform, feature-based Eclipse RCP Product with Tycho II: Mind your OSs

If you have followed Building a cross-platform, feature-based Eclipse RCP Product with Tycho (the umpteenth), and have run the build on a Windows system, you will have ended up with non-executable products for Mac OS X and Linux. What this

Tagged with: , , , , , , , , , , , , , , , , , , , , , ,
Posted in Build, Eclipse RCP, Operating System, Tutorial, Tycho

Dynamically calculating the position constraints for a figure in a GEF editor layout in relation to another figure

I’ve worked on the implementation of a GEF editor for an EMF-based model, using both the GEF book and vainolo‘s great GEF tutorials. The model consists of several types of nodes and connections, with different layout requirements for the display

Tagged with: , , , , , , , , , , , , , ,
Posted in Draw2D, GEF: Eclipse Graphical Editing Framework, Tutorial
About this blog
This blog documents my advances in learning how to develop software using Java and the Eclipse RCP.
I’m a
Support NCOTB

If you found this site helpful, perhaps you may want to consider donating a small sum towards my server costs.

Recent Tweets

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 18 other subscribers