Community
Participate
Working Groups
import org.eclipse.jface.preference.PreferenceManager;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.jface.util.ILogger;
import org.eclipse.jface.util.Policy;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.ui.IEditorRegistry;
public void start(BundleContext context) throws Exception {
super.start(context);
bundleContext = context;
Policy.setLog(getLog());
Policy.setLog(new ILogger(){
public void log(IStatus status) {
getLog().log(status);
}});
// Start the UI plugin so that it can install the callback in PrefUtil,
// which needs to be done as early as possible, before the workbench