Bug 317954 Version deltas file so that incompatible changes will be ignored
The deltas file needs to be versioned so that incompatible changes will be discarded allowing the workbench to be constructed as if there were no deltas in existence.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/XMLModelReconciler.java
}
		Element element = createElement(document, elementName, container);
		element.setAttribute(ENTRY_ATTVALUE_KEY, (String) entry.getKey());
		String value = (String) entry.getValue();
		if (value == null) {
			element.setAttribute(UNSET_ATTNAME, UNSET_ATTVALUE_TRUE);
		} else {
			element.setAttribute(ENTRY_ATTVALUE_VALUE, (String) entry.getValue());
		}
		return element;
	}
	private Element createElement(Document document, EObject object) {
		Class<?> rootInterface = object.getClass().getInterfaces()[0];
		
		
		return createElement(document, rootInterface.getCanonicalName(), object);
	}
	private Element createElement(Document document, String elementName, EObject object) {
		Element modelChange = document.createElement(elementName);
		modelChange.setAttribute(APPLICATIONELEMENT_ELEMENTID_ATTNAME, getOriginalId(object));
		return modelChange;
	}
	/**
	 * Retrieves the id of the object by querying for it from the resource.
	 * 
	 * @param object
	 *            the object to retrieve the id for
	 * @param container
	 *            the parent container of the object
	 * @return the object's id as recorded by the containing resource