}
final boolean[] result = new boolean[] { false };
BusyIndicator.showWhile(getStandardDisplay(), new Runnable() {
public void run() {
dialog.create();
dialog.setMessage(targetNode.getLabelText());
dialog.getShell().setText(title);
result[0] = (dialog.open() == Window.OK);
}
});