archive for 2008/01


Viewers and 1:n associations with the EMF databinding

Examples on the evolving EMF databinding are still limited, so here’s what I’ve learned recently. The use case is as follows, display the Collection (more precisely an EList) of Addresses a Person object owns (Person#addresses) in a JFace TableViewer. Before things can get started, one needs to grab a recent version (recent in terms of [...]

Non-restorable views

Yesterday I was hit with the requirement to not restore/set to be hidden certain views after workbench restart. Unfortunately this isn’t supported in the current (latest) incarnation of the org.eclipse.ui.views EP, though it shouldn’t be too hard to extend the EP schema. But since changing org.eclipse.ui code isn’t a short term solution anyway, I reverted [...]