org.eclipse.gmt.umlx.editor.icons
Class Icons

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.icons.Icons

public final class Icons
extends java.lang.Object


Method Summary
static org.eclipse.swt.graphics.Image getImage(java.lang.Enum<?> icon)
          Clients should not dispose the Image returned.
static org.eclipse.swt.graphics.Image getImage(java.lang.Enum<?> icon, java.lang.Enum<?> overlayIcon)
           
static org.eclipse.swt.graphics.Image getImage(java.lang.Enum<?> icon, java.lang.Enum<?> overlayIcon1, java.lang.Enum<?> overlayIcon2)
           
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.Enum<?> icon)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImage

public static org.eclipse.swt.graphics.Image getImage(java.lang.Enum<?> icon)
Clients should not dispose the Image returned.

Parameters:
icon - the key (one of the constants defined in this class)
Returns:
the Image associated with the given key

getImage

public static org.eclipse.swt.graphics.Image getImage(java.lang.Enum<?> icon,
                                                      java.lang.Enum<?> overlayIcon)

getImage

public static org.eclipse.swt.graphics.Image getImage(java.lang.Enum<?> icon,
                                                      java.lang.Enum<?> overlayIcon1,
                                                      java.lang.Enum<?> overlayIcon2)

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.Enum<?> icon)