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