org.ow2.clif.scenario.isac.egui
Class Icons

java.lang.Object
  extended by org.ow2.clif.scenario.isac.egui.Icons

public class Icons
extends java.lang.Object

Implementation of a image registry, which load the icons files

Author:
JC Meillaud, A Peyrard

Constructor Summary
Icons()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.String> getImageDescriptorFileName()
          Create an hashtable with images indexed by their name
static org.eclipse.jface.resource.ImageRegistry getImageRegistry()
          Get the image registry this function create it if the registry don't exist
static java.net.URL newURL(java.lang.String url)
          Create a new URL with the given string in parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Icons

public Icons()
Method Detail

newURL

public static java.net.URL newURL(java.lang.String url)
Create a new URL with the given string in parameters

Parameters:
url - The string which contains the URL
Returns:
The URL created

getImageDescriptorFileName

public static java.util.Map<java.lang.String,java.lang.String> getImageDescriptorFileName()
Create an hashtable with images indexed by their name

Returns:
HashTable with all images

getImageRegistry

public static org.eclipse.jface.resource.ImageRegistry getImageRegistry()
Get the image registry this function create it if the registry don't exist

Returns:
ImageRegistry