Hi,
I have a multi-page editor based on org.eclipse.ui.forms.editor.FormEditor
that has a mix of GEF based pages and source/text pages that use
AbstractTextEditor.
GEF pages update the model and reflect changes as just fine but I'm getting
null pointer exceptions, in GEF, when I update the model from text pages.
All my model updates use background threads that ultimately call
AbstractEditPart.refreshVisuals(). This fails, I think, because
org.eclipse.swt.widgets.Display.getCurrent() returns null when called from
a none-UI thread.
Whats the best way of dealing with this?
Steve.