Bug 114946 Fold two JDT initialize Job back into one
M3 We have now two initialize Jobs. One for UI and one for Core. We should fold them back into one. Either Core has to provide another method or we remove the Job from the Core method. This has to be a coordinated effort since removing the Job in Core without adjusting the code in UI will result in a blocking UI thread.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPlugin.java
}
	
	public static Shell getActiveWorkbenchShell() {
		 IWorkbenchWindow window= getActiveWorkbenchWindow();
		 if (window != null) {
		 	return window.getShell();
		 }
		 return null;
	}
	
	/**
	 * @deprecated Use EditorUtility.getDirtyEditors() instead.
	 */
	public static IEditorPart[] getDirtyEditors() {
		return EditorUtility.getDirtyEditors();
	}
		
	public static String getPluginId() {
		return JavaUI.ID_PLUGIN;
	}
	public static void log(IStatus status) {
		getDefault().getLog().log(status);
	}
	
	public static void logErrorMessage(String message) {
		log(new Status(IStatus.ERROR, getPluginId(), IJavaStatusConstants.INTERNAL_ERROR, message, null));
	}
	public static void logErrorStatus(String message, IStatus status) {
		if (status == null) {
			logErrorMessage(message);