Project: Eclipse_Platform_UI
Bug 11393 ImageDescriptor should allow creating an Image on a Device other than Display.getCurrent()
Reported: 2002-03-14 15:02:01 | Status: closed fixed

Use Case: A user wants to use ImageDescriptor to create an Image with the intent of rendering that image on a GC constructed on a Printer. Current state: Currently, ImageDescriptor's createImage always uses Display.getCurrent() to create images. Solution: Enhance ImageDescriptor to provide the ImageDescriptor#createImage(Device device) method.

Files changed in fix:
bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/resource/ImageDescriptor.java