Bug 280938 Remove 'name' argument from IEclipseContext#runAndTrack
I20090618 IEclipseContext#runAndTrack has a "name" argument that is only used for debugging purposes. I would like to remove this because it has very limited value - people can just as easily define a toString on their Runnable that can be used for debugging purposes. Clients are likely to find the parameter confusing, and will be unlikely to provide a string that provides us with much value as a debugging aid. Also, the runAndTrack(IRunAndTrack) method doesn't have such a name, which is inconsistent. I'd like to make this change now to avoid the churn of changing it once we have more adopters.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
import org.eclipse.e4.workbench.ui.renderers.PartRenderer;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.impl.AdapterImpl;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.common.util.TreeIterator;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.URIConverter;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
import org.eclipse.osgi.service.datalocation.Location;
import org.osgi.framework.Bundle;
import org.osgi.service.packageadmin.PackageAdmin;
public class Workbench implements IWorkbench {
	public static final String LOCAL_ACTIVE_SHELL = "localActiveShell"; 
	public static final String ID = "org.eclipse.e4.workbench.fakedWBWindow"; 
	private MApplication<? extends MWindow> workbench;
	private static final boolean saveAndRestore = true;
	private File workbenchData;
	private IWorkbenchWindowHandler windowHandler;
	private final IExtensionRegistry registry;
	private ResourceSetImpl resourceSet;
	public IEclipseContext getContext() {
		return workbenchContext;
	}
	
	private PartRenderer renderer;
	private int rv;