I learned recently the clean way to replace all my Display.getDefault() method calls:
Here is the Javadoc for this method :
Code should always ask the workbench for the display rather than rely on Display.getDefault()
Am I the last not aware about this method ?? If no, this post may be can help someone else for example spending time to know why there is no active WorkbenchWindow associated to the default Display :) …
Thanks to Xavier for pointing me to this cleaner method.