[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: None-UI thread model updates and Display.getCurrent() returning null.
|
CL [dnoyeb] Gilbert wrote:
Randy Hudson wrote:
It's too late, syncExec doesn't help you. Between the model change
and your listener being notified, the viewer may have been disposed.
Since I am in the UI thread at this point, can I check something on the
UI to know if the viewer has been disposed, as opposed to just catching
the fallout?
CL
2nd question is, will this even work with a disposed viewer
getViewer().getControl().getDisplay()
Is any of this going to return null if the viewer is disposed?
Thanks,
CL