final String description = "The log in " + workspace
+ "/erlide.log may contain more information.";
ErrorDialog.openError(activeShell, "Erlide can't work properly", message,
new Status(IStatus.ERROR, PLUGIN_ID, description));
final PreferenceDialog pref = PreferencesUtil.createPreferenceDialogOn(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
"org.erlide.ui.preferences.runtimes", null, null);
if (pref != null) {
if (pref.open() == Window.OK) {
ErlLogger
.info("Restarting workbench after initial runtime configuration...");
PlatformUI.getWorkbench().restart();
}
}