public static boolean runWhenScanFinished(Runnable runnable,
This is a helper method to provide support for delaying invocations of actions
depending on java model.
Behavior of this method is following:
If classpath scanning is not in progress, runnable's run() is called.
If classpath scanning is in progress, modal cancellable notification dialog with specified
tile is opened.
As soon as classpath scanning finishes, this dialog is closed and runnable's run() is called.
This method must be called in AWT EventQueue. Runnable is performed in AWT thread.
runnable - Runnable instance which will be called.
actionName - Title of wait dialog.
true action was cancelled
false action was performed