public class ServiceModelImages extends Object
Modifier and Type | Field and Description |
---|---|
static URL |
ICON_URL |
static String |
IMG_SERVICE |
static String |
IMG_SERVICE_CATEGORY |
static String |
IMG_SERVICE_DISABLED |
Constructor and Description |
---|
ServiceModelImages() |
Modifier and Type | Method and Description |
---|---|
static ImageDescriptor |
createImageDescriptor(URL iconURL,
String key,
String name)
Create an image descriptor and add it to the registry
|
static Image |
getImage(String key)
Get image from the registry
|
static ImageDescriptor |
getImageDescriptor(String key)
Get image descriptor from the registry
|
public static final URL ICON_URL
public static final String IMG_SERVICE
public static final String IMG_SERVICE_CATEGORY
public static final String IMG_SERVICE_DISABLED
public static ImageDescriptor createImageDescriptor(URL iconURL, String key, String name)
iconURL
- url for imagekey
- image namename
- file name of imagepublic static Image getImage(String key)
key
- image namepublic static ImageDescriptor getImageDescriptor(String key)
key
- image nameCopyright (c) 2011 IBM Corporation and others. All Rights Reserved.