org.eclipse.emf.ecp.edit.internal.swt
Class ImageDescriptorToImage

java.lang.Object
  extended by org.eclipse.emf.ecp.edit.internal.swt.ImageDescriptorToImage

public class ImageDescriptorToImage
extends Object

Author:
Eugen Neufeld

Constructor Summary
ImageDescriptorToImage(org.eclipse.jface.resource.ImageDescriptor imageDescriptor)
          Constructor.
 
Method Summary
 org.eclipse.swt.graphics.Image getImage()
          Returns the image of this ImageDescriptor.
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
          The ImageDescriptor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDescriptorToImage

public ImageDescriptorToImage(org.eclipse.jface.resource.ImageDescriptor imageDescriptor)
Constructor.

Parameters:
imageDescriptor - the ImageDescriptor
Method Detail

getImage

public org.eclipse.swt.graphics.Image getImage()
Returns the image of this ImageDescriptor. The image is only created once.

Returns:
the Image

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
The ImageDescriptor.

Returns:
the ImageDescriptor


Copyright © 2015. All Rights Reserved.