Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 49497 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java (-1 / +6 lines)
Lines 23-28 Link Here
23
import org.eclipse.jface.preference.PreferenceManager;
23
import org.eclipse.jface.preference.PreferenceManager;
24
import org.eclipse.jface.resource.ImageDescriptor;
24
import org.eclipse.jface.resource.ImageDescriptor;
25
import org.eclipse.jface.resource.ImageRegistry;
25
import org.eclipse.jface.resource.ImageRegistry;
26
import org.eclipse.jface.util.ILogger;
26
import org.eclipse.jface.util.Policy;
27
import org.eclipse.jface.util.Policy;
27
import org.eclipse.swt.custom.BusyIndicator;
28
import org.eclipse.swt.custom.BusyIndicator;
28
import org.eclipse.ui.IEditorRegistry;
29
import org.eclipse.ui.IEditorRegistry;
Lines 642-648 Link Here
642
    public void start(BundleContext context) throws Exception {
643
    public void start(BundleContext context) throws Exception {
643
        super.start(context);
644
        super.start(context);
644
        bundleContext = context;
645
        bundleContext = context;
645
        Policy.setLog(getLog());
646
        Policy.setLog(new ILogger(){
647
			public void log(IStatus status) {
648
				getLog().log(status);
649
			}});
650
        
646
651
647
        // Start the UI plugin so that it can install the callback in PrefUtil,
652
        // Start the UI plugin so that it can install the callback in PrefUtil,
648
        // which needs to be done as early as possible, before the workbench
653
        // which needs to be done as early as possible, before the workbench

Return to bug 49497