Bug 175174 [ErrorHandling] Back out of ILogDialog
We have determined that plugging an alternate dialog into the JFace layer will not cover our status handling requirements without breaking look and feel. It is possible to create an ErrorDialog using both the static method and the constructor. Moreover the ErrorDialog is subclassed frequently (10 times in the SDK currently) so using an alternate dialog breaks consistency. Our API request is to delete the experimental ILogDialog method and it's references.
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Policy.java
public int log(Shell parent, int severity, String title,
					String message) {
				int dialogConstant = MessageDialog.NONE;
				if (severity == IStatus.ERROR) {
					dialogConstant = MessageDialog.ERROR;
				}
				if (severity == IStatus.WARNING) {
					dialogConstant = MessageDialog.WARNING;
				} else if (severity == IStatus.INFO) {
					dialogConstant = MessageDialog.INFORMATION;
				}
				MessageDialog dialog = new MessageDialog(parent, title,
						null, 
						message, dialogConstant,
						new String[] { IDialogConstants.OK_LABEL }, 0); 
				
				
				
				return dialog.open();
			}
		};
	}
	/**
	 * Sets the logger used by JFace to log errors.
	 * 
	 * @param logger
	 *            the logger to use, or <code>null</code> to use the default
	 *            logger
	 * @since 3.1
	 */