Bug 236324 [Forms] Eclipse 3.4 crashes / failes to repaint when "Close Others" is used with SharedHeaderFormEditor
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormImages.java
}
		public Image getImage() {
			return fImage;
		}
		
		
		public boolean decCount() {
			return --fCount == 0;
		}
		public void incCount() {
			fCount++;
		}
	}
	
	public Image getGradient(Display display, Color color1, Color color2,
			int realtheight, int theight, int marginHeight) {
		checkHashMaps();
		ImageIdentifier id = new SimpleImageIdentifier(display, color1, color2, realtheight, theight, marginHeight);
		ImageReference result = (ImageReference) images.get(id);
		if (result != null && !result.getImage().isDisposed()) {
			result.incCount();
			return result.getImage();
		}
		Image image = createGradient(display, color1, color2, realtheight, theight, marginHeight);
		images.put(id, new ImageReference(image));
		ids.put(image, id);
		return image;
	}
	
	public Image getGradient(Display display, Color[] colors, int[] percents,