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/src/org/eclipse/e4/workbench/ui/IResourceUtiltities.java
public static class Gradient<ColorDesc> {
		private List<ColorDesc> colors;
		private int[] percents;
		private boolean vertical;
		public Gradient(List<ColorDesc> colors, int[] percents, boolean vertical) {
			this.colors = new ArrayList<ColorDesc>(colors);
			this.percents = percents;
			this.vertical = vertical;
		}
		public List<ColorDesc> getColors() {
			return Collections.unmodifiableList(colors);
		}
		public int[] getPercents() {
			return percents;
		}
		public boolean isVertical() {
			return vertical;
		}
	}
	public ImageDesc resolveIconResource(String resource);
	public ImageDesc imageDescriptorFromPlugin(String pluginId,
			String imageFilePath);
	public ColorDesc getColor(String colorDefinition);
	public Gradient<ColorDesc> getGradientColors(String gradientDefinition);
	public ImageDesc imageDescriptorFromURI(URI iconPath);
}