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/ResourceUtility.java
private Bundle getBundle(String bundleName) {
		Bundle[] bundles = packageAdmin.getBundles(bundleName, null);
		if (bundles == null)
			return null;
		
		for (int i = 0; i < bundles.length; i++) {
			if ((bundles[i].getState() & (Bundle.INSTALLED | Bundle.UNINSTALLED)) == 0) {
				return bundles[i];
			}
		}
		return null;
	}
	public ImageDescriptor imageDescriptorFromPlugin(String pluginId,
			String imageFilePath) {
		if (pluginId == null || imageFilePath == null) {
			throw new IllegalArgumentException();
		}
		
		Bundle bundle = getBundle(pluginId);
		if ((bundle.getState() & (Bundle.RESOLVED | Bundle.STARTING
				| Bundle.ACTIVE | Bundle.STOPPING)) == 0) {
			return null;
		}
		
		
		URL fullPathString = FileLocator.find(bundle, new Path(imageFilePath),
				null);
		if (fullPathString == null) {
			try {
				fullPathString = new URL(imageFilePath);