de.upb.swt.epctools.icons
Class IconFactory

java.lang.Object
  extended by de.upb.swt.epctools.icons.IconFactory

public class IconFactory
extends java.lang.Object

This class manages icon images


Constructor Summary
IconFactory()
           
 
Method Summary
static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Widget widget, java.lang.String file_name)
          This function returns an Image loaded from the given image file
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String file_name)
          This static function returns an ImageDescriptor for a given file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconFactory

public IconFactory()
Method Detail

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String file_name)
This static function returns an ImageDescriptor for a given file


getImage

public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.widgets.Widget widget,
                                                      java.lang.String file_name)
This function returns an Image loaded from the given image file