[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.



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

nevermind. I looked in the code and getControl will return null once the control is disposed. So that is the first check I will have to perform.


CL