Bug 279658 [UI] ResourceUtility has unused methods
In org.eclipse.e4.ui.workbench.swt.ResourceUtility, the methods - getGradientColors() - getColor() and field - private ColorRegistry COLOR_REGISTRY all appear unused. In a config with CSS, it handles gradients, colors, and the color registry (although the latter is worth discussing), so I'm not sure the purpose of the methods here.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/PartRenderingEngine.java
public static final String engineURI = "platform:/plugin/org.eclipse.e4.ui.workbench.swt/"
			+ "org.eclipse.e4.ui.workbench.swt.internal.PartRenderingEngine";
	private static final String defaultFactoryUrl = "platform:/plugin/org.eclipse.e4.ui.workbench.renderers.swt/"
			+ "org.eclipse.e4.workbench.ui.renderers.swt.WorkbenchRendererFactory";
	private String factoryUrl;
	IRendererFactory curFactory = null;
	
	private EventHandler toBeRenderedHandler = new EventHandler() {
		public void handleEvent(Event event) {
			MUIElement changedElement = (MUIElement) event
					.getProperty(UIEvents.EventTags.ELEMENT);
			
			MElementContainer<?> parent = changedElement.getParent();
			AbstractPartRenderer parentRenderer = parent != null ? getRendererFor(parent)
					: null;
			if (parentRenderer == null)
				return;
			if (changedElement.isToBeRendered()) {
				Activator.trace(Policy.DEBUG_RENDERER, "visible -> true", null);