org.eclipse.ocl.examples.modelregistry.ui.icons
Class Icons

java.lang.Object
  extended by org.eclipse.ocl.examples.modelregistry.ui.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<?> imageIcon, java.lang.Enum<?> overlayIcon, java.lang.Enum<?> underlayIcon)
           
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.Enum<?> icon)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

getImageDescriptor

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

getImage

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