org.eclipse.ptp.services.ui
Class ServiceModelImages
java.lang.Object
org.eclipse.ptp.services.ui.ServiceModelImages
public class ServiceModelImages
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICON_URL
public static final URL ICON_URL
IMG_SERVICE
public static final String IMG_SERVICE
- See Also:
- Constant Field Values
IMG_SERVICE_CATEGORY
public static final String IMG_SERVICE_CATEGORY
- See Also:
- Constant Field Values
IMG_SERVICE_DISABLED
public static final String IMG_SERVICE_DISABLED
- See Also:
- Constant Field Values
ServiceModelImages
public ServiceModelImages()
createImageDescriptor
public static ImageDescriptor createImageDescriptor(URL iconURL,
String key,
String name)
- Create an image descriptor and add it to the registry
- Parameters:
iconURL - url for imagekey - image namename - file name of image
- Returns:
- image descriptor for image
getImage
public static Image getImage(String key)
- Get image from the registry
- Parameters:
key - image name
- Returns:
- image
getImageDescriptor
public static ImageDescriptor getImageDescriptor(String key)
- Get image descriptor from the registry
- Parameters:
key - image name
- Returns:
- image descriptor
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.