Bug 284201 [Compatibility] Source->Generate Getters/Setters leaves editor non-dirty
If you pick any source level refactorings (e.g. Generate getters/setters), the code is generated ok but the editor remains unmodified (no '*').
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/PartRenderingEngine.java
/**
	 * Manages the relationship between a MPart<?> and its rendered Widget.
	 * 
	 * MPart<?>.getWidget().getData(OWNING_ME) == MPart<?>
	 * 
	 * @param element
	 *            The UI element
	 * @param widget
	 *            The widget
	 */
	
	
	
			
	
	 }
	private void hookControllerLogic(final MPart<?> element) {
		
		AbstractPartRenderer factory = (AbstractPartRenderer) getFactoryFor(element);
		if (factory != null)
			factory.hookControllerLogic(element);
	}
	protected void setFactoryFor(MPart element, AbstractPartRenderer factory) {
		element.setOwner(factory);
	}
	protected AbstractPartRenderer getFactoryFor(MPart element) {
		return (AbstractPartRenderer) element.getOwner();
	}
}