protected static boolean displayYesNoMessage(final String title, final String message) {
private static boolean displayYesNoMessage(final String title, final String message) {
	protected static boolean displayYesNoMessage(final String title, final String message) {		final boolean[] result= { true};		final Display display= PlatformUI.getWorkbench().getDisplay();		if (display != null && !display.isDisposed()) {			display.syncExec(new Runnable() {				public final void run() {					if (display != null && !display.isDisposed()) {						final Shell shell= display.getActiveShell();						if (shell != null && !shell.isDisposed())							result[0]= MessageDialog.openQuestion(shell, title, message);					}				}			});		}		return result[0];	}