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
+ parts[i].getAttribute("class")); 
			String parentId = parts[i].getAttribute("parentId"); 
			MPart parent = (MPart) findObject(resource.getAllContents(), parentId);
			if (parent != null) {
				parent.getChildren().add(part);
			}
		}
	}
	private EObject findObject(TreeIterator<EObject> it, String id) {
		while (it.hasNext()) {
			EObject el = it.next();
			if (el instanceof MApplicationElement) {
				if (el.eResource().getURIFragment(el).equals(id)) {
					return el;
				}
			}
		}
		return null;
	}
	private void init() {
		
		workbenchContext.set(MApplication.class.getName(), workbench);
		workbench.setContext(workbenchContext);
		
		System.err.println("workbench init commands"); 
		ECommandService cs = (ECommandService) workbenchContext
				.get(ECommandService.class.getName());
		Category cat = cs.getCategory(MApplication.class.getName());
		cat.define("Application Category", null); 
		EList<MCommand> commands = workbench.getCommand();